Calculation of fixed effects dummy variable coefficients
Posted: Wed Sep 14, 2011 3:47 am
Hi Gareth,
I'm trying to figure out how eviews does fixed effects (cross section and period effects). I'm using eviews 7, build 'Dec 8 2009'.
Specifically, how does eviews calculate the dummy variable co-efficients which are displayed when I select View -> Fixed/Random effects -> Period effects, after estimating a panel data regression with cross-section and period effects? Unusually, there are (n) dummies, rather than (n-1), even though I include a constant (c) in the regression.
If I manually include fixed effects by estimating a new regression with a dummy variable for each entity and period, then I get the same co-efficients and standard errors on the original variables, but the constant (c) is different and the co-efficients on the fixed effect dummies are all different to the automatically generated fixed effects displayed by eviews when the steps in the above paragraph are followed and the results are compared.
It's clear that eviews adjusts the regression's constant and fixed effects in some way, and I'd like to know how. These are the only clues that I was able to find:
http://forums.eviews.com/viewtopic.php?f=4&t=4417
"However, what EViews does is express each country's fixed effect as the difference from the over all intercept, rather than as an individual intercept. Doing it this way means there is no multicollinearity problem."
http://www.fordham.edu/economics/mcleod ... edData.pdf
"Note that when you select a fixed or random effects specification, EViews will automatically add a constant to the common coefficients portion of the specification if necessary, to ensure that the effects sum to zero."
Thanks a lot for your help. I'm teaching a few classes of students how to do regressions on eviews and these problems have been a stumbling block so any help would be greatly appreciated.
Best regards,
Keith Woodward
Teacher, UTS Sydney, Australia
I'm trying to figure out how eviews does fixed effects (cross section and period effects). I'm using eviews 7, build 'Dec 8 2009'.
Specifically, how does eviews calculate the dummy variable co-efficients which are displayed when I select View -> Fixed/Random effects -> Period effects, after estimating a panel data regression with cross-section and period effects? Unusually, there are (n) dummies, rather than (n-1), even though I include a constant (c) in the regression.
If I manually include fixed effects by estimating a new regression with a dummy variable for each entity and period, then I get the same co-efficients and standard errors on the original variables, but the constant (c) is different and the co-efficients on the fixed effect dummies are all different to the automatically generated fixed effects displayed by eviews when the steps in the above paragraph are followed and the results are compared.
It's clear that eviews adjusts the regression's constant and fixed effects in some way, and I'd like to know how. These are the only clues that I was able to find:
http://forums.eviews.com/viewtopic.php?f=4&t=4417
"However, what EViews does is express each country's fixed effect as the difference from the over all intercept, rather than as an individual intercept. Doing it this way means there is no multicollinearity problem."
http://www.fordham.edu/economics/mcleod ... edData.pdf
"Note that when you select a fixed or random effects specification, EViews will automatically add a constant to the common coefficients portion of the specification if necessary, to ensure that the effects sum to zero."
Thanks a lot for your help. I'm teaching a few classes of students how to do regressions on eviews and these problems have been a stumbling block so any help would be greatly appreciated.
Best regards,
Keith Woodward
Teacher, UTS Sydney, Australia