Skip to content

RefBasedMI

0.2.0Package record

Reference-Based Imputation for Longitudinal Clinical Trials with Protocol Deviation

0packages depend
3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
4
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3K
CRAN downloads in the past year
Rank #19,472 · ~8/day · ~248/mo
Daily download trend is not available in this view yet.
25530 days
67690 days
3K1 year
Compare downloads with other packages →
Also on340 r2u1 autocran

Repository

ucl/refbasedmi ↗Organization: UCL
5Stars
4Forks
3Open issues
0Open PRs
1Releases
590Commits
5Commit identities
License file reads as GPL-3.0 · 590 commits · Last activity 2024-09-04 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
87%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-21 · 42026-07-07 · 5
PracticesBeta

Checks run against github.com/ucl/refbasedmi on 2026-10-21.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing RefBasedMI adds 94 packages (50 with compiled code, 77 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Maintainer · added in 0.2.0

Maintainer since 0.1.0 (2023)

Listed in earlier versions (1)
no longer listed · 0.1.1
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2024-09-09
  • 0.2.0Latest
    record
    2024-09-09 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • archivedRemoved from CRAN
    2023-08-25
    requires archived package 'norm2'
  • 0.1.1
    record
    2023-08-21 · diff ↗
  • 0.1.0
    record
    2023-04-27
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-04-27
Total releases
3 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
14 KB / 3 files
Download size
495 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RefBasedMI")
Quartagno, M., & McGrath, K. (2024). RefBasedMI: Reference-Based Imputation for Longitudinal Clinical Trials with Protocol Deviation (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.RefBasedMI

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RefBasedMI version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy