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 random variables. In many applications including econometrics and biostatistics 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. 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 omitted variable bias due to unobserved heterogeneity when this heterogeneity is constant over time. This heterogeneity can be removed from the data through differencing, for example by subtracting the group-level average over time, or 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 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 estimator is more efficient than the fixed effects estimator. However, if this assumption does not hold, the random effects estimator is not consistent. The Durbin–Wu–Hausman test is often used to discriminate between the fixed and the random effects models.
Formal model and assumptions Consider the linear unobserved effects model for N observations and T time periods:
yit=Xit𝜷+αi+uit for t=1,…,T and i=1,…,N Where:
yit is the dependent variable observed for individual i at time t. Xit is the 1×k (the number of independent variables) regressor vector. β is the k×1 matrix of parameters. αi is the unobserved time-invariant individual effect. For example, the innate ability for individuals or historical and institutional factors for countries. uit is the error term. Unlike Xit, αi cannot be directly observed. Unlike the random effects model where the unobserved αi is independent of Xit for all t=1,...,T, the fixed effects (FE) model allows αi to be correlated with the regressor matrix Xit. Strict exogeneity with respect to the idiosyncratic error term uit is still required.
Statistical estimation
Fixed effects estimator Since αi is not observable, it cannot be directly controlled for. The FE model eliminates αi by de-meaning the variables using the within transformation:
yit−y‾i=(Xit−X‾i)β+(αi−α‾i)+(uit−u‾i)⟹y¨it=X¨itβ+u¨it where y‾i=1T∑t=1Tyit, X‾i=1T∑t=1TXit, and u‾i=1T∑t=1Tuit. Since αi is constant, αi‾=αi and hence the effect is eliminated. The FE estimator β̂FE is then obtained by an OLS regression of y¨ on X¨. At least three alternatives to the within transformation exist with variations:
One is to add a dummy variable for each individual i>1 (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. 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. 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. 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 including in SAS. 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.
First difference estimator
An alternative to the within transformation is the first difference transformation, which produces a different estimator. For t=2,…,T:
yit−yi,t−1=(Xit−Xi,t−1)β+(αi−αi)+(uit−ui,t−1)⟹Δyit=ΔXitβ+Δuit. The FD estimator β̂FD is then obtained by an OLS regression of Δyit on ΔXit. When T=2, the first difference and fixed effects estimators are numerically equivalent. For T>2, they are not. If the error terms uit are homoskedastic with no serial correlation, the fixed effects estimator is more efficient than the first difference estimator. If uit follows a random walk, however, the first difference estimator is more efficient.
Equality of fixed effects and first difference estimators when T=2 For the special two period case (T=2), the fixed effects (FE) estimator and the first difference (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: FET=2=[(xi1−x¯i)(xi1−x¯i)′+(xi2−x¯i)(xi2−x¯i)′]−1[(xi1−x¯i)(yi1−y¯i)+(xi2−x¯i)(yi2−y¯i)] Since each (xi1−x¯i) can be re-written as (xi1−xi1+xi22)=xi1−xi22, we'll re-write the line as: FET=2=[∑i=1Nxi1−xi22xi1−xi22′+xi2−xi12xi2−xi12′]−1[∑i=1Nxi1−xi22yi1−yi22+xi2−xi12yi2−yi12]
=[∑i=1N2xi2−xi12xi2−xi12′]−1[∑i=1N2xi2−xi12yi2−yi12] =2[∑i=1N(xi2−xi1)(xi2−xi1)′]−1[∑i=1N12(xi2−xi1)(yi2−yi1)] =[∑i=1N(xi2−xi1)(xi2−xi1)′]−1∑i=1N(xi2−xi1)(yi2−yi1)=FDT=2
Chamberlain method
… excerpt ends here. Continue reading the full article.