Hi all,
Basically I'm getting an error message that I don't really understand. It
says that the subscript out of bounds but I can't see how.
Thank you for your help,
Best,
Antonio.
> # missing date matrix
>
> k1 <-cbind(data1$INFMORT,data1$YEAR,data1$COUNTRY)
> k1 <-as.matrix(k1)
> k1 <-as.matrix(k1)
> str(k1)
num [1:4126, 1:3] 160 NA NA NA NA ...
> dim(k1)
[1] 4126 3
> head(k1)
[,1] [,2] [,3]
[1,] 160 1962 1
[2,] NA 1963 1
[3,] NA 1964 1
[4,] NA 1965 1
[5,] NA 1966 1
[6,] 150 1967 1
> quartz()
> missmap(k1,csvar=k1[,3],tsvar=k1[,2])
Error in missmap(k1, csvar = k1[, 3], tsvar = k1[, 2]) :
subscript out of bounds
I am getting the following error when trying to run Amelia:
1 Error in eigen(thetanew[2:nrow(thetanew), 2:ncol(thetanew)],
only.values = TRUE, :infinite or missing values in 'x'
I've read through the list and have tried the fixes that have been
suggested. I removed about 15 cases when participants had less than 10%
available data. I've also tried lowering the tolerance. I am assuming
that at this point I should think about variables to remove. My data
consists of 89 questions for an epistemological beliefs scale I am
trying to create. Are there any suggestions as to how I should go about
choosing questions to remove? I've checked the correlations and there
seems to be no multicollinearity.
Any help would be greatly appreciated!
Laura
-
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