ameliabind: Combine multiple runs of Amelia

View source: R/emb.r

ameliabindR Documentation

Combine multiple runs of Amelia

Description

Combines multiple runs of amelia with the same arguments and data into one amelia object.

Usage

ameliabind(...)

Arguments

...

one or more objects of class amelia with the same arguments and created from the same data.

Details

ameliabind will combine multiple runs of amelia into one object so that you can utilize diagnostics and modelling on all the imputations together. This function is useful for combining multiple runs of amelia run on parallel machines.

Note that ameliabind only checks that they arguments and the missingness matrix are identical. Thus, it could be fooled by two datasets that are identical up to a transformation of one variable.

Value

An object of class amelia.

See Also

amelia

Examples

data(africa)
a1.out <- amelia(x = africa, cs = "country", ts = "year", logs = "gdp_pc")
a2.out <- amelia(x = africa, cs = "country", ts = "year", logs = "gdp_pc")
all.out <- ameliabind(a1.out, a2.out)
summary(all.out)
plot(all.out)


Amelia documentation built on May 29, 2024, 2:17 a.m.