---------- Forwarded message ----------
Date: Mon, 23 May 2005 14:27:36 -0400
From: "Marc P Berenson (berenson(a)Princeton.EDU)" <berenson(a)Princeton.EDU>
To: king(a)harvard.edu, tercer(a)polisci.ucla.edu, scheve(a)umich.edu
Subject: Questions on Amelia
Dear Professors King, Honaker, and Scheve,
I have been attempting an imputation with the Windows version of Amelia, and have a few questions. I would be very grateful for any assistance any one of you might be able to provide.
1. First, I seem to be having a problem similar to that others have had in the past with an AMvarnm error. Upon running the program with _AMidvar set to "1" such that Amelia will not consider the first variable, which is the weight, in imputing missing values, I receive the following message:
_AMvarnm does not have enough variable names to match each variable in the dataset. Add variable names, or set _AMvarnm=. for default variable names (default= var1 var2 ...).
As I am running the Windows version, I can't set _AMvarnm myself. However, when I did not specify any variables under the _AMidvar setting, the program does run.
(For reference, I also set _AMnds to 10 and specify some nominal and ordinal variables, all of which run OK if _AMidvar is not specified.)
2. In running the imputation, is it best to pare down the data set to just the variables needed to run the model so that the program imputes faster and smoothly or should other variables be included to serve a descriptive function as Amelia imputes?
3. I also had some difficulty in discerning what value I should place the prior at for my two separate data sets. One data set is of at least 25 variables, 988 observations and has missing values for up to a few hundred observations for each variable (0 to 326 with most in the 100s). The second data set is of at least 27 variables, 2024 observations and has missing values from dozens to hundreds (up to 659). When I ran these data sets through at the default setting, I did not get any message suggesting that I use a prior, but given the high level of missingness and some correlation among the variables, perhaps I should.
Many Thanks,
Marc
--
Marc P. Berenson
Ph.D. Candidate
Politics Department
Princeton University
130 Corwin Hall
Princeton, NJ 08544
E-mail: berenson(a)princeton.edu
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.hmdc.harvard.edu/?info=amelia
---------- Forwarded message ----------
Date: Tue, 10 May 2005 09:47:58 -0500
From: Lori Severtson <djsevert(a)wisc.edu>
To: king(a)harvard.edu
Subject: amelia.bat won't open
Hi,
I am interested in using Amelia. Downloaded the program from
http://gking.harvard.edu/stats.shtml.
The amelia.bat file won't open. When I double click it flashes open and then
immediately closes. It does the same thing when I use DOS command prompts to
open it. The PDF and notepad files work.
Any advice you can offer would be very much appreciated.
Lori Severtson
UW-Madison
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.hmdc.harvard.edu/?info=amelia
---------- Forwarded message ----------
Date: Thu, 5 May 2005 14:18:39 -0700
From: Sanjoy Bhattacharjee <bhutu1(a)gmail.com>
To: King(a)harvard.edu
Subject: _AMtype related
oh! Sir ... I forgot to tell you one thing I have tried with "_AMtype =
txt", that doesnot work either
I'm sure I have done something wrong ... could me correct me please
thanks and regards ..sanjoy
--
Sanjoy Bhattacharjee
School of Economic Sciences
Washington State University
Hulbert Hall, 207E
Pullman, WA 99164
"Life is the art of drawing sufficient conclusions from insufficient
premises" - Samuel Butler
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.hmdc.harvard.edu/?info=amelia
---------- Forwarded message ----------
Date: Thu, 5 May 2005 12:40:14 -0700
From: Sanjoy Bhattacharjee <bhutu1(a)gmail.com>
To: King(a)Harvard.edu
Subject: regarding Amelia!_GAUSS mode
Prof. Gary King
Respected Sir,
I found your "Amelia" at the time when it's most needed ... a mere thanks
will thus not be enough, my heartfelt and sincere gratitude to u and ur
other colleagues ... for writing program like this and of course, mainly
because of making it available to the world of Internet
as a primary run it works nicely ... mine is GAUSS version 6.0, Windows
XP-prof
I have two quick questions
Q1. I want to look at the "imputed data set" that "Amelia" makes after each
successful run ... by default in GAUSS it makes in ".dat" format ... What
should I do, I have tried in different ways, but could not get to look at
them ... could you help me please ..say one of the file name that Amelia
makes after successful runnning is c:\gauss6.0\impute1.dat
Q2. Kindley check my code and tell me what I have done is correct or not ...
oh! four variables of my data set are categorical on the scale of 1 to 5
new;
cls;
load y[240,8] = d:\missing.txt;
dataset = "IMPUTE";
vnames = { x1, x2, x3, x4, x5, x6, x7, x8 };
c = saved(y,dataset,vnames);
library amelia; /* initialize Amelia */
_AMnds=10; /* no. of imputations, default is 5*/
_AMprt=1; /*1 is in fact the default value, print output and intermediate
results to the screen*/
_AMfully={1,2,3,4}; /* variables those do NOT have any missing value*/
_AMords={5,6,7,8}; /* variables those do have missing value*/
_AMordmd=0;
_AMempri=3; /*use ridge prior*/
dbuf = amelia("IMPUTE"); /* impute and save m=10 imputed datasets */
save dbuf;
end;
Thanks and regards ...Sanjoy
* I have registered into the Amelia group, but could not find exactly whom
to send ... my registration id is "bhutudse(a)yahoo.com"
--
Sanjoy Bhattacharjee
PhD student
School of Economic Sciences
Washington State University
Hulbert Hall, 207E
Pullman, WA 99164
"Life is the art of drawing sufficient conclusions from insufficient
premises" - Samuel Butler
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.hmdc.harvard.edu/?info=amelia