cheetahfly 发表于 2017-8-31 09:23 
> fit1 <- glm(AKI ~ creabase + I(creabase^2), data = bmcrea, family = binomial)
Warning message:
glm.fit:拟合機率算出来是数值零或一
> fit1 <- glm(AKI ~ creabase + I(creabase^2)+I(creabase^3), data = bmcrea, family = binomial)
Warning message:
glm.fit:拟合機率算出来是数值零或一
summary(fit1)后,系数都是有意义的。只是这个warning message提示什么意思?我改怎么画出这个模型拟合的U型曲线?