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

Longitudinal and Panel Data Analysis

Graduate Depth 92 in the knowledge graph I know this Set as goal
20topics build on this
538prerequisites beneath it
See this on the map →
Linear Regression for Social ScienceCovariance and Correlation of Random Variables+1 moreFixed and Random Effects ModelsLongitudinal Qualitative Research Design+1 more
longitudinal panel temporal multilevel

Core Idea

Longitudinal analysis studies change within individuals or units over time, using data collected at multiple waves. Panel data combines the time-series dimension (same units measured repeatedly) with cross-sectional breadth (many units). These designs enable causal inference about within-unit change, lag effects, and dynamic feedback. Fixed-effects models eliminate time-invariant confounds; growth curve models characterize trajectories of change.

Explainer

Cross-sectional data — a single snapshot of many units — leaves an important question unanswered: when we observe differences between individuals, are those differences caused by the factors we measure, or do they reflect stable underlying characteristics we have not observed? A student who reads more may score higher on vocabulary tests, but is this because reading *causes* vocabulary growth, or because students who are already more intellectually capable do both? Cross-sectional data cannot distinguish these stories. Longitudinal data addresses this by following the same units across time, enabling you to observe *change* within individuals — and within-unit change eliminates everything stable about a person from the comparison.

The workhorse of panel causal inference is the fixed-effects model. The logic extends directly from your understanding of linear regression: instead of comparing individuals to each other, you compare each individual to themselves across time. Formally, a unit-specific intercept (the "fixed effect") absorbs all time-invariant unobserved characteristics. If person A is always more productive than person B due to some unmeasured trait — intelligence, conscientiousness, social capital — the fixed effect captures this and removes it from the estimation. What remains is within-unit variation over time, and it is this variation that identifies the causal effect of time-varying predictors. The tradeoff is that you cannot estimate the effect of stable variables (race, sex, country of birth) since these are perfectly collinear with the fixed effects. The fixed-effects estimator is mathematically equivalent to de-meaning each variable by the unit's own time-average before running OLS — a connection your regression background makes tractable.

Growth curve models (also called latent trajectory or random-effects growth models) approach the panel structure differently. Rather than eliminating between-unit variation, they model it explicitly. Each unit follows its own trajectory over time, described by a linear or polynomial function: an intercept (initial status) and one or more slopes (rates of change). These individual-level parameters are treated as random variables drawn from a population distribution — hence "random effects." This lets you ask richer questions: not just "what is the average effect of X?" but "do different subgroups follow different trajectories?" and "what predicts who has a steeper growth curve?" Growth curve models require stronger distributional assumptions than fixed-effects models but yield far more information about heterogeneous change processes. Your understanding of covariance between random variables becomes essential here: the model must specify how intercepts and slopes covary across individuals, and the structure of that covariance encodes substantively important assumptions about how trajectories are organized.

The practical challenge that distinguishes longitudinal analysis from cross-sectional work is attrition — units that leave the study over time. If dropout is random (completely unrelated to the variables in the model), estimates remain unbiased though precision declines. If dropout is related to the outcome trajectory — sicker patients die and leave, students who are struggling drop out of school — the survivors are systematically unrepresentative, and analyses based only on completers produce biased estimates. Handling non-random attrition requires either modeling the dropout process explicitly (using variables that predict departure) or using inverse probability weighting to upweight units whose characteristics resemble those who left. This connects back to the core logic of causal inference: the key question is always whether the comparison group represents the counterfactual, and attrition can undermine this just as badly as cross-sectional confounding can.

What did you take from this?

Topics in reflective domains aren't scored by quiz answers. Read, reflect, and mark when you've thought it through.

Quiz me anyway →

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 ValueVariance and Standard Deviation of Random VariablesCovariance and Correlation of Random VariablesLongitudinal and Panel Data Analysis

Longest path: 93 steps · 538 total prerequisite topics

Prerequisites (3)

Leads To (3)