Description Usage Arguments Value See Also
View source: R/functions_analysis.R
Our procedure involves creating a set of simulated data based on the original known data. Thus, for each observation we end up with a distribution of predictions, rather than a single point estimate. This allows us to calculate confidence intervals around each prediction. This CI calculation is done only for observations with missing values (i.e., those that were imputed).
1 | computeCIs(blended.results, confidence.level = 0.95)
|
blended.results |
Blended predictions from imputation models, calculated
at convergence iterations and blending proportions computed by
|
confidence.level |
Level at which to calculate confidence intervals; default is 0.95 |
A list of length two, containing a data frame describing distribution of predictions (one prediction per simulation) for each observation that was imputed, and another data frame describing the confidence interval calculated for each of these observations; note that the latter includes a column called "error.flag" that indicates whether there was an error in computing the CI (the detailed errors are printed during execution)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.