Crandore Hub

Rcope

Tools to Cope with Endogeneity Problems

Researchers across disciplines often face biased regression model estimates due to endogenous regressors correlated with the error term. Traditional solutions require instrumental variables (IVs), which are often difficult to find and validate. This package provides flexible, alternative IV-free methods using copulas, as described in the practical guide to endogeneity correction using copulas (Yi Qian, Tony Koschmann, and Hui Xie 2025) <doi:10.1177/00222429251410844>. The current version implements the two-stage copula endogeneity correction (2sCOPE) method to fit models with continuous endogenous regressors and both continuous and discrete exogenous regressors, as described in Fan Yang, Yi Qian, and Hui Xie (2024) <doi:10.1177/00222437241296453>. Using this method, users can address regressor endogeneity problems in nonexperimental data without requiring IVs.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 Rcope_1.0.0.tar.gz 61.8 KiB
1.0.0 rolling linux/noble R-4.5 Rcope_1.0.0.tar.gz 61.5 KiB
1.0.0 rolling source/ R- Rcope_1.0.0.tar.gz 31.1 KiB
1.0.0 latest linux/jammy R-4.5 Rcope_1.0.0.tar.gz 61.8 KiB
1.0.0 latest linux/noble R-4.5 Rcope_1.0.0.tar.gz 61.5 KiB
1.0.0 latest source/ R- Rcope_1.0.0.tar.gz 31.1 KiB
1.0.0 2026-04-26 source/ R- Rcope_1.0.0.tar.gz 31.1 KiB
1.0.0 2026-04-23 source/ R- Rcope_1.0.0.tar.gz 31.1 KiB
1.0.0 2026-04-09 windows/windows R-4.5 Rcope_1.0.0.zip 64.7 KiB

Dependencies (latest)

Imports

Suggests