View source: R/Rubin_combine.R
Rubin.combine | R Documentation |
This function combines estimates of multiple imputations.
Rubin.combine(est, se)
est |
vector of estimates |
se |
vector of standard errors |
The output of the Rubin.combine function is a "list" with the following components.
est
Combined estimate
se
Combined standard error
library(HTEPredictionMetrics)
set.seed(1)
m <- 5 # number of imputations
est <- runif(m)
se <- runif(m)
Rubin.combine(est, se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.