Displaying 1 result from an estimated 1 matches for "satdata".
Did you mean:
sa_data
2008 Apr 10
1
Degrees of freedom in binomial glm
...20, 16, 7, 5, 3, 5,
+ 252, 97, 162, 47, 199, 62, 69, 45, 14, 8, 14, 2,
+ 126, 61, 72, 27, 93, 24, 27, 36, 7, 4, 5, 0,
+ 119, 62, 66, 20, 67, 25, 45, 22, 15, 10, 8, 6,
+ 58, 33, 20, 10, 21, 10, 16, 15, 10, 8, 6, 2)
> satdata <- data.frame(Freq, expand.grid(gender=gender, age=age,
+ race=race, sat=sat, loc=loc))
> sat.glm0 <- glm(sat ~ gender + age + race + loc, weights = Freq,
+ family = binomial, data = satdata)
> summary(sat.glm0)
Call:
glm(formula...