IQSS / Amelia

Amelia: A Package for Missing Data

Home Page:http://gking.harvard.edu/amelia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amelia - Output-Parameter missing "names" in dataset-structure on m>1

LutzDE opened this issue · comments

After using Amelia the output structure includes a lot of informations.

The covMatrices and mu output-matrix include the corresponding fieldnames, only if the m parameter is set to one.
If you want to use these informations in the case of multiple imputations (m>1), it's necessary to call the function two times
(m=1 and m>1).

That's irritating.

Example:

names(amelia(x=africa,m=1,cs="country")$covMatrices[1,,])

names(amelia(x=africa,m=2,cs="country")$covMatrices[1,,])