Monday, June 4, 2012

Hi guys,

 Just some quick input on how to do Poisson regression which is a form of regression when you have a count variable. It is very simialr to using binomial regression except you use the code

summary(regress<-glm("Y-variable"~"X-variable1"+"Xvariable2"+... +"X-variableLAST", family=poisson)

Make sure you have the program "car" uploaded and that should work.

This should give you your quartiles, your coefficients, standard error and significence along with your null and residual deviance to calculate the pseudo R^2

hope that helps!

No comments:

Post a Comment