Generate a Random Data Set - Maple Programming Help

Generate a Random Data Set

 Description Generate a random data set with a given probability distribution.

Define a random variable using the built-in probability distributions or by creating custom distributions.

The parameters to the distributions can be symbolic, numeric, or a mix.

 > $X≔\mathrm{Statistics}\left[\mathrm{RandomVariable}\right]\left({\mathrm{Normal}}\left({0}{,}{1}\right)\right):$

Specify the number of points, and then generate a random data set.

 > $\mathrm{Statistics}\left[\mathrm{Sample}\right]\left(X,{{10}}^{{3}}\right)$
 $\left[\begin{array}{c}\colorbox[rgb]{0,0,0}{{\mathrm{1 .. 1000}}}{\colorbox[rgb]{0,0,0}{{\mathrm{Vector}}}}_{\colorbox[rgb]{0,0,0}{{\mathrm{row}}}}\\ \colorbox[rgb]{0,0,0}{{\mathrm{Data Type:}}}{\colorbox[rgb]{0,0,0}{{\mathrm{float}}}}_{\colorbox[rgb]{0,0,0}{{8}}}\\ \colorbox[rgb]{0,0,0}{{\mathrm{Storage:}}}\colorbox[rgb]{0,0,0}{{\mathrm{rectangular}}}\\ \colorbox[rgb]{0,0,0}{{\mathrm{Order:}}}\colorbox[rgb]{0,0,0}{{\mathrm{Fortran_order}}}\end{array}\right]$ (1)
 Commands Used