Panel data: model with variable coefficients

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

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Panel data: model with variable coefficients

Postby carmomi » Wed May 11, 2011 12:15 pm

Anyone knows how to specify and estimate a panel data model with variable coefficients (varying over cross sectional units) from a panel workfile?

I know that this can be done using a fixed or random coefficients model (as explained in chaper 6 of Hsiao, 2nd edition analysis of panel data) but I assume that it is not equivalent to the Eviews fixed or random effects options available for cross-sections or periods (functional forms with intercepts).

Any help would be more than welcome.

Thanks in advance.
MC

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Panel data: model with variable coefficients

Postby EViews Gareth » Wed May 11, 2011 12:54 pm

There is no built in way to do it. You'll have to generate the dummy variables manually.

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Re: Panel data: model with variable coefficients

Postby carmomi » Thu May 12, 2011 1:39 pm

Many thanks for the hint Gareth.

My problem is that though I know how to specify the dummy variables in the case that the coefficients of the dummy variables correspond to the intercepts (as demonstrated in chapter 15 of Using Eviews for Principles of Econometrics, Griffiths, Hill and Lim) I´m not sure on how to do it in the case that the dummies correspond to the n coefficients of the variables.
In my case I have 11 cross sections (or n individuals) and 2 independent variales. Any hint on how to do it?

Thanks in advance once more.
MC

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Panel data: model with variable coefficients

Postby EViews Gareth » Thu May 12, 2011 1:51 pm

Just multiply the variable by the dummy.

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Re: Panel data: model with variable coefficients

Postby carmomi » Thu May 12, 2011 2:04 pm

If I understand well, after specifying the dummies with "generate series by equation" using the cross section identifier, the equation specification shall look like:
dependent variable and 22 independent variables (11 dummies * independent variable 1 + 11 dummies multiplied by independent variable 2)
Is this correct?

thanks
MC

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Panel data: model with variable coefficients

Postby EViews Gareth » Thu May 12, 2011 2:07 pm

indeed.

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Re: Panel data: model with variable coefficients

Postby carmomi » Thu May 12, 2011 2:10 pm

many thanks Gareth!

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Re: Panel data: model with variable coefficients

Postby carmomi » Thu May 12, 2011 2:22 pm

By the way, if I want to specify a unrestricted model where the intercept and slope coefficients are allowed to vary across cross sections (individuals) then I will have:
dependent variable, 11 dummies, 22 independent variables (11 dummies * independent variable 1 + 11 dummies multiplied by independent variable 2)

Is this correct? (this unrestricted model is extremely useful to test poolability in panel data)

Thanks.
MC

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Panel data: model with variable coefficients

Postby EViews Gareth » Thu May 12, 2011 2:51 pm

Yep.

Although in a fully unrestricted model, you could also just have 11 different regressions, each with 3 variables.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 1 guest