Gretl Manual: Gnu Regression, Econometrics and Time-series Library
Prev | Chapter 6. Sub-sampling a dataset | Next

# The Sample menu items

The discussion above has focused on the script command smpl. You can also use the items under the Sample menu in the GUI program to select a sub-sample.

The menu items mostly work in the same way as the corresponding `smpl` variant, except that when you use the item "Sample, Restrict based on criterion", and the dataset is already sub-sampled, you are given the option of preserving or replacing the current restriction. Replacing the current restriction means, in effect, invoking the `replace` option described above (the Section called Restricting the sample).

Prev | Home | Next
Random sampling | Up | Panel data