Ubuntu Diego
2011-Aug-24 12:33 UTC
[R] library REEMtree => Error in estRE[toString(uniqueID[i]), 1] : incorrect number of dimensions
Hi List, I'm having this problem when trying to use the PREDICT function. Here is a way to reproduce the error library(REEMtree) data(simpleREEMdata) REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID/D) predict(REEMresult, simpleREEMdata, id = simpleREEMdata$ID/simpleREEMdata$D, EstimateRandomEffects=TRUE) As far as I understand the problem is that I'm not being able to specify correctly the number of groups created in the random structure of the model (~1|ID/D). Does anybody knows how to FIX this ?