Hello,
The syntax of Amelia has changed in recent versions. You can run your
code like so:
output<-amelia(x=x, empri=10,ords=c(3,4))
z.out <- zelig(***, data = output$imputations)
where you would replace *** with your model and settings.
If you call AmeliaView() from an R session, you can use the output
option "Hold in R memory". Afterward, you can click on "File" then
"Exit Amelia." Once you are back at the R prompt, you should be able
to find your Amelia output. By default it is named "outdata." In order
to use Zelig:
z.out <- zelig(***, data = outdata$imputations)
I hope this helps. Let us know if you have any more problems.
Thanks for using Amelia!
matt.
On Sun, May 3, 2009 at 11:23 AM, Hylar <blitskasvonarta(a)gmail.com> wrote:
I am trying to understand how zelig can peak up the
imputation files
generated by amelia . There isn't any example on the ppt course.
I used output<-amelia(data=x, empri=10,ords=c(3,4)) and I received an error
message "Error in amelia(data = x) : argument "x" is missing, with no
default"
Then I used the AmeliaView () I saved the 5 files on the desktop but I do
not know how to pick them up with the zelig.
I will appreciate a simple example - first with "output<-amelia(data=x,
empri=10,ords=c(3,4))" and second with "AmeliaView()"
Thank you again,
Tom Spentzas, MD MD
Ass Professor Univ of Tennessee.
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive:
http://lists.gking.harvard.edu/?info=amelia
More info about Amelia:
http://gking.harvard.edu/amelia