Package: remiod 1.0.2

Tony Wang

remiod: Reference-Based Multiple Imputation for Ordinal/Binary Response

Reference-based multiple imputation of ordinal and binary responses under Bayesian framework, as described in Wang and Liu (2022) <arxiv:2203.02771>. Methods for missing-not-at-random include Jump-to-Reference (J2R), Copy Reference (CR), and Delta Adjustment which can generate tipping point analysis.

Authors:Ying Liu [aut], Tony Wang [aut, cre]

remiod_1.0.2.tar.gz
remiod_1.0.2.tar.gz(r-4.7-any)remiod_1.0.2.tar.gz(r-4.6-any)
remiod_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
remiod/json (API)
NEWS

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

Bug tracker:https://github.com/xsswang/remiod/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC - binary JAGS is Just Another Gibbs Sampler. It is a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation not wholly unlike BUGS. JAGS was written with three aims in mind: * To have an engine for the BUGS language that runs on Unix * To be extensible, allowing users to write their own functions, distributions and samplers. * To be a plaftorm for experimentation with ideas in Bayesian modelling This package contains the 'jags' binary as well as the associated shared library modules loaded by the binary.
  • c++– GNU Standard C++ Library v3
Datasets:
  • antidep - Wide format of continuous response of antidepressant data.
  • schizo - National Institute of Mental Health shizophrenia study
  • schizob - Wide format of binary response of Schizophrenia data.
  • schizow - Wide format of ordinal response of Schizophrenia data.

On CRAN:

Conda:

jagscpp

3.18 score 3 scripts 206 downloads 7 exports 63 dependencies

Last updated from:153c41fa0d. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK192
source / vignettesOK250
linux-release-x86_64OK209
wasm-releaseOK143

Exports:extract_MIdataget_subsetlist.modelsmcmcplotmiAnalyzeremiodsummary

Dependencies:briocallrclicodacodetoolscpp11crayondata.tabledescdiffobjdigestdoFutureellipseevaluatefarverfftwtoolsforeachfsfuturefuture.applyggplot2globalsgluegtableisobanditeratorsJointAIjsonlitelabelinglatticelifecyclelistenvmagrittrMASSmathjaxrMatrixmcmcsenlmenumDerivordinalparallellypkgbuildpkgloadpraiseprocessxprogressrpsR6RColorBrewerRcppRcppArmadillorjagsrlangrprojrootS7scalessurvivaltestthatucminfvctrsviridisLitewaldowithr

Example: Binary data imputation

Rendered fromExampleBinary.html.asisusingR.rsp::asison May 28 2026.

Last update: 2022-11-18
Started: 2022-11-18

Example: Continuous data imputation through GLM

Rendered fromExampleGauss.html.asisusingR.rsp::asison May 28 2026.

Last update: 2022-11-18
Started: 2022-11-18

Introduction to remiod

Rendered fromintroremiod.html.asisusingR.rsp::asison May 28 2026.

Last update: 2022-11-18
Started: 2022-11-18

Readme and manuals

Help Manual

Help pageTopics
wide format of continuous response of antidepressant data.antidep
Apply Copy-Reference(CR) Method to Update JAGS MCMC outputs under MAR for Cumulative Logistic Modelclm_MI_CR
Apply Delta adjustment to Update JAGS MCMC outputs under MAR for Cumulative Logistic Modelclm_MI_delta
Apply Jump-to-Reference(J2R) Method to Update JAGS MCMC outputs under MAR for Cumulative Logistic Modelclm_MI_J2R
Extract a specified number of multiple imputed datasetsextract_MIdata
Create multiple imputed datasets based on assigned imputation method.get_MI_RB
Prepare imputation-model-related informationget_Mlist
Extract specific parameters from MCMC samplesget_subset
Apply Copy-Reference(CR) Method to Update JAGS MCMC outputs under MAR for Generalized Linear Modelglm_MI_CR
Apply Delta adjustment to Update JAGS MCMC outputs under MAR for Generalized Linear Modelglm_MI_delta
Apply Jump-to-Reference(J2R) Method to Update JAGS MCMC outputs under MAR for Generalized Linear Modelglm_MI_J2R
Listing the sequence of models used for imputationlist.models
Visualizing the posterior sample Creates a set of plots for visually evaluating convergence and mixing of the chains from the MCMC sample of an object of class 'remiod'.mcmcplot
Takes multiply imputed datasets (as generated by the 'extract_MIdata()' function) and runs an analysis function on each of them.miAnalyze
Apply Copy-Reference(CR) Method to Update JAGS MCMC outputs under MAR for probit Modelopm_MI_CR
Apply Delta adjustment to Update JAGS MCMC outputs under MAR for Cumulative Logistic Modelopm_MI_delta
Apply Jump-to-Reference(J2R) Method to Update JAGS MCMC outputs under MAR for Cumulative Logistic Modelopm_MI_J2R
Reference-Based Multiple Imputation for Ordinal/Binary Responseremiod
National Institute of Mental Health shizophrenia studyschizo
wide format of binary response of Schizophrenia data.schizob
wide format of ordinal response of Schizophrenia data.schizow
Summarize the results from an object of class remiodcoef.summary.remiod print.summary.remiod summary summary.remiod
Implement controlled multiple imputation algorithms proposed by Tangtang_MI_RB