Hi all,
I do not have a licence for stata to combine the imputations for amelia. I have thought about using an aggregate function in SPSS to generate means and standard deviations for cases across all the five files (My gut instinct is that this is way too simple). I have also thought about using NORM to combine the five file parameters (Again seems to simple). Any advice on how to combine the amelia data files without stata would be much appreciated.
Kind regards Paul
Dear Amelia users,
I use Amelia for Gauss to input missing obs in multiparty votes.
I have problem in putting data in Gauss. Since I'm not a Gauss user and use
Gauss this time first, I may make dumb mistakes.
My data(vote) look like these;
-----------------------------------------------------------------------------
party1 party2 party3 party1(t-1) party2a(t-1) party2b(t-1) party3(t-1)
0.52 0.43 0.04 0.41 0.33 0.17 0.06
0.46 0.51 0.00(missing)0.53 0.43 0.03 0.00
----------------------------------------------------------------------------
Party1 is the reference party and party 2 and 3 have missing values.
So I use following command;
new;
library amelia;
load X[ ] = c:\data\newelecg.txt; # call data
vote = reshape(X, 225, 7); # make data as matrix
vote = vote[2:225,.]; # delete vnames
_AMempri=3; # use ridge prior
_AMkknp=3; # number of parties
_AMkkpfo= 1; # position of the reference party
_AMemt = 1; # use t-distributed ECME algorithm
dbuf = amelia(vote);
And I got the next error message.
----------------------------------------------
Invalid input, program ended due to input error:
Variable in dataset is either a constant or completely unobserved.
Delete this variable and rerun Amelia.
Math coprocessor exceptions:
Invalid Operation
Missing values may have been encountered
----------------------------------------------
Could somebody tell me what's wrong with my command and how can I fix it?
Thank you in advance.
Jong Hee Park
Department of Political Science
Washington University in St.Louis
Campus Box 1063
One Brookings Drive
St. Louis, MO 63130
Office Phone: (314) 935-6764