R-具有二项式族的logit模型

时间:2018-12-21 00:16:18

标签: binomial-coefficients

当我使用logit运行family=binomial模型时,它不起作用-但是当我添加时它起作用:

logit1 = glm(Rhapmar ~ wwwhr + tvhours + LnIncome + age + childs + as.factor(relig), sub, family=binomial(link = "logit"))

为什么?

logit1 = glm(Rhapmar ~ wwwhr + tvhours + LnIncome + age + childs + as.factor(relig), sub, family=binomial(link = "logit"))

0 个答案:

没有答案