IQSS / Amelia

Amelia: A Package for Missing Data
http://gking.harvard.edu/amelia
61 stars 17 forks source link

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

Open LutzDE opened 2 years ago

LutzDE commented 2 years ago

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,,])