Page 1 of 1
Panel data: model with variable coefficients
Posted: Wed May 11, 2011 12:15 pm
by carmomi
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
Panel data: model with variable coefficients
Posted: Wed May 11, 2011 12:54 pm
by EViews Gareth
There is no built in way to do it. You'll have to generate the dummy variables manually.
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 1:39 pm
by carmomi
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
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 1:51 pm
by EViews Gareth
Just multiply the variable by the dummy.
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 2:04 pm
by carmomi
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
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 2:07 pm
by EViews Gareth
indeed.
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 2:10 pm
by carmomi
many thanks Gareth!
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 2:22 pm
by carmomi
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
Re: Panel data: model with variable coefficients
Posted: Thu May 12, 2011 2:51 pm
by EViews Gareth
Yep.
Although in a fully unrestricted model, you could also just have 11 different regressions, each with 3 variables.