Mundlak-Chamberlain Correlated Random Effects

Econometrics
Introduced by
Yair Mundlak; Gary Chamberlain
Year
1978
Type
Panel data estimator
Family
Static panel

What does it do?

The Mundlak-Chamberlain correlated random effects (CRE) estimator is a panel data method introduced by Mundlak (1978).

It combines a random effects model with an explicit model of how unobserved individual heterogeneity relates to the regressors: the within-unit means of the time-varying covariates are added as extra regressors, so the individual effect is projected onto those means. For time-varying regressors, the slope estimates match the within (fixed effects) estimator in the balanced-panel case, while the approach still allows estimation of time-invariant variables. The label Mundlak-Chamberlain follows common usage in the literature.

The intuition behind the method

Imagine each panel unit carries a hidden background trait, such as ability, management quality or geography, that shapes both the outcome and the regressors. Fixed effects remove this trait entirely, which also removes all time-invariant information. Random effects assume the trait is uncorrelated with the regressors, which is often wrong. The Mundlak device keeps the random effects structure but adds each unit's average covariate values as proxy controls. These averages absorb the systematic part of the correlation, so under the linear projection assumption the remaining random component is uncorrelated with the regressors, and time-invariant regressors can still be included.

History

Yair Mundlak's 1978 paper in Econometrica showed that adding individual means of the regressors to a random effects model yields the same slope estimates as the within (fixed effects) regression, addressing the long-standing question of how to pool time series and cross-section data. The approach is often labelled Mundlak-Chamberlain in the literature. Gary Chamberlain is also associated with a separate panel estimator, the conditional logit for binary outcomes, which is not the same as adding group means to a logit model. Extensions of the device to nonlinear settings require additional assumptions.

When to use it

Choose this estimator for panel data when you suspect that unobserved unit-level heterogeneity is correlated with some regressors, and you also need coefficients on time-invariant variables such as gender, country or sector, which fixed effects cannot identify. It is also useful when you want a test of the random effects restriction within the same estimation. Do not use it when the individual effect is plausibly uncorrelated with all regressors and random effects is adequate, when the question requires time-varying unobserved heterogeneity or interactive fixed effects, or when the outcome is nonlinear and the additional distributional assumptions of nonlinear CRE models have not been established. Its validity depends on the linear projection of the individual effect onto the group means being approximately correct.

Limitations and considerations

  • Consistency depends on the linear projection of the individual effect onto the group means; a misspecified projection can bias both the slope estimates and gamma
  • The model assumes the individual effect depends on the regressors only through their unit means, so time-varying unobserved heterogeneity is not captured
  • Extension to nonlinear models such as binary outcomes requires distributional assumptions on the individual effect and is not a direct application of the linear formula. The practical binary-outcome version is a random effects probit with the group means added as controls, the individual effect being integrated out numerically or by simulation; no fixed effects probit estimator exists in the same way
  • When within-unit variation in a regressor is small relative to its between-unit variation, the coefficient on the group mean and the within slope are separated only imprecisely

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Estimates coefficients on time-invariant regressors, which the within transformation removes
  • The coefficients on the group means give a built-in test of the random effects restriction via the Wald statistic in the mechanics block
  • For time-varying regressors, the slope estimates coincide with the within estimates in the balanced-panel case described in the FAQ
  • Can be fitted with a standard random effects regression once the group means are added as variables

Applications

  • Wage equations: estimating returns to education while controlling for unobserved ability correlated with schooling
  • Firm performance panels: separating within-firm technology adoption effects from time-invariant firm quality
  • Health economics: modelling health outcomes across individuals where baseline health status is unobserved
  • Agricultural economics: farm-level productivity analysis retaining land quality as a time-invariant regressor
  • Education research: school value-added models that preserve school-level fixed characteristics

How it works

How it works

1

For each time-varying regressor, compute the mean over each unit's observed periods. These unit-specific averages capture the between-unit variation that may be correlated with the unobserved individual effect.

Formula
\bar{x}_i = T_i^{-1}\sum_{t=1}^{T_i} x_{it}
2

Add the group means as extra regressors alongside the original covariates in a random effects model. In the formula given in the mechanics block, the coefficient beta on the raw covariates is the within-unit slope, and the coefficient gamma on the group means carries the correlation between the individual effect and the regressors.

Formula
y_{it} = \alpha + x_{it}\beta + \bar{x}_i\gamma + v_i + \varepsilon_{it}
3

Estimate the augmented model by GLS, using the covariance matrix of the composite error. Once the group means absorb the part of the individual effect that is correlated with the regressors, the GLS estimator is consistent provided the linear projection of the individual effect onto the means is correctly specified.

Formula
\hat{\beta}_{CRE} = \left(X^\prime\Omega^{-1}X\right)^{-1}X^\prime\Omega^{-1}y
4

A Wald test of the joint hypothesis that gamma equals zero uses the statistic given in the mechanics block. Here k is the number of group-mean coefficients in gamma, that is, the dimension of gamma, and the statistic is compared with a chi-squared distribution on k degrees of freedom. The covariance matrix of gamma-hat is taken from the augmented random effects GLS fit and is valid only under that model's error assumptions. If those assumptions are doubtful, a robust covariance estimator is needed for the test to remain valid. Rejection indicates that the random effects restriction fails and that the group means are needed; the test is an analogue of the Hausman comparison within the same estimation.

Formula
H_0: \gamma = 0 \;\Leftrightarrow\; \text{RE consistent}; \quad W = \hat{\gamma}^\prime \left[\widehat{\mathrm{Var}}(\hat{\gamma})\right]^{-1}\hat{\gamma} \sim \chi^2_k

Common pitfalls

  • Running random effects without the group means when gamma is non-zero yields inconsistent slope estimates, because the individual effect is correlated with the regressors
  • Adding group means only for variables suspected to be endogenous leaves part of the correlation uncontrolled, since the formula includes the means of the time-varying regressors as a set
  • Reading gamma as a structural effect of the group-mean variable confuses a control device with a causal parameter
  • With very short panels, such as T=2, each group mean rests on very few observations, so the endogeneity correction carries little information

Frequently asked questions

Is the Mundlak estimator exactly identical to fixed effects?

In the balanced-panel case, the CRE slope estimates on time-varying regressors are numerically identical to the within (fixed effects) estimates. This exact equivalence is shown here for balanced panels only. With unbalanced panels, the group means must be constructed and weighted with care, so the equivalence should be checked rather than assumed. CRE additionally identifies coefficients on time-invariant regressors and provides a formal test of the random effects assumption, neither of which the standard within estimator can do.

How does the CRE approach differ from simply running a Hausman test before choosing an estimator?

The Hausman test guides model selection but does not estimate time-invariant effects. The Mundlak device integrates the test into the estimation itself: the gamma coefficients simultaneously control for endogeneity and serve as the test statistic, yielding a single coherent model rather than a pre-test followed by a separate estimator.

Can the Mundlak-Chamberlain approach be applied to probit or logit panel models?

For binary outcomes, the practical CRE approach is a random effects probit in which the group means of the time-varying regressors are added as controls, and the individual effect is integrated out by numerical approximation or simulation. These extensions require distributional assumptions on the individual effect and are more demanding than the linear case, so the linear formula cannot simply be reused. No fixed effects probit estimator exists in the same way. Chamberlain's conditional logit is a separate panel estimator for logit models only.

Related methods

Sources

  1. Mundlak, Y. (1978). On the pooling of time series and cross section data. Econometrica, 46(1), 69–85.

    Open DOI reference