Package: Rcope 1.0.0

Anthony Obrzut
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.
Authors:
Rcope_1.0.0.tar.gz
Rcope_1.0.0.tar.gz(r-4.7-any)Rcope_1.0.0.tar.gz(r-4.6-any)
Rcope_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
Rcope/json (API)
| # Install 'Rcope' in R: |
| install.packages('Rcope', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- diapers - Diapers
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:eaaaf7d788. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 135 | ||
| source / vignettes | OK | 212 | ||
| linux-release-x86_64 | OK | 135 | ||
| wasm-release | OK | 118 |
Exports:CCFrelevance_testtscopetscope.fit
Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdoBydplyrfarverforecastFormulafracdiffgenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7scalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| CCF: Copula Control Function | CCF |
| diapers | diapers |
| Print method for CCF | print.ccf |
| Print method for tscope | print.tscope |
| Print method for tscope.fit | print.tscope.fit |
| relevance_test: Test the relevance of the exogenous regressors. | relevance_test |
| tscope: The two-stage copula endogeneity (2sCOPE) control function regression | tscope |
| tscope.fit: Fitter Function for 2sCOPE | tscope.fit |