panel data -凯发k8网页登录

analyze data on a cross-section over multiple time points

panel data are observations on multiple subjects collected over time. examples of panel data include data collected on individuals, households, firms, municipalities, states, or countries over the same time period.

there are two types of panel data:

  • balanced (complete) panel data comprise all observations for each individual measured at the same time points. example: economic data from countries or states collected yearly for 10 years.
  • unbalanced (incomplete) panel data comprise missing observations for some individuals for certain time points. example: financial data from firms or individuals where some firms or individuals are older than others.

most statistical analyses are performed on so-called cross-sectional data, which is collected at one point in time. by contrast, panel data analysis extends statistical analyses of cross-sectional data over multiple time points by fitting panel regression models that account for both cross-section effects and time effects. these methods give more reliable parameter estimates compared to linear regression models.

popular methods for panel data analysis include multivariate regression and linear mixed-effects models. panel regression models differ in how they account for cross-sectional and time effects.

  • panel data fixed-effect models or least squares with dummy variables (lsdv) models: cross-sectional effects are modeled using dummy variables
  • one-way random-effects models: cross-sectional effects, but not time effects are modeled as random-effects
  • two-way random-effects models: both cross-section effects and time effects are modeled as random effects
  • nested (hierarchical) models: nested groupings in cross-section data (for example, states nested in countries) are modeled as random effects

matlab® supports common estimation methods for panel data regression models, including:

key points

  • longitudinal data is common in econometrics, biostatistics (such as drug development), and sociology
  • popular methods for panel data analysis include multivariate regression and linear mixed-effects models

for more information on how to fit various panel data regression models, see statistics and machine learning toolbox™, financial toolbox™, and econometrics toolbox™ for use with matlab.


examples and how to


software reference

  • - documentation
  • - documentation
  • - function
  • - function

see also: statistics and machine learning toolbox, , , linear model, linear regression, predictive modeling

网站地图