Fixed effects model

In statistics, a fixed effects model is a statistical model in which the model parameters are fixed or non-random quantities. This is in contrast to random effects models and mixed models in which all or some of the model parameters are considered as random variables. In many applications including econometrics[1] and biostatistics[2][3][4][5] a fixed effects model refers to a regression model in which the group means are fixed (non-random) as opposed to a random effects model in which the group means are a random sample from a population.[6] Generally, data can be grouped according to several observed factors. The group means could be modeled as fixed or random effects for each grouping. In a fixed effects model each group mean is a group-specific fixed quantity.

In panel data where longitudinal observations exist for the same subject, fixed effects represent the subject-specific means. In panel data analysis the term fixed effects estimator (also known as the within estimator) is used to refer to an estimator for the coefficients in the regression model including those fixed effects (one time-invariant intercept for each subject).

Qualitative description

Such models assist in controlling for unobserved heterogeneity when this heterogeneity is constant over time. This heterogeneity can be removed from the data through differencing, for example by taking a first difference which will remove any time invariant components of the model.

There are two common assumptions made about the individual specific effect, the random effects assumption and the fixed effects assumption. The random effects assumption (made in a random effects model) is that the individual–specific effects are uncorrelated with the independent variables. The fixed effect assumption is that the individual–specific effects are correlated with the independent variables. If the random effects assumption holds, the random effects model is more efficient than the fixed effects model. However, if this assumption does not hold, the random effects model is not consistent. The Durbin–Wu–Hausman test is often used to discriminate between the fixed and the random effects model.[7][8]

Formal description

Consider the linear unobserved effects model for observations and time periods:

for and

where is the dependent variable observed for individual at time is the time-variant regressor matrix, is the unobserved time-invariant individual effect and is the error term. Unlike , cannot be observed by the econometrician. Common examples for time-invariant effects are innate ability for individuals or historical and institutional factors for countries.

Unlike the random effects (RE) model where the unobserved is independent of for all , the FE model allows to be correlated with the regressor matrix . Strict exogeneity with respect to the idiosyncratic error term , however, is still required.

Since is not observable, it cannot be directly controlled for. The FE model eliminates by demeaning the variables using the within transformation:

where and .

Since is constant, and hence the effect is eliminated. The FE estimator is then obtained by an OLS regression of on .

At least three alternatives to the within transformation exist with variations.

One is to add a dummy variable for each individual (omitting the first individual because of multicollinearity). This is numerically, but not computationally, equivalent to the fixed effect model and only works if the sum of the number of series and the number of global parameters is smaller than the number of observations.[9] The dummy variable approach is particularly demanding with respect to computer memory usage and it is not recommended for problems larger than the available RAM, and the applied program compilation, can accommodate.

Second alternative is to use consecutive reiterations approach to local and global estimations.[10] This approach is very suitable for low memory systems on which it is much more computationally efficient than the dummy variable approach.

The third approach is a nested estimation whereby the local estimation for individual series is programmed in as a part of the model definition.[11] This approach is the most computationally and memory efficient, but it requires proficient programming skills and access to the model programming code; although, it can be programmed even in SAS.[12][13]

Finally, each of the above alternatives can be improved if the series-specific estimation is linear (within a nonlinear model), in which case the direct linear solution for individual series can be programmed in as part of the nonlinear model definition.[14]

Equality of Fixed Effects (FE) and First Differences (FD) estimators when T=2

For the special two period case (), the FE estimator and the FD estimator are numerically equivalent. This is because the FE estimator effectively "doubles the data set" used in the FD estimator. To see this, establish that the fixed effects estimator is:

Since each can be re-written as , we'll re-write the line as:

Hausman–Taylor method

Need to have more than one time-variant regressor () and time-invariant regressor () and at least one and one that are uncorrelated with .

Partition the and variables such that where and are uncorrelated with . Need .

Estimating via OLS on using and as instruments yields a consistent estimate.

Testing fixed effects (FE) vs. random effects (RE)

