Learn R Programming

⚠️There's a newer version (3.17-44) of this package.Take me there.

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

4,432

Version

3.16-18

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Alexander Robitzsch

Last Published

January 6th, 2023

Functions in miceadds (3.16-18)

datlist2mids

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

Example Datasets for miceadds Package
data.allison

Datasets from Allison's Missing Data Book
datlist2Amelia

Converting an Object of class amelia
data.enders

Datasets from Enders' Missing Data Book
data.graham

Datasets from Grahams Missing Data Book
cxxfunction.copy

R Utilities: Copy of an Rcpp File
data.internet

Dataset Internet
data.largescale

Large-scale Dataset for Testing Purposes (Many Cases, Few Variables)
data.smallscale

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

R Utilities: Vector Based Versions of grep
fleishman_sim

Simulating Univariate Data from Fleishman Power Normal Transformations
kernelpls.fit2

Kernel PLS Regression
in_CI

Indicator Function for Analyzing Coverage
filename_split

Some Functionality for Strings and File Names
draw.pv.ctt

Plausible Value Imputation Using a Known Measurement Error Variance (Based on Classical Test Theory)
files_move

Moves Files from One Directory to Another Directory
jomo2datlist

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

R Utilities: Include an Index to a Data Frame
datlist_create

Creates Objects of Class datlist or nested.datlist
load.Rdata

R Utilities: Loading Rdata Files in a Convenient Way
load.data

R Utilities: Loading/Reading Data Files using miceadds
ma.scale2

Standardization of a Matrix
ma.wtd.statNA

Some Multivariate Descriptive Statistics for Weighted Data in miceadds
ma_lme4_formula

Utility Functions for Working with lme4 Formula Objects
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
mi.anova

Analysis of Variance for Multiply Imputed Data Sets (Using the \(D_2\) Statistic)
ma_rmvnorm

Simulating Normally Distributed Data
lmer_vcov

Statistical Inference for Fixed and Random Structure for Fitted Models in lme4
mice.impute.2l.contextual.pmm

Imputation by Predictive Mean Matching or Normal Linear Regression with Contextual Variables
mice.impute.2lonly.function

Imputation at Level 2 (in miceadds)
mice.impute.bygroup

Groupwise Imputation Function
mice.impute.constant

Imputation Using a Fixed Vector
mice.impute.catpmm

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

Imputation of a Variable Using Probabilistic Hot Deck Imputation
mice.impute.imputeR.lmFun

Wrapper Function to Imputation Methods in the imputeR Package
mi_dstat

Cohen's d Effect Size for Missingness Indicators
mice.impute.2l.latentgroupmean.ml

Imputation of Latent and Manifest Group Means for Multilevel Data
mice.1chain

Multiple Imputation by Chained Equations using One Chain
mice.impute.weighted.pmm

Imputation by Weighted Predictive Mean Matching or Weighted Normal Linear Regression
mice.impute.simputation

Wrapper Function to Imputation Methods in the simputation Package
mice.impute.rlm

Imputation of a Linear Model by Bayesian Bootstrap
mice.impute.pmm3

Imputation by Predictive Mean Matching (in miceadds)
mice.impute.tricube.pmm

Imputation by Tricube Predictive Mean Matching
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
mice.impute.pls

Imputation using Partial Least Squares for Dimension Reduction
mice.impute.smcfcs

Substantive Model Compatible Multiple Imputation (Single Level)
mice.impute.ml.lmer

Multilevel Imputation Using lme4
miceadds-utilities

Utility Functions in miceadds
micombine.cor

Inference for Correlations and Covariances for Multiply Imputed Datasets
miceadds-package

tools:::Rd_package_title("miceadds")
mice_imputation_2l_lmer

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

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

Arguments for mice::mice Function
micombine.F

Combination of F Statistics for Multiply Imputed Datasets Using a Chi Square Approximation
miceadds-defunct

Defunct miceadds Functions
mice.nmi

Nested Multiple Imputation
micombine.chisquare

Combination of Chi Square Statistics of Multiply Imputed Datasets
save.Rdata

R Utilities: Save a Data Frame in Rdata Format
ml_mcmc

MCMC Estimation for Mixed Effects Model
output.format1

R Utilities: Formatting R Output on the R Console
mids2mlwin

Export mids object to MLwiN
pool_mi

Statistical Inference for Multiply Imputed Datasets
nestedList2List

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

Pooling for Nested Multiple Imputation
round2

R Utilities: Rounding DIN 1333 (Kaufmaennisches Runden)
nnig_sim

Simulation of Multivariate Linearly Related Non-Normal Variables
pca.covridge

Principal Component Analysis with Ridge Regularization
subset_datlist

Subsetting Multiply Imputed Datasets and Nested Multiply Imputed Datasets
sumpreserving.rounding

Sum Preserving Rounding
scan.vec

R Utilities: Scan a Character Vector
scale_datlist

Adding a Standardized Variable to a List of Multiply Imputed Datasets or a Single Datasets
stats0

Descriptive Statistics for a Vector or a Data Frame
source.all

R Utilities: Source all R or Rcpp Files within a Directory
save.data

R Utilities: Saving/Writing Data Files using miceadds
syn.constant

Synthesizing Method for Fixed Values by Design in synthpop
str_C.expand.grid

R Utilities: String Paste Combined with expand.grid
syn.formula

Synthesizing Method for synthpop Using a Formula Interface
tw.imputation

Two-Way Imputation
write.mice.imputation

Export Multiply Imputed Datasets from a mids Object
write.fwf2

Reading and Writing Files in Fixed Width Format
visitSequence.determine

Automatic Determination of a Visit Sequence in mice
syn.mice

Using a mice Imputation Method in the synthpop Package
syn_da

Generation of Synthetic Data Utilizing Data Augmentation
syn_mice

Constructs Synthetic Dataset with mice Imputation Methods
systime

R Utilities: Various Strings Representing System Time
write.datlist

Write a List of Multiply Imputed Datasets
with.miceadds

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

Writing a Data Frame into SPSS Format Using PSPP Software
GroupMean

Calculation of Groupwise Descriptive Statistics for Matrices
NMIwaldtest

Wald Test for Nested Multiply Imputed Datasets
Rsessinfo

R Utilities: R Session Information
VariableNames2String

Stringing Variable Names with Line Breaks
NestedImputationList

Functions for Analysis of Nested Multiply Imputed Datasets
Reval

R Utilities: Evaluates a String as an Expression in R
complete.miceadds

Creates Imputed Dataset from a mids.nmi or mids.1chain Object
crlrem

R Utilities: Removing CF Line Endings
Rfunction_include_argument_values

Utility Functions for Writing R Functions
Rhat.mice

Rhat Convergence Statistic of a mice Imputation