Learn R Programming

paneltests (version 1.0.5)

Panel Data Pre-Testing and Diagnostic Suite

Description

Pre-testing and diagnostic tools for panel data analysis. Researchers should run these tests before any panel regression to verify modelling assumptions. The package implements: (1) the Hsiao (2014, ) homogeneity F-tests (F1/F2/F3), Swamy (1970) parameter heterogeneity test, and Pesaran (2004) cross-sectional dependence test via xtpretest(); (2) missing-data detection, mechanism testing, and imputation for unbalanced panels via xtmispanel(); (3) quantile-regression cross-sectional dependence tests (T_tau and T-tilde_tau statistics) of Demetrescu, Hosseinkouchack and Rodrigues (2023) via xtcsdq(); and (4) the panel quantile-regression slope homogeneity S-hat and D-hat statistics of Galvao, Juhl, Montes-Rojas and Olmo (2017) via xtqsh(). Together these tests address three fundamental pre-testing questions: (i) are slopes homogeneous? (ii) is there cross-sectional dependence? and (iii) is the panel balanced and is missingness ignorable?

Copy Link

Version

Install

install.packages('paneltests')

Version

1.0.5

License

GPL-3

Maintainer

Muhammad Alkhalaf

Last Published

May 4th, 2026

Functions in paneltests (1.0.5)

summary.xtqsh

Summary Method for xtqsh Objects
qsh_sample

Sample Panel Dataset for Quantile Slope Homogeneity Testing
xtpretest

Comprehensive Panel Data Pre-Testing Suite
summary.xtcsdq

Summary method for xtcsdq objects
xtmispanel

Missing Data Detection and Imputation for Panel Data
print.xtcsdq

Print method for xtcsdq objects
xtcsdq

Tests of No Cross-Sectional Dependence in Panel Quantile Regressions
xtqsh

Quantile Regression Slope Homogeneity Test for Panel Data
print.xtqsh

Print Method for xtqsh Objects