Description Usage Arguments Value See Also
View source: R/functions_impute.R
After iteratively predicting the missing values, a mean estimate per observation is calculated by taking the average of the predictions for each simulation at a given iteration. Note that for known values, the mean estimate is simply the actual value associated with that observation (from which the simulated values are derived).
1 | computeMeanPredictions(model.results, iteration, ors.data.sims)
|
model.results |
Results of iterative modeling (output of |
iteration |
Iteration at which to compute mean estimates; usually, this will be the convergence iteration of model.results |
ors.data.sims |
Original data augmented with relevant predictors, i.e.
all records, including both known and missing estimates, as well as simulated
data (output of |
Data frame containing all predictors for each observation, along with simulated values for known estimates, predicted values from each simulation at the specified iteration for missing estimates, and a mean value calculated across all simulations (for known estimates, this is simply the actual value)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.