Package: RefBasedMI
Title: Reference-Based Imputation for Longitudinal Clinical Trials with
        Protocol Deviation
Version: 0.2.0
Authors@R: c(person(given = "Kevin",
                      family = "McGrath",
                      role = "aut",
                      email = "kkevinmcgrath@yahoo.co.uk"),
               person(given = "Matteo",
                      family = "Quartagno",
                      role = "cre",
                      email = "m.quartagno@ucl.ac.uk"))
Description: 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.  
URL: https://github.com/UCL/RefBasedMI
License: GPL-3
Encoding: UTF-8
LazyData: true
Imports: data.table, Hmisc, mice, pastecs, assertthat
Depends: R (>= 3.5.0)
NeedsCompilation: yes
RoxygenNote: 7.2.3
Packaged: 2024-09-04 10:17:04 UTC; rmjlmqu
Author: Kevin McGrath [aut],
  Matteo Quartagno [cre]
Maintainer: Matteo Quartagno <m.quartagno@ucl.ac.uk>
Repository: CRAN
Date/Publication: 2024-09-09 09:10:01 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-25 13:50:25 UTC; unix
Archs: RefBasedMI.so.dSYM
