Cross-Sectional Dependence Test (Pesaran CD)
The Pesaran CD test checks panel data for cross-sectional dependence by averaging the pairwise correlations of unit residuals, scaled so the statistic is standard normal under independence.
Pesaran CD 검정은 개체별 잔차의 쌍별 상관을 평균해 독립 가정 아래 표준정규분포를 따르도록 척도화함으로써 패널 자료의 횡단면 의존성을 점검하는 검정입니다.
Are the residuals of my country panel correlated across countries, for example because of common shocks?
국가 패널 잔차가 공통 충격 때문에 국가 간에 서로 상관되어 있나요?
The Pesaran CD test computes the correlation between every pair of units' residuals over their common time points and sums them with weights based on the number of shared periods, giving a statistic that is approximately standard normal when units are independent. A significant CD means that standard panel standard errors are unreliable and estimators robust to cross-sectional dependence should be considered.
When to use Cross-Sectional Dependence Test (Pesaran CD)
- You have a long-format panel with many units and a moderate number of time points
- You suspect common shocks or spillovers link the units
- You must choose between ordinary panel standard errors and Driscoll-Kraay or CCE approaches
When to use something else
- You only have one time series: use Autocorrelation Analysis (ACF, PACF, Ljung-Box)
- You want to test dependence between two variables rather than across units: use Cross Correlation Analysis (CCF)
Assumptions and requirements
- Residuals come from unit-by-unit OLS on the given features, or the raw series if none are given
- Each unit pair shares at least three time points
- The LM tests assume N is small relative to T; the CD test works for large N
What the analysis reports
- Pesaran CD statistic and p-value
- Breusch-Pagan LM and scaled LM (bias-corrected for balanced panels)
- Mean pairwise correlation and mean absolute correlation
How to report it
Pesaran's CD test across [N] units indicated cross-sectional dependence, CD = [value], p = [value] (mean |ρ| = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Cross-Sectional Dependence Test (Pesaran CD) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a unit (entity) ID and a time variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.