Learn R Programming

miceadds

Some Additional Multiple Imputation Functions, Especially for 'mice'

If you use miceadds and have suggestions for improvement or have found bugs, please email me at robitzsch@leibniz-ipn.de. Please always provide a minimal dataset, necessary to demonstrate the problem, a minimal runnable code necessary to reproduce the issue, which can be run on the given dataset, and all necessary information on the used librarys, the R version, and the OS it is run on, perhaps a sessionInfo().

Manual

The manual can be found here https://alexanderrobitzsch.github.io/miceadds/

CRAN version

The official version of miceadds is hosted on CRAN and can be found here. The CRAN version can be installed from within R using:

utils::install.packages("miceadds")

GitHub version

The version hosted here is the development version of miceadds. The GitHub version can be installed from within R using:

devtools::install_github("alexanderrobitzsch/miceadds")

Copy Link

Version

Install

install.packages('miceadds')

Monthly Downloads

5,186

Version

3.17-44

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

January 9th, 2024

Functions in miceadds (3.17-44)

Rfunction_include_argument_values

Utility Functions for Writing R Functions
crlrem

R Utilities: Removing CF Line Endings
GroupMean

Calculation of Groupwise Descriptive Statistics for Matrices
NMIwaldtest

Wald Test for Nested Multiply Imputed Datasets
data.ma

Example Datasets for miceadds Package
data.smallscale

Small-Scale Dataset for Testing Purposes (Moderate Number of Cases, Many Variables)
kernelpls.fit2

Kernel PLS Regression
jomo2datlist

Converts a jomo Data Frame in Long Format into a List of Datasets or an Object of Class mids
cxxfunction.copy

R Utilities: Copy of an Rcpp File
fleishman_sim

Simulating Univariate Data from Fleishman Power Normal Transformations
mice.impute.2l.contextual.pmm

Imputation by Predictive Mean Matching or Normal Linear Regression with Contextual Variables
Rsessinfo

R Utilities: R Session Information
NestedImputationList

Functions for Analysis of Nested Multiply Imputed Datasets
Reval

R Utilities: Evaluates a String as an Expression in R
lm.cluster

Cluster Robust Standard Errors for Linear Models and General Linear Models
library_install

R Utilities: Loading a Package or Installation of a Package if Necessary
mice.impute.hotDeck

Imputation of a Variable Using Probabilistic Hot Deck Imputation
data.allison

Datasets from Allison's Missing Data Book
grep.vec

R Utilities: Vector Based Versions of grep
VariableNames2String

Stringing Variable Names with Line Breaks
files_move

Moves Files from One Directory to Another Directory
draw.pv.ctt

Plausible Value Imputation Using a Known Measurement Error Variance (Based on Classical Test Theory)
mice.impute.2l.latentgroupmean.ml

Imputation of Latent and Manifest Group Means for Multilevel Data
load.data

R Utilities: Loading/Reading Data Files using miceadds
data.graham

Datasets from Grahams Missing Data Book
data.internet

Dataset Internet
filename_split

Some Functionality for Strings and File Names
data.largescale

Large-scale Dataset for Testing Purposes (Many Cases, Few Variables)
ma.scale2

Standardization of a Matrix
micombine.F

Combination of F Statistics for Multiply Imputed Datasets Using a Chi Square Approximation
datlist2Amelia

Converting an Object of class amelia
Rhat.mice

Rhat Convergence Statistic of a mice Imputation
mice.impute.pls

Imputation using Partial Least Squares for Dimension Reduction
mice.impute.tricube.pmm

Imputation by Tricube Predictive Mean Matching
in_CI

Indicator Function for Analyzing Coverage
mice.impute.catpmm

Imputation of a Categorical Variable Using Multivariate Predictive Mean Matching
mice.impute.pmm3

Imputation by Predictive Mean Matching (in miceadds)
index.dataframe

R Utilities: Include an Index to a Data Frame
complete.miceadds

Creates Imputed Dataset from a mids.nmi or mids.1chain Object
mice.impute.weighted.pmm

Imputation by Weighted Predictive Mean Matching or Weighted Normal Linear Regression
mids2mlwin

Export mids object to MLwiN
mice.impute.bygroup

Groupwise Imputation Function
mice.impute.2lonly.function

Imputation at Level 2 (in miceadds)
sumpreserving.rounding

