processMI.fit.mult.impute | R Documentation |
Process Special Multiple Imputation Output From fit.mult.impute
## S3 method for class 'fit.mult.impute'
processMI(
object,
which = c("validate", "calibrate", "anova"),
plotall = TRUE,
nind = 0,
prmi = TRUE,
...
)
object |
a fit object created by |
which |
specifies which component of the extra output should be processed |
plotall |
set to |
nind |
set to a positive integer to use base graphics to plot a matrix of graphs, one each for the first |
prmi |
set to |
... |
ignored |
Processes a funresults
object stored in a fit object created by fit.mult.impute
when its fun
argument was used. These objects are typically named validate
or calibrate
and represent bootstrap or cross-validations run separately for each imputation. See this for a case study.
For which='anova'
assumes that the fun
given to fit.mult.impute
runs anova(fit, test='LR')
to get likelihood ratio tests, and that method='stack'
was specified also so that a final anova
was run on the stacked combination of all completed datasets. The method of Chan and Meng (2022) is used to obtain overall likelihood ratio tests, with each line of the anova
table getting a customized adjustment based on the amount of missing information pertaining to the variables tested in that line. The resulting statistics are chi-square and not $F$ statistics as used by Chan and Meng. This will matter when the estimated denominator degrees of freedom for a variable is small (e.g., less than 50). These d.f. are reported so that user can take appropriate cautions such as increasing n.impute
for aregImpute
.
an object like a validate
, calibrate
, or anova
result obtained when no multiple imputation was done. This object is suitable for print
and plot
methods for these kinds of objects.
Frank Harrell
Hmisc::fit.mult.impute()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.