Hello,
family = ‘binomial’ doesn’t work in fit.mult.impute with fitter = glm
I have updated versions of Hmisc 5.2-2 and rms 7.0-0
The same code with fitter = lrm works without flaws
Any suggestions
Best wishes Fredrik L
Hello,
family = ‘binomial’ doesn’t work in fit.mult.impute with fitter = glm
I have updated versions of Hmisc 5.2-2 and rms 7.0-0
The same code with fitter = lrm works without flaws
Any suggestions
Best wishes Fredrik L
Did you try the Glm
fitter in place of glm
? Please move this discussion to the parent rms
topic datamethods.org/rms
Well, I got the same error message with fitter = Glm
Error in fit.mult.impute(kyp ~ Age + Start + Number, fitter = Glm, family = “binomial”, :
unused argument (family = “binomial”)
Fredril L
I haven’t tested this out but it looks like fit.mult.impute
doesn’t have a family
argument; you have to pass it to glm
via the fitargs
argument, i.e.:
fit.mult.impute(kyp ~ Age + Start + Number, fitter = glm, fitargs = list(family = "binomial"), ...)
Thank you!
That solves the problem!
Fredrik L