Hi Rahsaan,
There are often quite a few formatting errors when attempting to move
between software packages. You can see what is going in R with your
file if you run the following line of code in R:
library(foreign)
x <- read.spss("filename", use.value.labels=FALSE, to.data.frame=TRUE)
(you should replace "filename" with your SPSS file's name in quotes).
This is the code that Amelia runs when importing the data. If there is
a problem with the x matrix, something might be wrong with your
datafile.
Perhaps you can convert it to a CSV file and then try to run Amelia on that.
cheers,
matt.
On Thu, Jan 15, 2009 at 11:05 PM, Rahsaan Maxwell
<rahsaan(a)polsci.umass.edu> wrote:
I am trying to load SPSS datasets into AmeliaView. I
started with small
datasets that include just a handful of variables (5-7) to see how the program
works. But everytime I load the datasets and 'Summarize Data', AmeliaView
tells me that all the observations are missing for the variables, which is
definitely not true in the original dataset.
What am I doing wrong?
Thank you,
-Rahsaan
Rahsaan Maxwell, Ph.D.
Assistant Professor
Department of Political Science
University of Massachusetts, Amherst
Postdoctoral Fellow
Transatlantic Academy
German Marshall Fund of the United States
http://rahsaanmaxwell.googlepages.com
-
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
-
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