Panel data
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Correlated data.
In correlated data, panel data are repeated observations of the same units, so each record has both a unit and a time. A household that is interviewed once can be compared with other households. A household that is interviewed every quarter can also be compared with itself. Panel data are the second arrangement: the same units, observed at more than one time, so that each record carries a unit label and a time label. The statistical point of the second label is dependence. Two observations on the same person can be correlated even when two people are not.[1][2]
Panel data
| Fact | Value |
|---|---|
| Topic | Correlated data |
| Listed on | Correlated data |
| Worked example | 1 |
Motivating example
Three people are weighed at the start of a year and again at the end. The pairs are , , and . Each person has a change, , , and . The average change is . The cross-sectional means are at the start and at the end, and the difference of those means is the same . The equality is a property of a complete panel. Drop one of the later weights and it disappears. A fresh sample of different people at the second date would not have produced within-person changes at all.[2][1]
Definition
Panel data are repeated observations on a fixed or slowly changing collection of units, indexed by unit and by time. In the survey tradition a panel is a census-like inquiry that is repeated, built on a permanent or semipermanent sample of people or households who are questioned on a schedule. The sample may be held fixed when the aim is to follow individuals, and that case is a longitudinal inquiry. It may be partly renewed when the aim is to estimate population characteristics at successive dates, and that case is a changing panel. Either way the file has an individual dimension and a time dimension at once.[2]
In the regression tradition the same layout is the second leading example of clustered errors, after a single cross-section clustered by region. Errors in different periods for one person, firm, or region may be correlated. Errors for different individuals are treated as uncorrelated. The cluster is the individual, and the observations inside the cluster are the times. Default standard errors that treat every row as an independent residual overstate the precision of a coefficient when that within-person correlation is present.[1]
Longitudinal data, in the sense of several observations on the same subject, include this layout. Repeated measures in biology and medicine, and panel studies in the social sciences, are the usual examples. A general linear model for subject is , with common and a subject effect. The simplest version drops and keeps only a time or group mean. When individuals differ, the subject effect goes back in, and the covariance of and becomes part of the model.[2]
Interpretation
Write for unit at time , and write when only the first and last times are compared. If every unit is observed at both times,
The average change equals the change in the average. In the three-person panel the changes are , , and , their mean is , and the means and differ by . The identity uses the same set of units at both times. It is an algebraic fact about a complete rectangle, not a fact about a changing population.[2]
Suppose the third person’s second weight is missing. The two observed changes average . The first-wave mean of all three people is , and the second-wave mean of the two people who remain is . The difference of those means is
which is not . A comparison of whoever is present at each date is not the average of the observed individual changes. Missing times change the contrast.[1][2]
Observations on one unit are dependent, so the sample size for a within-unit question is , the number of units, rather than , the number of rows. A panel of people observed at dates has rows and independent personal histories. Standard errors that count independent residuals are too small when the personal errors persist. If the number of clusters is large, inference after least squares can use cluster-robust standard errors at the person level. A short panel, large and small , is the setting those standard errors were built for. A long panel on a few units is closer to a set of time series.[1]
Worked example
The complete panel , , has first-wave mean , second-wave mean , and mean change . The three changes sum to , and equals . With the third second-wave value removed, the mean of the two observed changes is and the difference of the available wave means is . The two summaries, and , describe different sets of people.[2][1]
Your turn. Two units are observed at both times, with values then , and then . Find the mean change and the difference between the second-wave mean and the first-wave mean.
The changes are and , so the mean change is . The wave means are and , and their difference is .
Connections
One wave of a panel is cross-sectional data. Many waves on one aggregate, without a cross-section of units, are a time series. Repeated measures are the same idea in experimental and clinical language. A unit intercept shared by the times is a random-intercept model inside a linear mixed model, and a non-Gaussian response uses a generalised linear mixed model. Those models are multilevel models when the unit effects are one level and, for example, clinics containing the units are another. A population-average analysis that keeps the times correlated only through a working matrix uses generalised estimating equations. Cluster-robust standard errors leave the dependence unspecified and require many units. Those are different uses of the same rectangular file.[1][2]
Check yourself
Try these questions before opening an answer.
The same people
Why does the average of within-unit changes equal the difference of the wave means only when the panel is complete?
The algebra uses the same units at both times. Dropping a unit from one wave changes who is in that wave mean without changing the set of observed changes in the same way.
Rows and histories
Why is a panel of 20 people observed at 10 times not a sample of 200 independent residuals for a question about people?
Observations on the same person can be correlated. The independent histories are the 20 people, not the 200 rows.
History
Repeated measurement of the same people is older than the modern survey panel. In 1759 Philibert Guéneau de Montbeillard began recording his son’s stature every six months from birth to age 18. That series has the repeated-observation idea and little else in common with a national panel. The current notion of panel research took shape in the growth studies of the 1920s and 1930s. From the middle of the twentieth century the design spread through the social sciences. In the United States, public funding in the 1960s and 1970s supported the National Longitudinal Surveys from 1966 and the Panel Study of Income Dynamics from 1968, the latter beginning with 4,802 families. The same decades produced the methods for correlated longitudinal observations that made the large files usable rather than merely large.[2]
Survey panels have their own failures, and they are part of the history of the method rather than an afterthought. Some kinds of respondent are hard to recruit. Respondents tire, and non-response grows. The population changes, so a sample that was representative drifts. Dating of events is pulled toward the interview, the telescope effect, especially among new panellists. People who are asked repeatedly about a purchase or a symptom can change what they do because they were asked, which is panel conditioning. A changing panel is often used because a strict permanent sample deforms.[2]
See also
Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability
References
- ^ a b c d e f g a. (§I, p. 2) b. (§I, p. 2) c. (§I, pp. 1–2) d. (§I, p. 2) e. (§I, pp. 2–3) f. (§I, p. 2) g. (§I, pp. 2–3) Cameron, A. C. & Miller, D. L. (2015). A Practitioner's Guide to Cluster-Robust Inference. Journal of Human Resources, 50(2), 317–372. https://doi.org/10.3368/jhr.50.2.317
- ^ a b c d e f g h i j a. (p. 410, Panel) b. (p. 410, Panel) c. (p. 410, Panel) d. (pp. 322–323, Longitudinal data) e. (p. 410, Panel) f. (p. 323, missing data) g. (p. 410, Panel) h. (pp. 322–323) i. (pp. 322 and 410–411) j. (p. 411, Domains and limitations) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
Cite this page
StatWiki (2026). "Panel data." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/panel-data.html
@misc{statwiki_panel_data,
author = {{StatWiki}},
title = {{Panel data}},
year = {2026},
url = {https://www.statwiki.io/articles/panel-data.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}