Hi,
I've been running Amelia on Windows. I have a dataset with 16 variables, and 480 observations. I was able to run this data set through Amelia without any problems, but I then realised that I needed to constrain the imputed values of two of the variables. So I replaced one column of my data with its logit transformation, and another with its log transformation, to constrain them to between 0 and 1, and greater than 0 respectively. But ever since I've made these changes, whenever I try to read my data into Amelia as a text file the program simply just shuts down, without error messages or anything. When I try to read it in as an excel file, the program can't find it (I was having this problem before too though). I've tried renaming variables and kept all my variable names short (no spaces), but it doesn't seem to make any difference. Basically, the only thing that has changed is the data in two columns, so I'm really puzzled about why the program now crashes. I would greatly
appreciate it if anyone could tell me what is causing this problem, and how I can get around it.
Many thanks,
Julia de Kadt
-
Amelia mailing list served by Harvard-MIT Data Center
[Un]Subscribe/View Archive: http://lists.hmdc.harvard.edu/?info=amelia
Hi, Prof. King,
I just tried Amelia for two days. Everything is new to me.
I have a longitudinal data sets with 283 children across four time points.
Since the longitudinal structure of the data, I tried to impute the missing
values using the time series cross-sectional function of Amelia.
Here is first four cases in my data input:
famid age safsib dpeer risk npar
1 13 5 8 0 0
1 15 8 15 1 7
1 17 . . . .
1 19 10 20 1 10
2 13 2 15 0 0
2 15 . . . .
2 17 . . . .
2 19 . . . .
3 13 10 8 0 0
3 15 10 5 0 0
3 17 8 10 2 3
3 19 . . . .
4 13 . . . .
4 15 10 14 1 5
4 17 4 20 2 8
4 19 . . . .
Famid represents each child and age indicating the time of accessment (2
years apart).
And I sorted the data by famid and age.
I want to impute four variables: safsib, dpeer, risk, and npar.
My global setting is:
Amts: 2
Amcs: 1
Amusets: 0
Amusecs: 0
Amlagvs: 3 4 5 6
Amtstep: 2
I can read the data into the program, but when I finished all the global
settings and pushed "tab" key, the program pop up a warning saying:
The data is not sorted by time within each cross section.
The data need not be sorted by cross section, but within
each
subset of data corresponding to one element of the cross
section,
the data must be sorted by time. That is, the next
observation of any cross section, must be the next observation in time.
As you can see, my data have already been sorted by time within each cross
section.
So, I don't know why I got the warning message.
Could you provide any suggestions?
Thanks a lot!
Yi-fu
=============================
Yi-fu Chen, Ph.D.
Research Statistician
Center for Family Research
University of Georgia
1095 College Station Rd.
Athens GA 30605