Panel ARMA Model

Econometrics
Introduced by
Baltagi, Hsiao and related panel data literature
Year
1980s–2000s
Type
Panel time series model
Family
Econometrics / time series

What does it do?

The Panel ARMA model extends the autoregressive moving average (ARMA) framework to panel data.

Each cross-sectional unit has an individual intercept, and its within-unit error follows an ARMA(p, q) process, so the model allows both autocorrelation and moving-average dependence in the errors. It is mainly useful when serial correlation in the residuals is the central concern and the error structure can be specified with reasonable confidence. Some literature instead defines a panel ARMA with a lagged dependent variable in the outcome equation; that form brings incidental-parameter bias under fixed effects and is not the model described on this page.

The intuition behind the method

When many individuals (firms, countries, households) are observed over time, a shock hitting a unit today often has effects that persist into later periods. A Panel ARMA model treats each unit's error sequence as a small time series: the error can depend on its own recent values (the autoregressive part) and on recent random shocks whose influence fades gradually (the moving-average part). A unit-specific intercept absorbs permanent differences between units, so the temporal structure applies to the transitory part of the error. Modelling that structure, rather than assuming the errors are independent over time, is the reason the model is used.

History

The ARMA framework for single time series is standard in time series analysis. Panel versions that combine unit-specific effects with serially correlated errors are surveyed in panel data textbooks such as Baltagi (2008) and Hsiao (2003), which are cited here as surveys of the models rather than as sources of the specification.

When to use it

Choose the Panel ARMA model when the data form a panel whose time dimension is long enough to identify the ARMA orders, and when residuals from a simpler specification show serial correlation with both autoregressive and moving-average features. It suits macroeconomic panels of countries, regions or industries, where shocks are often persistent. Avoid it when the time dimension is short, because ARMA identification then becomes unreliable and a simpler AR(1) error or fixed-effects model is the more cautious choice. Do not use it when unit root tests indicate non-stationary errors; difference the series or use a Panel ARIMA or cointegration framework instead. If the aim is to model feedback among several variables at once, a panel VAR is more suitable.

Limitations and considerations

  • Identifying p and q requires enough time observations per unit; with short series the ACF and PACF are too noisy to separate candidate orders reliably.
  • The error process must be covariance-stationary; non-stationary errors violate the framework and require differencing or a cointegration approach.
  • Dependence is modelled within units only. Common shocks that correlate errors across units are not captured by the standard model, and extensions that include common factors are more complex.
  • ML and FGLS estimation is more computationally demanding than fixed-effects OLS, and the cost grows with the number of units.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Models unit-specific intercepts and within-unit serial correlation in one framework, so the error dynamics are not ignored when the panel relationship is estimated.
  • The AR and MA orders are chosen separately, so the error dynamics need not be forced into a purely autoregressive form.
  • Under correct specification, modelling the error covariance gives more efficient estimates than OLS that ignores serial correlation.
  • The state-space representation allows ML estimation with unbalanced panels and missing observations.
  • Ljung-Box tests and ACF checks on the within-unit residuals give concrete checks on whether the chosen orders have removed the serial correlation.

Applications

  • Country-level macroeconomic panels, such as GDP growth, where residuals from a panel regression show persistent dependence over time.
  • Firm-level productivity panels, where idiosyncratic shocks fade gradually over several periods.
  • Regional inflation panels, where errors remain serially correlated after unit effects are removed.
  • Panels of individual earnings, where transitory shocks have a moving-average component.
  • Any panel whose within-unit residuals show serial correlation that a pure AR error does not remove, which is the pattern that motivates adding an MA term.

How it works

How it works

1

The outcome y for unit i at time t is written as an individual-specific intercept alpha_i, which captures time-invariant heterogeneity, plus a residual epsilon_it that varies over time. The formula in the mechanics contains no regressors, so this step describes the error component only; covariates would enter the same panel structure in a model that includes them. Temporal dynamics are imposed on the residual in the next step.

Formula
y_{it} = \alpha_i + \varepsilon_{it}, \quad i=1,\dots,N,\; t=1,\dots,T
2

