Is there something special that you have to do to generate lagged variables when using panel data?
When I try the very simple code
'series a=b(-1)' or
'genr a=b(-1)'
the series a ends up having a bunch of missing values, for reasons that I don't understand.
Thanks in advance,
Marc
Generating lagged variables for panel data
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13317
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Generating lagged variables for panel data
No, nothing special. You are doing it correctly
Follow us on Twitter @IHSEViews
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Generating lagged variables for panel data
Remember that the first observation for each cross-section should be missing.
Re: Generating lagged variables for panel data
Thanks (I've just realized that I was sampling only a subset of observations)
Who is online
Users browsing this forum: No registered users and 20 guests