Hi Wayne,
Amelia recently changed its output to fit better with R. You will now
find the imputed datasets in the following locations:
imputed$imputations[[1]]
imputed$imputations[[2]]
...
imputed$imputations[[m]]
Amelia no longer saves the imputed datasets from the amelia()
function. You can write the datasets to file using the write.amelia()
function:
write.amelia(imputed, file.stem = "outdata")
For further details, take a look at the manual page for write.amelia()
or see the Amelia documentation (section 5.2.1 should have the
relevant information).
I hope that helps,
matt.
On Sun, Jun 28, 2009 at 3:21 PM, Wayne Thornton<thornton(a)fas.harvard.edu> wrote:
RE: Amelia for R produces no imputed output files
[WAT Issue #1]
PROBLEM: After running Amelia to generate 5 imputed files, no imputed data
output files were generated.
BACKGROUND: Here is my command line to run Amelia:
*******************
CONTROL PANEL
*******************
impruns <- 5
tolX <- 0.0001
empriX <- 100
autopriX <- 0.05
resampleX <- 100
***************************
CONTROL PANEL
*******************
imputed <- amelia(DATA8i,
m = impruns , p2s = 2 ,
idvars = c(3,4,5) ,
ts = 1 , cs = 2 , polytime = NULL,
startvals = 0 ,
tolerance = tolX ,
noms
= nomIV8i ,
ords = ordIV8i , incheck = T , collect = F ,
outname = "DATA8imp",
write.out = T , archive = T ,
keep.data = T ,
empri = empriX ,
autopri = autopriX ,
bounds = IVlims, max.resample =
resampleX )
After a run in which Amelia did not generate the expected output files
(…DATA8imp1, DATA8imp2, etc…),
I am able to extract output info from…
imputed[[ ]]
imputed.rData
SUBMITTED BY: Wayne A. Thornton
Harvard Univ.
thornton(a)fas.harvard.edu
781-492-3131
-
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