How to restrict a variable to its initial observation

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

Tuinsmurf
Posts: 11
Joined: Thu Mar 31, 2016 5:44 am

How to restrict a variable to its initial observation

Postby Tuinsmurf » Thu Jun 23, 2016 3:57 am

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

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

Postby EViews Gareth » Thu Jun 23, 2016 5:50 am

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

Postby startz » Thu Jun 23, 2016 8:59 am

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

Postby EViews Glenn » Thu Jun 23, 2016 10:47 am

Assuming you are panel structured

Code: Select all

series z=@firstsby(y, @crossid)


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests