Description Usage Arguments Details Value Warning See Also Examples
Combines individual AIC estimates of separate models to get a sense of overall model fit.
1 |
AIC |
A vector of AICs to combine with length equal to the number of models completed (i.e. K). |
The WQS model fits using different completely observed datasets are combined in Stage 3 of multiple imputation. Similar to combining WQS parameter estimates, the mean of individual AIC estimates is taken as the central tendency estimate of WQS model fit. The standard deviation between individual AIC estimates indicates the difference in WQS model fits due to below the detection limit values.
A vector of AICs may be generated from do.many.wqs
().
The overall fit of a model across all imputation models: the mean AIC +/- the standard error. Saved as a 1x1 character vector.
If AIC is a vector with one element, the AIC is returned as a character rounded to the nearest whole number with a warning printed that AIC cannot be combined.
pool.mi
1 2 3 4 5 6 | # AICs from do.many.wqs() example are as follows.
bayes.AIC <- c(1295.380, 1295.669)
combine.AIC(bayes.AIC)
# One AIC
combine.AIC(1295.380)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.