We can test whether a fixed or random effects model is appropriate using a Durbin–Wu–Hausman test.

:
:

If is true, both and are consistent, but only is efficient. If is true, is consistent and is not.

where

The Hausman test is a specification test so a large test statistic might be indication that there might be errors-in-variables (EIV) or our model is misspecified. If the FE assumption is true, we should find that .

A simple heuristic is that if there could be EIV.

Steps in Fixed Effects Model for sample data

  1. Calculate group and grand means
  2. Calculate k=number of groups, n=number of observations per group, N=total number of observations (k x n)
  3. Calculate SS-total (or total variance) as: (Each score - Grand mean)^2 then summed
  4. Calculate SS-treat (or treatment effect) as: (Each group mean- Grand mean)^2 then summed x n
  5. Calculate SS-error (or error effect) as (Each score - Its group mean)^2 then summed
  6. Calculate df-total: N-1, df-treat: k-1 and df-error k(n-1)
  7. Calculate Mean Square MS-treat: SS-treat/df-treat, then MS-error: SS-error/df-error
  8. Calculate obtained f value: MS-treat/MS-error
  9. Use F-table or probability function, to look up critical f value with a certain significance level
  10. Conclude as to whether treatment effect significantly affects the variable of interest

See also

Notes

  1. Greene, W.H., 2011. Econometric Analysis, 7th ed., Prentice Hall
  2. Diggle, Peter J.; Heagerty, Patrick; Liang, Kung-Yee; Zeger, Scott L. (2002). Analysis of Longitudinal Data (2nd ed.). Oxford University Press. pp. 169–171. ISBN 0-19-852484-6.
  3. Fitzmaurice, Garrett M.; Laird, Nan M.; Ware, James H. (2004). Applied Longitudinal Analysis. Hoboken: John Wiley & Sons. pp. 326–328. ISBN 0-471-21487-6.
  4. Laird, Nan M.; Ware, James H. (1982). "Random-Effects Models for Longitudinal Data". Biometrics. 38 (4): 963–974. JSTOR 2529876.
  5. Gardiner, Joseph C.; Luo, Zhehui; Roman, Lee Anne (2009). "Fixed effects, random effects and GEE: What are the differences?". Statistics in Medicine. 28: 221–239. doi:10.1002/sim.3478.
  6. Ramsey, F., Schafer, D., 2002. The Statistical Sleuth: A Course in Methods of Data Analysis, 2nd ed. Duxbury Press
  7. Cameron, A. Colin; Trivedi, Pravin K. (2005). Microeconometrics: Methods and Applications. Cambridge University Press. pp. 717–19.
  8. Nerlove, Marc (2005). Essays in Panel Data Econometrics. Cambridge University Press. pp. 36–39.
  9. Garcia, Oscar. (1983). "A stochastic differential equation model for the height growth of forest stands". Biometrics: 1059–1072.
  10. Tait, David; Cieszewski, Chris J.; Bella, Imre E. (1986). "The stand dynamics of lodgepole pine". Can. J. For. Res. 18: 1255–1260.
  11. Strub, Mike; Cieszewski, Chris J. (2006). "Base–age invariance properties of two techniques for estimating the parameters of site index models". Forest Science. 52 (2): 182–186.
  12. Strub, Mike; Cieszewski, Chris J. (2003). "Fitting global site index parameters when plot or tree site index is treated as a local nuisance parameter In: Burkhart HA, editor. Proceedings of the Symposium on Statistics and Information Technology in Forestry; 2002 September 8–12; Blacksburg, Virginia: Virginia Polytechnic Institute and State University": 97–107.
  13. Cieszewski, Chris J.; Harrison, Mike; Martin, Stacey W. (2000). "Practical methods for estimating non-biased parameters in self-referencing growth and yield models" (PDF). PMRC Technical Report. 2000 (7): 12.
  14. Schnute, Jon; McKinnell, Skip (1984). "A biologically meaningful approach to response surface analysis". Can. J. Fish. Aquat. 41: 936–953.

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.