Displaying 1 result from an estimated 1 matches for "fit1i".
Did you mean:
fit1
2006 Oct 22
2
"glm" function question
...iolence):factor(subst) + factor(violence):factor(educ) +
factor(violence):factor(age) + factor(violence):factor(prior))
summary(fit1h)
If you noticed, there's no part of my code that looks like:
family=binomial(link="logit"))
If I code like my book has done, it would look like:
fit1i = glm(reoff ~ factor(subst) + factor(violence) + prior +
factor(violence):factor(subst) + factor(violence):factor(educ) +
factor(violence):factor(age) + factor(violence):factor(prior),
family=binomial(link="logit"))
summary(fit1i)
However, when I do this, my null deviance is 1104 and...