Displaying 1 result from an estimated 1 matches for "five3".
Did you mean:
five
2001 Aug 25
1
Missing values in glm
...rical response (sjukdom). These are generated
'false' values that I want predicited values for.
Looking at the help, I think the correct commands to deal with these missing
values are as follows:
options(na.action=napredict)
my.dum<-glm(sjukdom~as.factor(sex)+age+log.nrg+five.d+five2+five3+d1+d2+d3+d4+d5,na.action,family="binomial")
However, I get the following error message:
'Error in as.data.frame.default(data) : can't coerce function into a
data.frame'
I have not been able to come up with anything better as other things treat
the variable sjukdom as a dif...