The residual epsilon_it is modelled as an ARMA(p, q) process: it depends on p of its own lagged values (the AR part) and on the current and q lagged random shocks u (the MA part). The orders are chosen by examining the autocorrelation function (ACF) and partial autocorrelation function (PACF) of the within-unit residuals, obtained after removing the unit effects (for example by subtracting each unit's time mean, or from the residuals of an estimated fixed-effects model), and by comparing candidate (p, q) pairs with information criteria such as AIC or BIC. No minimum time dimension is established for this step; the more time observations each unit contributes, the more reliably the ACF, the PACF and the information criteria separate the candidate orders.

Formula
\varepsilon_{it} = \sum_{k=1}^{p}\phi_k\varepsilon_{i,t-k} + u_{it} + \sum_{j=1}^{q}\theta_j u_{i,t-j}
3

Before estimation, the researcher chooses between fixed and random individual effects, for example by a Hausman test, and selects the ARMA orders p and q. The ARMA framework assumes that each within-unit error series is covariance-stationary, so this should be checked first, and panel unit root tests are the usual starting point. When the time dimension is short, fixed-effect estimates can suffer from incidental-parameter bias, so the number of time periods should be weighed both in this choice and in the reliability of order selection.

4

Estimation is by maximum likelihood (ML) or feasible generalised least squares (FGLS). Under ML, each unit's ARMA likelihood can be written in state-space form and evaluated with the Kalman filter, and the unit log-likelihoods are summed; this form also handles missing observations. FGLS alternates between estimating the panel coefficients and the ARMA error covariance. Both approaches assume that errors are independent across units; if units share common shocks, a model that handles cross-sectional dependence is required.

5

After fitting, the residuals should be checked for remaining serial correlation (for example with a Ljung-Box Q test applied to each unit's residuals), for heteroskedasticity (panel ARCH tests), and for cross-sectional dependence (the Pesaran CD test). Because the error structure enters the standard errors, a misspecified ARMA order can make them unreliable even when the panel structure is correct.

Common pitfalls

  • Selecting p and q from the ACF alone, without information criteria, can leave the error dynamics under- or overfitted.
  • Fitting the ARMA error structure to series that have unit roots. The ARMA framework does not apply in that case, so panel unit root tests such as IPS or LLC should be run first.
  • Skipping the Pesaran CD test when units may share common shocks, such as a global recession, can leave standard errors unreliable.
  • Choosing random over fixed effects without a Hausman test. If the individual effects are correlated with the regressors, random-effects estimates are inconsistent.
  • Overfitting q can push estimated MA roots close to, or inside, the unit circle, which makes the MA polynomial non-invertible and complicates the interpretation of the shocks and forecasting. Invertibility should therefore be checked after estimation. This is distinct from a unit root.

Frequently asked questions

How do I choose the ARMA orders p and q for a panel model?

Remove the unit effects to obtain within-unit residuals, then examine their ACF and PACF, paying attention to how consistent the pattern is across units. Compare candidate (p, q) pairs using AIC or BIC, and confirm the chosen model with Ljung-Box tests showing no remaining autocorrelation.

What is the difference between Panel AR and Panel ARMA?

A Panel AR(p) model captures serial correlation only through p lagged errors. A Panel ARMA(p, q) model also includes q lagged random shocks, which gives a more flexible error structure when the within-unit residuals show both autoregressive and moving-average features.

Should I use fixed or random effects alongside the ARMA errors?

Run a Hausman test. If the individual effects are correlated with the regressors, fixed effects are consistent but random effects are not. If that orthogonality holds, random effects with ARMA errors is efficient under correct specification.

Can the Panel ARMA model handle non-stationary series?

No. The standard ARMA framework requires covariance-stationarity of the error process. If panel unit root tests such as IPS or LLC reject stationarity, the series should be differenced and a Panel ARIMA model used, or long-run relationships modelled with a panel VECM or a cointegration approach.

How does the Panel ARMA differ from a Panel VAR?

A Panel ARMA models the scalar error of one equation per unit as a univariate ARMA process. A Panel VAR models a vector of variables jointly, capturing dynamic interactions among them. Use Panel ARMA for one outcome whose error is serially correlated, and a Panel VAR when feedback among several variables must be modelled simultaneously.

Related methods

Sources

  1. Baltagi, B. H. (2008). Econometric Analysis of Panel Data (4th ed.). John Wiley & Sons.

    ISBN: 978-0470518861
  2. Hsiao, C. (2003). Analysis of Panel Data (2nd ed.). Cambridge University Press.

    ISBN: 978-0521522717