Sum Preserving Rounding
data.enders

Datasets from Enders' Missing Data Book
lmer_vcov

Statistical Inference for Fixed and Random Structure for Fitted Models in lme4
tw.imputation

Two-Way Imputation
load.Rdata

R Utilities: Loading Rdata Files in a Convenient Way
datlist2mids

Converting a List of Multiply Imputed Data Sets into a mids Object
ma.wtd.statNA

Some Multivariate Descriptive Statistics for Weighted Data in miceadds
nestedList2List

Converting a Nested List into a List (and Vice Versa)
pool.mids.nmi

Pooling for Nested Multiple Imputation
mice.impute.smcfcs

Substantive Model Compatible Multiple Imputation (Single Level)
mi.anova

Analysis of Variance for Multiply Imputed Data Sets (Using the \(D_2\) Statistic)
mice.impute.plausible.values

Plausible Value Imputation using Classical Test Theory and Based on Individual Likelihood
mice.impute.synthpop

Using a synthpop Synthesizing Method in the mice Package
micombine.cor

Inference for Correlations and Covariances for Multiply Imputed Datasets
datlist_create

Creates Objects of Class datlist or nested.datlist
mice.impute.constant

Imputation Using a Fixed Vector
micombine.chisquare

Combination of Chi Square Statistics of Multiply Imputed Datasets
ml_mcmc

MCMC Estimation for Mixed Effects Model
scan.vec

R Utilities: Scan a Character Vector
mice.nmi

Nested Multiple Imputation
source.all

R Utilities: Source all R or Rcpp Files within a Directory
syn.constant

Synthesizing Method for Fixed Values by Design in synthpop
ma_rmvnorm

Simulating Normally Distributed Data
mice_imputation_2l_lmer

Imputation of a Continuous or a Binary Variable From a Two-Level Regression Model using lme4 or blme
mi_dstat

Cohen's d Effect Size for Missingness Indicators
mice.1chain

Multiple Imputation by Chained Equations using One Chain
mice.impute.ml.lmer

Multilevel Imputation Using lme4
subset_datlist

Subsetting Multiply Imputed Datasets and Nested Multiply Imputed Datasets
pca.covridge

Principal Component Analysis with Ridge Regularization
ma_lme4_formula

Utility Functions for Working with lme4 Formula Objects
nnig_sim

Simulation of Multivariate Linearly Related Non-Normal Variables
output.format1

R Utilities: Formatting R Output on the R Console
mice_inits

Arguments for mice::mice Function
miceadds-defunct

Defunct miceadds Functions
syn_da

Generation of Synthetic Data Utilizing Data Augmentation
syn.formula

Synthesizing Method for synthpop Using a Formula Interface
miceadds-package

tools:::Rd_package_title("miceadds")
visitSequence.determine

Automatic Determination of a Visit Sequence in mice
write.pspp

Writing a Data Frame into SPSS Format Using PSPP Software
mice.impute.imputeR.lmFun

Wrapper Function to Imputation Methods in the imputeR Package
pool_mi

Statistical Inference for Multiply Imputed Datasets
miceadds-utilities

Utility Functions in miceadds
mice.impute.rlm

Imputation of a Linear Model by Bayesian Bootstrap
syn.mice

Using a mice Imputation Method in the synthpop Package
mice.impute.simputation

Wrapper Function to Imputation Methods in the simputation Package
syn_mice

Constructs Synthetic Dataset with mice Imputation Methods
stats0

Descriptive Statistics for a Vector or a Data Frame
round2

R Utilities: Rounding DIN 1333 (Kaufmaennisches Runden)
systime

R Utilities: Various Strings Representing System Time
str_C.expand.grid

R Utilities: String Paste Combined with expand.grid
mids2datlist

Converting a mids, mids.1chain or mids.nmi Object in a Dataset List
save.Rdata

R Utilities: Save a Data Frame in Rdata Format
write.fwf2

Reading and Writing Files in Fixed Width Format
save.data

R Utilities: Saving/Writing Data Files using miceadds
scale_datlist

Adding a Standardized Variable to a List of Multiply Imputed Datasets or a Single Datasets
with.miceadds

Evaluates an Expression for (Nested) Multiply Imputed Datasets
write.datlist

Write a List of Multiply Imputed Datasets
write.mice.imputation

Export Multiply Imputed Datasets from a mids Object