| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add a cached pesaran_cd result property for panel estimators, backed by idiosyncratic residual correlations and a standard-normal test container, with balanced and unbalanced coverage in the panel and shared hypothesis tests. Implements the diagnostic in Pesaran, M. H. (2021), "General diagnostic tests for cross-sectional dependence in panels", Empirical Economics, 60(1), 13-50. Co-Authored-By: OpenAI Codex <codex@openai.com>
Codecov Report❌ Patch coverage is 95.00000% with 5 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #703 +/- ##
==========================================
- Coverage 99.54% 99.52% -0.03%
==========================================
Files 101 101
Lines 17426 17524 +98
Branches 1430 1435 +5
==========================================
+ Hits 17347 17440 +93
- Misses 29 31 +2
- Partials 50 53 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Motivation
Pesaran's CD test is a widely used panel diagnostic for residual cross-sectional dependence, especially when users want a quick dependence check after fitting pooled, fixed-effects, or random-effects models. linearmodels already exposes panel result diagnostics and residual accessors, so this test fits naturally in the existing results API.
Reference
Validation