[Gretl-users] Stata-like drop command

Artur T. artur.tarassow at googlemail.com
Wed Jul 31 13:26:30 EDT 2013

Ok I see, the restriction only applies to the target variable, but not
the whole data set.
As I have currently to deal with a list of series, I simply apply the
restrict command to each series separately, and construct a temporary
series which consists only of units fulfilling the restriction.

Thank you, Allin.

Am 31.07.2013 17:49, schrieb Allin Cottrell:
> 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
> _______________________________________________
> Gretl-users mailing list
> Gretl-users at lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-users

More information about the Gretl-users mailing list