dear all,
i am trying to manipulate panel data, i.e. i have 10 years of observation per group and then a few cross sectional variables, like return of investment.
i now want to generate a lagged variable, and i thought i just have to type "genr xlag = x(-1)"
but it gives me "syntax error"
is there a special command for equations if you have panel data?
i hope this question is understandable, if not i will try to provide more details. thank you so much in advance, this forum already helped me a few times but i never wrote a question by myself.
cheers and have a good week,
chris
genr command (panel data)
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: genr command (panel data)
There's nothing obviously wrong with what you typed.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: genr command (panel data)
To add to Gareth's answer, one advantage of defining a panel workfile is that computations are "seam-aware" so that lags will not cross into another cross-section.
-
chriscross
- Posts: 5
- Joined: Thu Jan 03, 2013 12:06 pm
Re: genr command (panel data)
thanks for your reply. i found my mistake and there was nothing wrong with the equation.
Who is online
Users browsing this forum: No registered users and 2 guests
