search for: firstmodel

Displaying 1 result from an estimated 1 matches for "firstmodel".

Did you mean: fastmodel
2008 Mar 02
1
Poisson regression in R
...study, the model in (2) "is simpler than (1), fits well (deviance = 53.11, d.f. = 60, p-value = 0.72) and gives coefficients (standard errors): AGE, ? 0.177 (0.018); CAR, 0.198 (0.021); DIST, 0.210 (0.059)." As of the first model, I think that I should use this code, but not sure: > firstmodel<-glm(y~factor(age)*factor(car)*factor(dist),family=poisson) As of the second model, I used this code, but it produces results that contradict what the previous study says (and deleting intercept does not help): > secondmodel<-glm(y~age+car+factor(dist),family=poisson) > summary(second...