Hi,
I've followed the instructions for installing the Windows version of Amelia, but have struggled in the past to learn R and do not want to try again while trying to learn Amelia. Can someone send me to a link for instructions on how to use the Windows version? All I can find are the R instructions.
Best,
Dawn
Dawn A. Morales, PhD
Asst. Professor of Psychology
University of South Carolina, Aiken
http://www.usca.edu/psychology/Morales_files/index.html
desk phone: 803-641-3422
fax: 803-641-3726
Chance favors only the prepared mind." Louis Pasteur
Hello,
I'm trying to plot the observed and imputed values (with confidence
interval) in a time series cross sectional dataset, using tscsPlot. The
problem is that some of the observation in the Amelia output are
missing, and these observations are displayed with NA. When trying to
use tscsPlot to plot data for one particular country that has NA in the
Amelia output, the missing data are not accounted for, and the values
are displayed consecutively (without regard of the year).
Here is the code line, for one particular country:
tscsPlot(output,cs="AND",ts="Year", main = "Andorra", var="HDI",
ylim=c(0,1))
I'm probably missing something. Any help would be much appreciated.
Thank you.
Regards,
Vali
-
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
Hello,
is there some way to access a log of the commands that are sent to
Amelia by using AmeliaView? That would be helpful to generate a script
that replicates the results that were achieved during a session with
"AmeliaView". I guess that Amelia writes some kind of log, but I don't
know where to find it.
With thanks in advance,
Albrecht Gradmann
--
Albrecht Gradmann, Fellow
Ecologic Institute
Berlin - Brussels - Vienna - Washington DC
Pfalzburger Strasse 43/44 | 10717 Berlin | Germany
Tel. +49 (30) 86880-170 | Fax +49 (30) 86880-100
http://www.ecologic.eu/ | http://www.ecologic-events.eu/
Ecologic Institute publishes a monthly newsletter.
To subscribe, please register at: http://www.ecologic.eu/subscribe.htm
- - -
Ecologic Institut gemeinnuetzige GmbH
GF/Director: R. Andreas Kraemer | AG Charlottenburg HRB 57947 | USt/VAT-IdNr. DE811963464
'Ecologic' is a Trade Mark (TM) of Ecologic Institut gemeinnuetzige GmbH, Berlin.
-
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
Hello everyone,
I encountered a problem trying to introduce observation-level priors. I
expected that the imputation for the specifed observations would be better
(closer to my expectations, smaller variation). What indeed happens is three
things:
1) The convergence process completely changes. The number of iterations goes
down by at least 50% compared to not using the prior. I tried different
priors specifiying information from 3 to 50 observations; the same thing
always occurred. The imputation without the priors works fine and
diagnostics indicate a good fit of the imputation model.
2) The imputations for a lot of other variables and observations not
specified by the prior changed tremendously. Imputation diagnostics look a
lot worse for many variables even if I specify only three variables.
3) Imputations for the observations for which priors are introduced change
only slightly.
My code:
pr3 <- matrix(c(75, 76, 77, 25, 25, 25, 1, 1, 1, 2.29, 2.29, 2.28, 0.95,
0.95, 0.95), nrow=3, ncol=5)
pr3
a.out.new3 <- amelia(macimp, m=5, ts = "_j", cs = "countries", polytime=0,
intercs=TRUE, p2s=2, empri=0.01*nrow(macimp), priors = pr3)
My data encompass 1127 observations and 133 variables (of which 48 are year
dummies).
A non-related problem occurs when I use the imputation without priors and
try to create the overdispersion plot with 5 imputations.
I get an error message:
A vector of this size cannot be allocated [translated from German].
When I use only 3 imputations, I get an overdispersion graph that looks
fine.
Thank you for any suggestions how to solve these problems!
Nadine
--
Nadine Reibling
PhD candidate
Mannheim Centre for European Social Research
A5,6
68131 Mannheim
0049-621-181-3302
nreiblin(a)mail.uni-mannheim.de
Website: http://cdss.uni-mannheim.de/index.php?id=346
Hello,
is there an easy way to calculate the mean and standard deviation
(Rubins Formula) for Amelia objects? Right now I do the following:
* create an "imputed matrix" using the following call
a.out <- amelia(merged, m=10, ts= "Year", cs ="GEO")
* output the individual imputations using the following:
write.amelia(obj=a.out, file.stem = "outdata")
* Reading in "outdata1.csv" to "outdata10.csv" as individual dataframes
* Using the 10 dataframes as arguments to calculate the statistics
Is there any "more straightforward" way that you could suggest to
achieve this?
With best regards
Albrecht
--
Albrecht Gradmann, Fellow
Ecologic Institute
Berlin - Brussels - Vienna - Washington DC
Pfalzburger Strasse 43/44 | 10717 Berlin | Germany
Tel. +49 (30) 86880-170 | Fax +49 (30) 86880-100
http://www.ecologic.eu/ | http://www.ecologic-events.eu/
Ecologic Institute publishes a monthly newsletter.
To subscribe, please register at: http://www.ecologic.eu/subscribe.htm
- - -
Ecologic Institut gemeinnuetzige GmbH
GF/Director: R. Andreas Kraemer | AG Charlottenburg HRB 57947 | USt/VAT-IdNr. DE811963464
'Ecologic' is a Trade Mark (TM) of Ecologic Institut gemeinnuetzige GmbH, Berlin.
-
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
Hello, I've just discovered amelia today and I am trying to use to to fill
some missing values in the attached dataset. I am using amelia in R, when I
call amelia(y) I am getting my output with still some missing values.
Does somebody know what might be I doing wrong, or what might be going on.
Thank you
Felipe Parra
Hello,
I have a dataset with dichotomous variables that has missingness that I am
trying to use Amelia to address. In addition, I need to include
observational priors (ridge priors are not an option).
Given the data I am using, I originally tried to run Amelia with these
dichotomous variables identified as "noms". However, I got the follwoing
error message when I did this:
"
Error in muPriors[priors[, 1:2]] <- priors[, 3] :
NAs are not allowed in subscripted assignments
"
According to the documentation (footnote 8 on page 17): "Dichotomous (two
category) variables are a special case of nominal variables. For these
variables, the nominal and ordinal methods of transformation in Amelia
agree." So, I was particularly confused by this error message given that I
had already tried running the exact same code with the only difference being
that I had used "ords" to identify my dichotomous variables. And that code
had worked.
For now, I have the code running using using the "ords" option instead of
the "noms". I can only assume that the introduction of priors is causing
the problem. It is not clear to me why this should be, though. Also the
fact that, contrary to the documentation, I am not getting the same results
for the ordinal and the nominal methods makes me wonder if the two methods
are not actually identical, in which case maybe it does matter which option
I use (beyond, of course, the matter of which method actually runs!).
I would appreciate any guidance you can offer as to what is causing this
error message. I have attached code, and the resulting output, replicating
the problem with the freetrade data, in case that helps clarify the issue.
Thank you in advance for your assisstance.
Best,
Melanie Goodrich
http://www.linkedin.com/in/melaniegoodrich