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.zip(r-4.5)RefBasedMI_0.2.0.zip(r-4.4)RefBasedMI_0.2.0.zip(r-4.3)
RefBasedMI_0.2.0.tgz(r-4.4-x86_64)RefBasedMI_0.2.0.tgz(r-4.4-arm64)RefBasedMI_0.2.0.tgz(r-4.3-x86_64)RefBasedMI_0.2.0.tgz(r-4.3-arm64)
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://ucl.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:

On CRAN:

fortran

4.13 score 3 stars 3 scripts 246 downloads 1 exports 105 dependencies

Last updated 5 months agofrom:316380971c. Checks:1 OK, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 08 2025
R-4.5-win-x86_64WARNINGJan 08 2025
R-4.5-linux-x86_64WARNINGJan 08 2025
R-4.4-win-x86_64WARNINGJan 08 2025
R-4.4-mac-x86_64WARNINGJan 08 2025
R-4.4-mac-aarch64WARNINGJan 08 2025
R-4.3-win-x86_64WARNINGJan 08 2025
R-4.3-mac-x86_64WARNINGJan 08 2025
R-4.3-mac-aarch64WARNINGJan 08 2025

Exports:RefBasedMI

Dependencies:assertthatbackportsbase64encbitbit64bootbroombslibcachemcheckmateclicliprclustercodetoolscolorspacecpp11crayondata.tabledigestdplyrevaluatefansifarverfastmapfontawesomeforcatsforeachforeignFormulafsgenericsggplot2glmnetgluegridExtragtablehavenhighrHmischmshtmlTablehtmltoolshtmlwidgetsisobanditeratorsjomojquerylibjsonliteknitrlabelinglatticelifecyclelme4magrittrMASSMatrixmemoisemgcvmicemimeminqamitmlmunsellnlmenloptrnnetnumDerivordinalpanpastecspillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppRcppEigenreadrrlangrmarkdownrpartrstudioapisassscalesshapestringistringrsurvivaltibbletidyrtidyselecttinytextzdbucminfutf8vctrsviridisviridisLitevroomwithrxfunyaml