ameliabind: Combine multiple runs of Amelia

Description Usage Arguments Details Value See Also Examples

View source: R/emb.r

Description

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

Usage

1

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

1
2
3
4
5
6
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 27, 2021, 1:06 a.m.