On Fri, 3 Jun 2011, Leandro Zipitria wrote:

> I have a panel dataset and I want to delete the first 31 observations of
> each unit. I have read that one possible way is to restrict the sample and
> then save it.

That's right.

genr time
smpl time > 31 --restrict
store smaller.gdt

> The second one is a little more tricky. I have one dataset as a panel, and
> another that has additional information of some of the variables, but just
> once. The two databases are of different length. Is there any way that gretl
> merge this two databases and repeat each value of ?

Yes. Given a panel dataset of dimension N x T you can append data
with a series length of N or T and the added data will be repeated
as appropriate to complete the panel.

Allin Cottrell


Reply via email to