[Gretl-users] Stata-like drop command

Allin Cottrell cottrell at wfu.edu
Wed Jul 31 11:49:06 EDT 2013


On Wed, 31 Jul 2013, Artur T. wrote:

> is there a command like "drop" (Stata) available in gretl? I would like
> to drop units from a panel data set with less than x observations.

smpl pnobs(target) >= x --restrict

where "target" is the series you want to use for the minimum 
valid observations test.

Allin Cottrell


More information about the Gretl-users mailing list