Hi,
I am trying to generate a model to predict the number of absences of a school alumn. My inputs var are: math and literature marks of the alumns and their sex. The number of absences vary from 0 to 12. I am using a GLM model with 'proc genmod'
proc genmod data = test;
class sexo;
model diasau = nota_mates nota_lengua sexo / dist=Poisson;
store out=modelo_glm;
run;
I have some doubts:
- How can I select the apropiate distibution: Poisson...?
- Do I have to do some log transformation?
I am not an expert in GLM models, but I know that I have to review the model deviance vs degree of freedoms:
Thats what I get:

Any advice will be greatly appreciated.
Thanks in advance?