data example1;
input hp path c n @@;
ln=log(n);
cards;
0 1 1 981
0 2 5 230
0 3 6 97
1 1 6 1010
1 2 20 604
1 3 21 287
;
proc genmod;
class path(param=ref ref=first);
model c=hp path/dist=poisson
link=log offset=ln type1 type3 noint;
run;
这个程序中的 offset=ln 能否去掉,需要加上吗?还有noint有必要写吗