Printing results of model selection and model averaging after multiple imputation

Share:

Description

Prints estimates, standard errors and confidence intervals for model selection/averaging estimators after multiple imputation and reports variable importance if applicable.

Usage

1
2
## S3 method for class 'mami'
print(x, string = "x", ...)

Arguments

x

An object of class "mami".

string

A string specifying what is printed in the summary table for non-selected variables.

...

Further arguments to be passed.

Author(s)

Michael Schomaker

See Also

mami for model selection and model averaging after multiple imputation.

Examples

1
2
3
4
5
6
7
8
library(Amelia)
data(freetrade)
freetrade$pop <- log(freetrade$pop) # in line with original publication
freetrade_imp <- amelia(freetrade, p2s=0, ts = "year", cs = "country", noms="signed",
                        polytime = 2, intercs = TRUE, empri = 2)
m1 <- mami(freetrade_imp, method="criterion.average", ycol="tariff",add.factor=c("country"))
print(m1)
m1