poisson回归模型中
data example5;
input hp path counts n @@;
ln=log(n);
cards;
1 1 3 15.8 1 2 2 15.4 1 3 7 14 1 4 3 15.8
2 1 11 16.7 2 2 16 16.3 2 3 11 15.3 2 4 10 14.1
3 1 11 14.1 3 2 22 16.7 3 3 24 16.3 3 4 25 15.2
4 1 36 13.5 4 2 44 13.9 4 3 42 16.6 4 4 53 15.7
5 1 77 15.9 5 2 74 13.2 5 3 68 13.8 5 4 99 16.4
6 1 106 16.1 6 2 131 15.4 6 3 99 12.9 6 4 142 13.4
7 1 157 15.2 7 2 184 15.3 7 3 189 14.9 7 4 180 12.6
8 1 193 13.1 8 2 232 14.2 8 3 262 14.6 8 4 249 14.1
9 1 219 10.7 9 2 267 11.8 9 3 323 13 9 4 325 13.4
10 1 223 8.5 10 2 250 9.0 10 3 308 10.1 10 4 412 11.2
11 1 198 5.9 11 2 214 6.4 11 3 253 6.9 11 4 338 7.7
;
proc genmod data=example5;
class hp path;
model counts=hp /dist=poisson
link=log offset=ln type1 type3;
run;
大家帮忙补充个语句呗,这个hp和path结果会出现estimate值。现在我想让hp 的1组和2组的estimate值都等于0.该如何实现呢?