Hello,
I am running an economic growth regression for 8 countries between 1984-2008. One of the first independent variables is the initial GDP per capita for each country.
How would I restrict my variable to the initial observation for each country in a regression in EViews? I thought about creating another variable in excel, which only shows the initial observation for each country, but I am not sure if importing this into EViews will yield the same results.
Thank you for the help!
Tuinsmurf
How to restrict a variable to its initial observation
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to restrict a variable to its initial observation
You'll end up with a variable that is constant for each cross-section. That's just a fixed effect.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3796
- Joined: Wed Sep 17, 2008 2:25 pm
Re: How to restrict a variable to its initial observation
Not necessarily. Including the initial observation isn't the same as including a fixed effect because all countries are constrained to have the same coefficient.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: How to restrict a variable to its initial observation
Assuming you are panel structured
Code: Select all
series z=@firstsby(y, @crossid)Who is online
Users browsing this forum: No registered users and 2 guests
