2026-07-27
“In most research scenarios, a well-specified RE model provides everything that FE provides and more.”
This paper:
Two camps with contradictory advice:
| Camp | View |
|---|---|
| RE advocates | RE provides more information and is superior in most settings |
| FE advocates | FE is the “gold standard” — protects against endogeneity |
Root causes of confusion:
Social science data are typically multilevel:
| Structure | Level 1 | Level 2 | Level 3 |
|---|---|---|---|
| Cross-sectional | Individuals | Neighbourhoods | — |
| Cross-national | Individuals | Countries | — |
| Panel (individuals) | Occasions | Individuals | — |
| Panel (countries) | Occasions | Countries | — |
| Three-level | Individuals | Country-years | Countries |
Crucially: relationships can differ within and between clusters — these should not be assumed equal.
Consider income (x) predicting some outcome (y):
Classic example (Gelman 2008):
These effects can point in opposite directions. Combining them is misleading.
Most general
│
▼
┌─────────────────────────────────────────┐
│ REWB / Mundlak model │ ← Recommended starting point
│ (separate within & between effects) │
└─────────────────────────────────────────┘
│ constrain β_W = β_B
▼
┌─────────────────────────────────────────┐
│ Standard RE model │ ← OK if β_W ≈ β_B
└─────────────────────────────────────────┘
│ remove between-level info
▼
┌─────────────────────────────────────────┐
│ Fixed Effects (FE) model │ ← Loses between effects entirely
└─────────────────────────────────────────┘
│ ignore clustering
▼
┌─────────────────────────────────────────┐
│ Pooled OLS │ ← Generally inadvisable
└─────────────────────────────────────────┘
Least general / most restricted
y_{it} = \beta_0 + \beta_{1W}(x_{it} - \bar{x}_i) + \beta_{2B}\bar{x}_i + \beta_3 z_i + (v_i + \epsilon_{it})
| Term | Meaning |
|---|---|
| \beta_{1W} | Within effect of x — variation around individual mean |
| \beta_{2B} | Between effect of x — individual mean level |
| \beta_3 | Effect of time-invariant variable z_i |
| v_i | Random intercept for individual i |
The Mundlak formulation (1978) is an alternative parameterisation with identical fit and identical within estimates.
Relationship: \beta_{1W} + \beta_{2C} = \beta_{2B}
Both models are mathematically equivalent — same log-likelihood, same fit, same within effect:
REWB (within-between)
y_{it} = \beta_0 + \beta_{1W}\underbrace{(x_{it} - \bar{x}_i)}_{\text{demeaned}} + \newline \beta_{2B}\underbrace{\bar{x}_i}_{\text{group mean}} + \beta_3 z_i + v_i + \epsilon_{it}
Mundlak (correlated RE)
y_{it} = \beta_0 + \beta_{1W}\underbrace{x_{it}}_{\text{raw}} + \newline \beta_{2C}\underbrace{\bar{x}_i}_{\text{group mean}} + \beta_4 z_i + v_i + \epsilon_{it}
\boxed{\hat{\beta}_{1W}^{\text{REWB}} = \hat{\beta}_{1W}^{\text{Mundlak}}} \qquad \hat{\beta}_{2B} = \hat{\beta}_{1W} + \hat{\beta}_{2C}
The only substantive difference is what the higher-level coefficient means:
| REWB: \hat{\beta}_{2B} | Mundlak: \hat{\beta}_{2C} | |
|---|---|---|
| What it asks | “What is the association with \bar{x}_i alone?” | “What does the context add, given individual x_{it}?” |
| Controls for | Nothing held constant at level 1 | Individual-level x_{it} held constant |
| Longitudinal data | ✓ Preferred — level 1 units can’t move between level 2 clusters | ✗ Contextual interpretation is awkward |
| Cross-sectional data | ✓ Valid | ✓ Preferred — individual moves between contexts is meaningful |
Practical takeaway:
y_{it} = \beta_0 + \beta_1^{RE} x_{it} + \beta_3^{RE} z_i + (v_i + \epsilon_{it})
This implicitly assumes \beta_{1W} = \beta_{2B} (within = between).
When this holds: RE is more efficient than REWB — it uses all variation.
When this fails: \beta_1^{RE} is a weighted average of two different processes — substantively uninterpretable.
Test: Use a Wald test of the contextual effect in the Mundlak model, or test \beta_{1W} = \beta_{2B} in REWB. This is what the Hausman test actually does — not a simple FE vs RE selector.
y_{it} = \beta_1(x_{it} - \bar{x}_i) + (v_i + \epsilon_{it})
Equivalent to including a dummy variable for every level-2 entity.
Strengths
Weaknesses
Key insight: REWB gives identical within-effect estimates to FE, plus the between effect and more.
Common (mis)use:
Hausman test significant → use FE; not significant → use RE
What it actually tests:
Are the within and between effects equal?
i.e., is the contextual effect \beta_{2C} = 0?
Better approach:
| Level 1 OVB | Level 2 OVB | |
|---|---|---|
| FE / REWB | ✗ Not controlled | ✓ Absorbed into between effect |
| Standard RE | ✗ Not controlled | ✗ Can bias within estimate |
| OLS | ✗ Not controlled | ✗ Biases all estimates |
For within effects: REWB and FE equally protect against time-invariant omitted variables.
For between effects: Only REWB estimates them — and these estimates should be interpreted as proxies for broader unmeasured social processes, not direct causal effects.
So far: assumed the within effect \beta_{1W} is the same for all level-2 entities.
Often wrong. The full REWB model adds:
y_{it} = \beta_0 + \beta_{1W}(x_{it}-\bar{x}_i) + \beta_{2B}\bar{x}_i + \beta_3 z_i + v_{i0} + v_{i1}(x_{it}-\bar{x}_i) + \epsilon_{it}
where v_{i1} captures heterogeneity in the within effect across individuals/countries/groups.
| \sigma_{v01} | Interpretation |
|---|---|
| Negative | “Fanning in” — effects converge as x increases |
| Positive | “Fanning out” — effects diverge as x increases |
Finding 1: When random slopes exist in the data but are omitted from the model:
Finding 2: Two influential reanalyses (Table 2):
| Study | Without RS | With RS |
|---|---|---|
| Milner & Kubota (2005): Democracy → trade | β = −0.227** | β = −0.143 (NS) |
| Reinhart & Rogoff (2010): Debt → growth | SE triples; effect insignificant when time controlled |
Recommendation: At minimum, test whether the key predictor’s coefficient changes when allowed to vary randomly.
A further advantage of REWB/RE over FE:
Example:
\text{Individuals} \subset \text{Country-years} \subset \text{Countries}
Cross-national surveys fielded repeatedly — common in comparative social science.
FE cannot model this. REWB can.
For binary/count outcomes (logit, probit, Poisson):
However:
Practical check: Compare REWB estimate to the conditional likelihood estimate. If similar, REWB results are reliable.
RE models assume v_i \sim N(0, \sigma^2_v). How much does this matter?
For linear (continuous) models — reassuring findings:
For non-linear models — more caution needed:
Alternatives if concerned: Non-parametric maximum likelihood (NPML) methods.
1. Use REWB as your starting point
2. Test for random slopes
3. Reframe the Hausman test
The authors identify only three situations where FE may be preferred:
In practice, REWB is almost always the better choice. Labelling REWB as a “hybrid FE” model (as some do) undersells and misrepresents its value.
| Feature | OLS | FE | Standard RE | REWB |
|---|---|---|---|---|
| Within effect | Blended | ✓ | Blended | ✓ |
| Between effect | Blended | ✗ | Blended | ✓ |
| Time-invariant vars | ✓* | ✗ | ✓ | ✓ |
| Random slopes | ✗ | Partial | ✓ | ✓ |
| Three+ levels | ✗ | ✗ | ✓ | ✓ |
| Level-2 variance | ✗ | ✗ | ✓ | ✓ |
| Clustering accounted for | ✗ | ✓ | ✓ | ✓ |
*OLS estimate of z is biased if level-2 omitted variables exist
Within ≠ between. Always consider whether these effects should be modelled separately.
REWB is the most general model — it encompasses FE, standard RE, and OLS as special cases.
FE discards valuable information — between effects and higher-level structure — without providing anything REWB cannot.
Omitting random slopes produces anti-conservative SEs — this affects FE and RE equally.
Violating the Normality assumption is usually tolerable — biases in fixed-part estimates are small.
The Hausman test is a test of effect equality, not a model selector.
Bell, A., Fairbrother, M., & Jones, K. (2019). Fixed and random effects models: making an informed choice. Quality & Quantity, 53, 1051–1074.
Key works cited in this paper:
The REWB framework has been adopted across many disciplines:
Political Science
Sociology & Psychology
Epidemiology & Public Health
Energy Economics
ESSSSDA26-2J: Bell, Fairbrother & Jones (2019) · Fixed and Random Effects Models