I'm so new to SAS, and I need to do NB regression using Genmod procedure for my project. it's proved that there is a correlation between the data I've got. but when I apply my data, it estimates the parameter by 0.
Could anybody help me? This is how I did it:
"data crash;
input major minor accident;
datalines;
19331 18358 10
17215 17051 10
18539 17562 9
42890 14750 38
43187 14600 46
44136 14020 44
60903 9819 41
59018 10547 49
65205 11292 40
31969 21677 40
31808 23356 31
28179 19647 45
29020 38400 78
29100 38408 64
29080 39560 54
31969 25190 57
31808 25481 51
28179 25092 49
32172 34898 56
33412 35950 41
32068 33307 50
30217 15094 41
30581 16782 31
32458 16560 33
run;
proc genmod data=crash;
model accident = major minor / dist=negbin link=log;
run; "
... View more