Package: twoPhaseSens 0.1.0
twoPhaseSens: Sensitivity Analysis for Covariates Observed in Two-Phase Samples
Provides a structured method-comparison sensitivity-analysis workflow for linear regression when important continuous adjustment covariates are observed only in a Phase-2 subsample. Implements naive analysis, complete-case analysis, fully conditional specification multiple imputation, joint-model multiple imputation, inverse probability weighting, and augmented inverse probability weighting, with standardized tables, diagnostics, and publication-style forest plots. Methodological background is provided by Little and Rubin (2019) <doi:10.1002/9781119482260> for general missing-data methods, White and Carlin (2010) <doi:10.1002/sim.3944> for complete-case analysis with missing covariates, White, Royston and Wood (2011) <doi:10.1002/sim.4067> and van Buuren and Groothuis-Oudshoorn (2011) <doi:10.18637/jss.v045.i03> for chained-equations multiple imputation, Quartagno, Grund and Carpenter (2019) <doi:10.32614/RJ-2019-028> for joint-model multiple imputation, Robins, Rotnitzky and Zhao (1994) <doi:10.1080/01621459.1994.10476818> for inverse-probability weighting with missing regressors, and Bang and Robins (2005) <doi:10.1111/j.1541-0420.2005.00377.x> for doubly robust estimation.
Authors:
twoPhaseSens_0.1.0.tar.gz
twoPhaseSens_0.1.0.zip(r-4.7-any)twoPhaseSens_0.1.0.zip(r-4.6-any)
twoPhaseSens_0.1.0.tar.gz(r-4.7-any)twoPhaseSens_0.1.0.tar.gz(r-4.6-any)
twoPhaseSens_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
twoPhaseSens/json (API)
| # Install 'twoPhaseSens' in R: |
| install.packages('twoPhaseSens', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rophenceojiambo/twophasesens/issues
Pkgdown/docs site:https://rophenceojiambo.github.io
Last updated from:ac3f393049. Checks:1 FAILURE, 5 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | FAILURE | 131 | ||
| source / vignettes | OK | 207 | ||
| linux-release | OK | 144 | ||
| windows-devel | OK | 75 | ||
| windows-release | OK | 81 | ||
| wasm-release | OK | 128 |
Exports:diagnosticsplot_sensitivitytbl_sensitivitytwophase_example_datatwophase_sensitivity
Dependencies:backportsbase64encbigDbitbit64bitopsbootbroombslibcachemcardscardxclicliprcodetoolscommonmarkcpp11crayoncurldigestdplyrevaluatefarverfastmapfontawesomeforcatsforeachfsgenericsggplot2glmnetgluegtgtablegtsummaryhavenhighrhmshtmltoolshtmlwidgetsisobanditeratorsjomojquerylibjsonlitejuicyjuiceknitrlabelinglatticelifecyclelitedownlme4magrittrmarkdownMASSMatrixmemoisemicemimeminqamitmlnlmenloptrnnetnumDerivordinalpanpillarpkgconfigprettyunitsprogresspurrrR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreactablereactRreadrreformulasrlangrmarkdownrpartS7sassscalesshapestringistringrsurvivaltibbletidyrtidyselecttinytextzdbucminfutf8V8vctrsviridisLitevroomwithrxfunxml2yaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract diagnostics from a twoPhaseSens analysis | diagnostics diagnostics.twophase_sensitivity |
| Plot sensitivity-analysis estimates and confidence intervals | plot.twophase_sensitivity plot_sensitivity |
| Create a publication-ready sensitivity-analysis table | tbl_sensitivity |
| Generate a synthetic two-phase example dataset | twophase_example_data |
| Compare methods for Phase-2 covariates missing by design | twophase_sensitivity |
