Displaying 1 result from an estimated 1 matches for "newliving".
Did you mean:
beliving
2011 Jun 23
2
Rms package - problems with fit.mult.impute
...logistic regression model using lrm.
Everything works fine until I try to run the test for goodness of fit: residuals(type=c("gof"))
One needs to specify y=T and x=T in the fit. But I get a warning message when I do that with fit.multiple.impute.
a<-aregImpute(~med.hist.err+ med.discr+newLiving+No.drugs+Days.categ+Los+Age+Ward+Sex, n.impute=20, nk=0,data=med.err)
ddist<-datadist(Age,No.drugs,Days.categ, Sex, Living, Ward)
options(datadist="ddist")
fmi<-fit.mult.impute(med.hist.err~Age+No.drugs+Days.categ+Sex+Living+Ward, fitter=lrm, x=T, y=T,a,data=med.err)
Error in 1:n.i...