Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Econometrics›PANIC Test: Panel Unit Root Analysis with Common Factor Decomposition
Hypothesis testPanel unit-root tests (2nd gen)

PANIC Test: Panel Unit Root Analysis with Common Factor Decomposition

PANIC: Panel Analysis of Non-stationarity in Idiosyncratic and Common Components · Also known as: Panel Analysis of Non-stationarity in Idiosyncratic and Common Components, Bai-Ng PANIC Test, Second-Generation Panel Unit Root Test, Panel Birim Kök Testi (PANIC)

PANIC (Panel Analysis of Non-stationarity in Idiosyncratic and Common Components) is a second-generation panel unit root test introduced by Bai and Ng (2004). It decomposes each panel series into common factors and idiosyncratic components, then tests for unit roots in each part separately, making it robust to cross-sectional dependence — a critical limitation of first-generation tests such as IPS or LLC.

ScholarGate
  1. Hypothesis test
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

PANIC
CADF TestCIPS TestDynamic Factor Model

When to use it

Use PANIC when you have a moderately large panel (N and T both at least 10–20) suspected of cross-sectional dependence driven by unobservable common shocks, such as global business cycles, oil price shocks, or monetary policy spillovers. It is most appropriate when you want to distinguish between common-factor non-stationarity and unit-specific non-stationarity. PANIC is not suited for small panels, strongly unbalanced data, or situations where the factor structure is implausible. As an alternative, consider CIPS (Pesaran 2007) for simpler implementation without explicit factor extraction, or CADF for single-equation cross-sectionally augmented approaches.

Strengths & limitations

Strengths
  • Explicitly models and removes cross-sectional dependence via approximate factor structure, correcting the size distortions that plague first-generation tests
  • Tests stationarity of common factors and idiosyncratic components separately, yielding richer diagnostic information about the source of non-stationarity
  • Pooled P_a and P_b statistics have standard limiting distributions (chi-squared and normal), facilitating straightforward critical-value tables
  • Applicable under heterogeneous factor loadings and heterogeneous short-run dynamics across units
Limitations
  • Requires the number of common factors r to be pre-specified or consistently estimated (e.g., via Bai-Ng IC criteria), and results can be sensitive to this choice
  • Both N and T must be sufficiently large for the principal-component estimator and the asymptotic theory to be reliable; small-panel performance is not guaranteed
  • Assumes an approximate factor model; if cross-sectional dependence has a non-factor structure (e.g., spatial or network dependence), the test may not fully account for it
  • Estimation of idiosyncratic components introduces generated-regressor bias in small samples, which can affect finite-sample size

Frequently asked

How does PANIC differ from the CIPS test of Pesaran (2007)?

Both are second-generation tests robust to cross-sectional dependence, but PANIC explicitly extracts and tests common factors via principal components, then tests idiosyncratic components separately. CIPS instead augments individual ADF regressions with cross-sectional means as proxies for one common factor, which is simpler but less flexible when multiple common factors are present. PANIC is preferred when the factor structure requires more than one common trend.

What happens if I use PANIC on a panel with only cross-sectional dependence of the spatial type?

PANIC is designed for factor-structured dependence. If dependence follows a spatial or network pattern rather than a low-rank factor structure, principal-component extraction will not fully purge the cross-sectional correlation. Residual dependence will inflate test size. In such cases, spatial panel unit root tests or CIPS with heteroskedasticity-robust critical values may be more appropriate.

Should I report P_a, P_b, or both?

Bai and Ng (2004) recommend reporting both, since they pool information differently: P_a weights each series equally in log-p space while P_b uses the inverse-normal transformation. If results diverge, it may indicate tail sensitivity or outlier p-values in individual ADF tests, and closer inspection of unit-specific results is warranted. Reporting both is good practice for transparency.

Sources

  1. Bai, J., & Ng, S. (2004). A PANIC attack on unit roots and cointegration. Econometrica, 72(4), 1127–1177. DOI: 10.1111/j.1468-0262.2004.00528.x ↗

How to cite this page

ScholarGate. (2026, June 2). PANIC: Panel Analysis of Non-stationarity in Idiosyncratic and Common Components. ScholarGate. https://scholargate.app/en/econometrics/panic-test

Related methods

CADF TestCIPS TestDynamic Factor Model

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • CADF TestEconometrics↔ compare
  • CIPS TestEconometrics↔ compare
  • Dynamic Factor ModelEconometrics↔ compare
Compare side by side →

Referenced by

CIPS Test

Similar methods

CIPS TestPanel ADF Unit Root TestCADF TestPanel PP unit root testLevin-Lin-Chu TestIm-Pesaran-Shin TestStructural Break Panel Data AnalysisPanel Engle-Granger Cointegration

Related reference concepts

Multiple or Simultaneous Equation Models • Multiple VariablesEconometricsMathematical and Quantitative MethodsFinancial EconometricsMultivariate Analysis of VarianceSingle Equation Models • Single Variables

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — PANIC (PANIC: Panel Analysis of Non-stationarity in Idiosyncratic and Common Components). Retrieved 2026-07-21 from https://scholargate.app/en/econometrics/panic-test · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Jushan Bai & Serena Ng
Year
2004
Type
Panel unit root test
Subfamily
Panel unit-root tests (2nd gen)
CrossSectionDependence
Explicitly modelled via common factors
Decomposition
Common factors + idiosyncratic components
Related methods
CADF TestCIPS TestDynamic Factor Model
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account