This function generates $N$ realizations of the random variable that has the distribution specified by the given model.

One obtains the data from the object of type Sample (that is, the actual sample in the statistical sense) as follows:

The actual sample contains more information than just the data itself:

and one can easily obtain sample statistics:

The object sample is a method function.