- Introduced by
- Jushan Bai
- Year
- 2009
- Type
- Panel with latent structure
- Family
- Factor model
What does it do?
Interactive Fixed Effects (IFE) extends standard fixed-effects panel models by letting the effect of unobserved common factors differ across units.
Each unit has its own loading on each common factor, so the unobserved heterogeneity is the product of unit-specific loadings and time-varying factors. Introduced by Bai (2009), the model is designed for panels where common shocks affect units to different degrees.
The intuition behind the method
Standard panel fixed effects give each unit a time-constant intercept, which cannot capture a common shock, such as a recession, that hits some units harder than others. IFE instead lets each unit respond to a set of common factors with its own sensitivity, its loading. Two units can face the same shock and react differently because their loadings differ. In the model, the loadings are estimated from the data rather than observed directly.
History
Bai (2009) formalized the interactive fixed-effects model and its asymptotic inference. Moon and Weidner (2015) studied the least squares estimator when the number of factors is unknown and both the number of units and the number of periods grow large. Under certain assumptions, they showed that coefficient inference is not sensitive to overestimating the number of factors.
When to use it
Choose IFE when you have a panel with many units and many periods, and you expect common shocks whose effects differ systematically across units in ways that a time-constant unit effect cannot capture. It is less suitable when the panel is short, since the theory relies on large cross-sections and long time spans, or when there is no reason to expect common shocks with unit-specific sensitivity. If the main goal is to identify the causal effect of one specific, observed shock, a design based on that shock is usually more direct than a latent-factor model.
Limitations and considerations
- Underestimating the number of factors is a problem: the Moon and Weidner (2015) result holds only when the number used is not below the true number
- Factors and loadings are identified only up to a rotation, so individual factor values have no fixed meaning without further restrictions
- The theory relies on large numbers of units and periods, so inference in short or narrow panels can be unreliable
- Joint estimation of loadings and factors can be computationally demanding, and the iterative procedure may need careful convergence checks
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Allows the response to common shocks to differ across units through unit-specific loadings
- Separates unit-level heterogeneity from common time-varying shocks in a single model
- Estimates the common factor space together with the coefficients, so the latent shocks are modelled rather than assumed away; individual factor values are identified only up to rotation
- Under the Moon and Weidner (2015) conditions, coefficient inference does not require consistent estimation of the number of factors, provided the number used is not below the true number
Applications
- Recession heterogeneity: modelling how output responses to a common downturn vary across industries with different factor exposures (illustrative use)
- Monetary transmission: comparing how banks with different characteristics respond to a common policy shock (illustrative use)
- International spillovers: examining whether countries respond differently to a common foreign shock (illustrative use)
- Labour market dynamics: studying how wage growth responds to common productivity shocks by worker skill (illustrative use)
How it works
How it works
The outcome for unit i at time t is written as X[i,t] times beta plus lambda_i' times f_t plus an error term. Here beta is the common slope on the observed regressors, lambda_i is a vector of unit-specific loadings, and f_t is a vector of common factors that are not observed. Additive unit and time fixed effects can be obtained as a special case of this structure.
Coefficients, loadings and factors are estimated jointly by least squares, which in practice is often done iteratively (alternating minimisation). Given current factor estimates, beta can be updated by regressing the outcome, net of the estimated factor component, on the regressors. Given the current beta, the residual matrix can be decomposed by principal components to update the loadings and factors. The number of factors must be fixed before estimation. Iterate until the change in the objective falls below a chosen tolerance, and check that the iteration has converged. Because the procedure is iterative, results can depend on starting values, so it is advisable to test robustness to alternative starting values.
The Moon and Weidner (2015) result concerns the least squares estimator of beta when both the number of units and the number of periods grow large. Under their assumptions, and when the number of factors used in estimation is not below the true number, the limiting distribution of this estimator does not depend on the number of factors used. The result concerns beta only, so inference on the coefficients does not require consistent estimation of the true number of factors. Tests of whether the interactive term improves fit, and estimates of responses to factor shocks, need additional work beyond this result and should be treated as separate analyses.
Compare the coefficient estimates and fit with those from fixed-effects and random-effects models, and check whether the results are stable when the number of factors changes. Because the factors are latent, their economic meaning should be examined separately, for example through their correlation with observed macroeconomic series.
Common pitfalls
- Selecting the number of factors with information criteria alone, without checking whether the coefficient estimates are stable across factor counts
- Treating estimated factors as causal shocks without an argument that they are not driven by the regressors or the outcome
- Adding factors beyond what the data support, which makes the latent structure harder to interpret even where coefficient inference is not affected
Frequently asked questions
How do I determine the number of factors?
Information criteria and eigenvalue-based diagnostics computed from the residuals of a preliminary fixed-effects model are common starting points. Because Moon and Weidner (2015) show that overestimating the number of factors does not affect coefficient inference under their conditions while underestimating it can, a sensible check is to confirm that the coefficients remain stable as the number of factors increases.
Are the estimated factors interpretable?
Latent factors do not come with an economic label. Their meaning can be explored by examining correlations with observed macroeconomic variables, such as output growth, interest rates or a volatility index, after estimation.
Can I include observed time effects along with interactive effects?
Yes. Observed common shocks can be entered separately from the latent factors, which helps distinguish known shocks from those that are estimated. This separation can aid interpretation.
How do I estimate impulse responses to factor shocks?
The factors are unobserved and must be estimated, so impulse responses cannot be read directly from a regression on the factors as if they were observed. Estimating responses to factor shocks requires a separate analysis that accounts for the estimation of the factors and for their identification only up to rotation. The least squares inference described above concerns the coefficients on observed regressors and does not by itself deliver these responses.
Related methods
Sources
Bai, J. (2009). Panel data models with interactive fixed effects. Econometric Reviews, 28(4), 289-312.
Open publication referenceMoon, H. R., & Weidner, M. (2015). Linear regression for panel with unknown number of factors as interactive fixed effects. Econometric Theory, 31(5), 1046-1087.
Open DOI reference