impStand | R Documentation |
Optional *post hoc* adjustment of sets of multiple imputations for a set of missing indicator observations.
impStand(x = NULL, imputations = NULL)
x |
list of class |
imputations |
list of class |
In some instances, especially when working with very unbalanced data, the
imputation model used in imputeData
may not produce neutral
imputations as desired. In such cases, *post hoc* adjustment of imputed
values may be used to avoid that imputations introduce new patterns in the
data set. In this context, neutral values are imputations with an expected
deviation from the (grand) mean equal to the sum of 1) the mean deviation for
observations from the year in question, and 2) the mean deviation from annual
means for observations of the indicator in question.
A list of class niImputations
Bård Pedersen
imputeData
, imputeDiagnostics
,
mice::mice
.
The vignette objectsInNIcalc
gives a detailed description of niImputations
and
niInput
lists.
## Not run:
imputedValues <- imputeData(x = themeData,
nSim = 1000,
transConst = 0.01,
maxit = 20,
printFlag = TRUE)
imputedValues <- impStand(x = themeData,
imputations = imputedValues)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.