Dummies in Panel Regression

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

pcubaborda
Posts: 3
Joined: Fri May 03, 2013 2:12 pm

Dummies in Panel Regression

Postby pcubaborda » Fri May 03, 2013 2:18 pm

Hi,

I am using Eviews 7 and have a panel regression. I would like to estimate cross-section specific coefficients for the dependent variable x_it = alpha_i + beta_i*yt + e_it where y_t is a common covariate across cross-sections. I can do this using dummy variables for each cross-section, but would like to know if I can use the _? or ? shortcuts as in a pool workfile to identify the crossectional units. Basically I would like to do something like
x c yt*dummy_?, is this possible?

Thanks!

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Dummies in Panel Regression

Postby EViews Glenn » Fri May 03, 2013 5:39 pm

No, you'll have use @expand, as in

Code: Select all

y c x @expand(crossid)*z
where crossid is the cross-section identifier. A warning: @expand will create a dummy variable regressor for each cross-section unit.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests