In statistics and econometrics, the term panel data (or longitudinal data) refers to multi-dimensional data frequently involving measurements over time. Panel data contain observations of multiple phenomena obtained over multiple time periods for the same firms or individuals.
Time series and cross-sectional data can be thought of as special cases of panel data that are in one dimension only (one panel member or individual for the former, one time point for the latter).
A study that uses panel data is called a longitudinal study or panel study.
In the example above, two data sets with a panel structure are shown. Individual characteristics (income, age, sex) are collected for different persons and different years. In the left data set two persons (1, 2) are observed over three years (2001, 2002, 2003). Because each person is observed every year, the left-hand data set is called a balanced panel, whereas the data set on the right hand is called an unbalanced panel, since person 1 is not observed in year 2003 and person 3 is not observed in 2003 or 2001. This specific structure these data sets are in is called long format where one row holds one observation per time. Another way to structure panel data would be the wide format where one row represents one observational unit for all points in time (for the example, the wide format would have only two (left example) or three (right example) rows of data with additional columns for each time-varying variable (income, age). Representing panel data in long format is much more common than using the wide format.
A panel has the form
where is the individual dimension and is the time dimension. A general panel data regression model is written as Different assumptions can be made on the precise structure of this general model. Two important models are the fixed effects model and the random effects model. The fixed effects model is denoted as