Hi,
In my study, I want to use the imputed database to perform a generalized method of
moments, and I want to know does combining the datasets is a better option since you get
more information, or we can simply retain one of the database imputed as Zelig function,
which, in my opinion allows a simple linear regression. Thank you so muchfor your kind
help Mouna kessentiniPh, D StudentUniversity of Tunisia& University Paris 8
Le Samedi 3 janvier 2015 18h00, "amelia-request(a)lists.gking.harvard.edu"
<amelia-request(a)lists.gking.harvard.edu> a écrit :
Send Amelia mailing list submissions to
amelia(a)lists.gking.harvard.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gking.harvard.edu/mailman/listinfo/amelia
or, via email, send a message with subject or body 'help' to
amelia-request(a)lists.gking.harvard.edu
You can reach the person managing the list at
amelia-owner(a)lists.gking.harvard.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Amelia digest..."
Today's Topics:
1. question about combining datasets (Heidy Col?n-Lugo)
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Jan 2015 12:04:43 -0600
From: Heidy Col?n-Lugo <heidycolon(a)gmail.com>
To: amelia(a)lists.gking.harvard.edu
Subject: [amelia] question about combining datasets
Message-ID:
<CAM7znKO1LMbHtZ1YKiHzzEvbnZbtTJ+Fv9C26Tz-h0dYwzDRWA(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I am having a hard time finding an example on how to combine the
imputed datasets from Amelia in Zelig. As a result, I'm using the 10th
imputed dataset as the one that I use to run my regression models (see
below). Is this ok? Or is combining the datasets a better option since you
get more information? And if so, what is the code to combine the datasets?
outa<-amelia(psub, m=10, noms=noms, ords=ords, idvars=idvars)
write.amelia(obj=outa, file.stem="outdata", extension=NULL,
format="csv")
outdata10<-read.table("S:/.../Imp outdata/outdata10", header=T,
sep=",",
na.strings="NA", dec=".", strip.white=T)
I appreciate all of the help I can get.
Respectfully,
Heidy Colon-Lugo
PhD Candidate