Hi, I'm not sure if this is a question for just the maintainer, but I'm having issues with the pan package. Using the author's example code *data(marijuana) # we only use the complete data to illustrate marijuana <- subset(marijuana,!is.na(y)) attach(marijuana) pred <- with(marijuana,cbind(int,dummy1,dummy2,dummy3,dummy4,dummy5)) xcol <- 1:6 zcol <- 1 # Now we can fit the model. result <- ecme(y,subj,occ,pred,xcol,zcol)* It works just fine. But, if you comment out the third line *#marijuana <- subset(marijuana,!is.na(y))* I get an error *Error in ecme(y, subj, occ, pred, xcol, zcol) : NA/NaN/Inf in foreign function call (arg 26)* The problem is that ecme is an imputation algorithm. But it only works if there's no missing data on y. Is there any way around this? Or is it just a coding error on the part of the maintainer? Dustin P.S. I'm using R 2.15.3 and I just installed the pan package today (version .6) -- Dustin Fife PhD Student Quantitative Psychology University of Oklahoma [[alternative HTML version deleted]]