Reference Based Multiple Imputation
Overview
Implements standard and reference based multiple imputation methods for continuous longitudinal endpoints (Gower-Page et al. (2022) doi:10.21105/joss.04251). In particular, this package supports deterministic conditional mean imputation and jackknifing as described in Wolbers et al. (2022) doi:10.1002/pst.2234, Bayesian multiple imputation as described in Carpenter et al. (2013) doi:10.1080/10543406.2013.834911, and bootstrapped maximum likelihood imputation as described in von Hippel and Bartlett (2021) doi:10.1214/20-STS793.
New Features
pool()gains arubin_df_methodargument. The default"barnard-rubin"uses the Barnard-Rubin small-sample degrees-of-freedom adjustment, while"rubin"uses the original approximation from Rubin (1987). (#587)ancova()now supports the analysis of two or more treatment groups. For more than two groups theref/altnaming scheme is extended withalt2,alt3, etc. based on the factor levels ofvars$group; the two-group output is unchanged (trt,lsm_ref,lsm_alt) for backwards compatibility.set_vars()gained agroup_contrastsargument allowing users to specify a bespoke set of treatment-group contrasts forancova(). By default a contrast of each non-reference group versus the reference group is estimated. Custom contrasts must be named (the name becomes the outputparametername) and may be given as pairwisec(minuend, subtrahend)character vectors or as general named numeric weight vectors over the group levels (e.g.c(Placebo = -1, A = 0.5, B = 0.5)for a pooled comparison); contrasts are evaluated in a contrast-coding-agnostic way. Thedata.frameproduced byas.data.frame()/pool()now includes explicitestimate_type,group,group_level_1,group_level_2,contrast_labelandvisitcolumns when the analysis was performed withancova(). The existingparametercolumn is retained for backwards compatibility. (#520)
Show all changes in 1.7.0Hide the rest of the changes in 1.7.0
Bug Fixes
ancova()now rejects interactions involving the treatment group invars$covariates, avoiding treatment contrasts that depend on the reference values of interacting covariates. (#595)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-25
- NOTE10 OK, 3 NOTE2026-07-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 161 (32 internal)includes a package overview page
- Examples that run
- 36%10 run in a plain check · 18 never run
- Exported functions with examples
- 68%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 7%
- rbmi: Advanced Functionality HTML
- rbmi: Advanced Functionality
- rbmi: Frequently Asked Questions
- rbmi: Implementation of retrieved-dropout models using rbmi HTML
- rbmi: Implementation of retrieved-dropout models using rbmi
- rbmi: Inference with Conditional Mean Imputation HTML
- rbmi: Inference with Conditional Mean Imputation
- rbmi: Quickstart HTML
- rbmi: Quickstart
- rbmi: Statistical Specifications HTML
Show 1 moreHide 1 vignette
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
13 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/openpharma/rbmi on 2026-10-11.
GitHub Pages site last deployed 2026-09-21
pkgdown site last built 2026-07-23, before release 1.7.0 (2026-10-15)
Show all practicesHide 4 practices
Dependencies
Installing rbmi adds 43 packages (23 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.
Code & Tests
Datasets
People & History
Previously maintained by Craig Gower-Page (1.5.1 to 1.5.2) and Isaac Gravestock (1.4.1).
Pick two releases to compare their code metrics.
- 1.7.0Latest
- 1.6.12026-07-22 · diff ↗
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2026-01-23
- 1.6.02026-01-23 · diff ↗
- archivedRemoved from CRAN2025-11-19issues were not corrected in time Still does not clean up in ~/.cache
- 1.5.22025-10-28 · diff ↗
- 1.5.1
- RR 4.5.0 released · 2025-04-11
- 1.4.12025-03-03 · diff ↗
- 1.4.0
- 1.3.12024-12-11 · diff ↗
- 1.3.0
- RR 4.4.0 released · 2024-04-24
- 1.2.62023-11-24 · diff ↗
- 1.2.52023-09-21 · diff ↗
Show 11 earlier eventsHide 11 earlier events
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-11-14
- 1.2.32022-11-14 · diff ↗
- archivedRemoved from CRAN2022-11-09issues were not corrected in time
- 1.2.12022-10-25 · diff ↗
- 1.1.42022-05-18 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.1.32022-03-21 · diff ↗
- 1.1.12022-03-08 · diff ↗
- 1.1.02022-03-03
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-03
- Total releases
- 17 / 4 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 3.4.0
- Bundled data
- 3.9 KB / 1 file
- Download size
- 438 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rbmi")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.