Package: RefBasedMI 0.2.0

Matteo Quartagno

RefBasedMI: Reference-Based Imputation for Longitudinal Clinical Trials with Protocol Deviation

Imputation of missing numerical outcomes for a longitudinal trial with protocol deviations. The package uses distinct treatment arm-based assumptions for the unobserved data, following the general algorithm of Carpenter, Roger, and Kenward (2013) <doi:10.1080/10543406.2013.834911>, and the causal model of White, Royes and Best (2020) <doi:10.1080/10543406.2019.1684308>. Sensitivity analyses to departures from these assumptions can be done by the Delta method of Roger. The program uses the same algorithm as the 'mimix' 'Stata' package written by Suzie Cro, with additional coding for the causal model and delta method. The reference-based methods are jump to reference (J2R), copy increments in reference (CIR), copy reference (CR), and the causal model, all of which must specify the reference treatment arm. Other methods are missing at random (MAR) and the last mean carried forward (LMCF). Individual-specific imputation methods (and their reference groups) can be specified.

Authors:Kevin McGrath [aut], Matteo Quartagno [cre]

RefBasedMI_0.2.0.tar.gz
RefBasedMI_0.2.0.tar.gz(r-4.5-noble)RefBasedMI_0.2.0.tar.gz(r-4.4-noble)
RefBasedMI.pdf |RefBasedMI.html
RefBasedMI/json (API)

# Install 'RefBasedMI' in R:
install.packages('RefBasedMI', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ucl/refbasedmi/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:

fortran

1.00 score 223 downloads 1 exports 105 dependencies

Last updated 3 months agofrom:bcee397a45. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 09 2024
R-4.5-linux-x86_64OKDec 09 2024

Exports:RefBasedMI

Dependencies:assertthatbackportsbase64encbitbit64bootbroombslibcachemcheckmateclicliprclustercodetoolscolorspacecpp11crayondata.tabledigestdplyrevaluatefansifarverfastmapfontawesomeforcatsforeachforeignFormulafsgenericsggplot2glmnetgluegridExtragtablehavenhighrHmischmshtmlTablehtmltoolshtmlwidgetsisobanditeratorsjomojquerylibjsonliteknitrlabelinglatticelifecyclelme4magrittrMASSMatrixmemoisemgcvmicemimeminqamitmlmunsellnlmenloptrnnetnumDerivordinalpanpastecspillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppRcppEigenreadrrlangrmarkdownrpartrstudioapisassscalesshapestringistringrsurvivaltibbletidyrtidyselecttinytextzdbucminfutf8vctrsviridisviridisLitevroomwithrxfunyaml