Random sampling

With very large datasets (or perhaps to study the properties of an estimator) you may wish to draw a random sample from the full dataset. This can be done using, for example,


	smpl 100 --random
to select 100 cases. If you want the sample to be reproducible, you should set the seed for the random number generator first, using set.

This sort of sampling falls under the "restriction" category: a reduced copy of the dataset is made.