mi.combine | R Documentation |
Combine results from statistical models run on multiply imputed data sets using the so-called Rubin rules.
mi.combine(x, conf.int = FALSE, conf.level = 0.95)
x |
List of output from statistical models estimated on
different imputed data sets, as outputted by |
conf.int |
Logical indicating if confidence intervals should
be computed for each quantity of interest (default is |
conf.level |
The confidence level to use for the confidence
interval if |
Returns a tibble
that contains:
Name of the coefficient or parameter.
Estimate of the parameter, averagine across imputations.
Standard error of the estimate, accounting for imputation uncertainty.
Value of the t-statistic for the estimated parameter.
p-value associated with the test of a null hypothesis that the true coefficient is zero. Uses the t-distribution with an imputation-adjusted degrees of freedom.
Imputation-adjusted degrees of freedom for each parameter.
Relative increase in variance due to nonresponse.
Estimated fraction of missing information.
Lower bound of the estimated confidence interval.
Only present if conf.int = TRUE
.
Upper bound of the estimated confidence interval.
Only present if conf.int = TRUE
.
Matt Blackwell
data(africa)
a.out <- amelia(x = africa, cs = "country", ts = "year", logs =
"gdp_pc")
imp.mods <- with(a.out, lm(gdp_pc ~ infl + trade))
mi.combine(imp.mods, conf.int = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.