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.
Artur
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(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users