A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Random Effects Models

College Depth 118 in the knowledge graph I know this Set as goal
9topics build on this
594prerequisites beneath it
See this on the map →
Fixed Effects ModelsBetween and Random Effects Estimators for Panel DataHausman Test: Fixed Effects vs. Random Effects
random-effects GLS Hausman-test panel

Core Idea

The random effects (RE) model treats the unit-specific component α_i as a random variable drawn from a distribution, rather than a fixed unknown parameter. RE estimation uses Generalized Least Squares (GLS), which exploits both within-unit and between-unit variation, yielding more efficient estimates than FE when the key assumption holds: the individual effect α_i must be uncorrelated with the regressors. Unlike FE, RE can estimate the effects of time-invariant covariates. The Hausman test compares FE and RE estimates — a significant difference indicates the RE assumption is violated and FE is preferred.

How It's Best Learned

Apply the Hausman test to a panel dataset, interpret the test result, and explain why FE is preferred when the null is rejected. Understanding what 'correlation between α_i and x_it' means economically is the key insight.

Common Misconceptions

Explainer

You already know fixed effects (FE) models, which handle unit heterogeneity by absorbing α_i — the stable, unobserved characteristics of each unit — as unit-specific constants that get differenced away. FE is consistent regardless of whether those unobserved characteristics are correlated with your regressors, and that is its great virtue. Its great cost is that it discards all between-unit variation and cannot estimate coefficients on time-invariant variables (like a country's legal system or a person's gender). The random effects model is the alternative that attempts to recover that lost efficiency and information, at the price of an additional assumption.

Where FE treats α_i as a fixed constant to be estimated, RE treats it as a random draw from a distribution — specifically, as part of a composite error term vᵢₜ = α_i + uᵢₜ. Because α_i is now in the error, the estimator uses Generalized Least Squares (GLS), which accounts for the fact that observations on the same unit share a common component (α_i) and are therefore correlated. GLS is more efficient than OLS or the within-estimator when the model is correctly specified, using both the variation within units over time and the variation between units across the sample.

The critical assumption that unlocks this efficiency gain is that α_i is uncorrelated with all regressors. Think about what this requires economically. If you are studying wages and include education as a regressor, RE assumes that unobserved individual ability (the α_i) is uncorrelated with education. That is a strong claim — more able people typically get more education, so ability and education are correlated. When this assumption fails, the RE estimator is inconsistent for the same reason that omitting a variable correlated with the regressor biases OLS. FE does not make this assumption and remains consistent.

The Hausman test operationalizes this comparison. Under the null hypothesis, RE is correctly specified — α_i is uncorrelated with regressors — and both FE and RE estimates converge to the same true parameter, but RE is more efficient. Under the alternative, RE is misspecified and its estimates are biased, while FE remains consistent. The test statistic measures the systematic divergence between the two estimators: if they differ substantially, RE is likely picking up correlated heterogeneity and FE should be preferred. A practical heuristic: use FE when you are worried about unobserved individual characteristics influencing your regressors (most economic applications involving people or firms), and use RE when panel structure is primarily a statistical efficiency consideration and unit effects are plausibly independent of the covariates.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionProbability Density Functions and Continuous DistributionsCumulative Distribution FunctionsContinuous Random VariablesProbability Density FunctionsExpected ValueWeak Law of Large NumbersProbability Axioms and RulesConditional ProbabilityIndependence of EventsSampling DistributionsStandard Error of EstimatorsHypothesis Testing: Framework and LogicP-values and Statistical SignificanceEffect Size and Practical SignificanceHypothesis Testing: Framework and LogicZ-Tests and T-Tests for MeansOne-Sample Z-Test for MeansOne-Sample and Two-Sample T-TestsInference in Linear RegressionPrediction Intervals in RegressionLinear Regression BasicsResiduals and Goodness of Fit (R²)Simple (Bivariate) OLS RegressionClassical OLS Assumptions (Gauss-Markov)Multiple RegressionInterpreting Regression CoefficientsHypothesis Testing in RegressionF-Test and Joint SignificanceR-Squared and Model FitMulticollinearityRobust Standard ErrorsPanel Data: Structure and AdvantagesFixed Effects ModelsRandom Effects Models

Longest path: 119 steps · 594 total prerequisite topics

Prerequisites (1)

Leads To (2)