问一下关于proc glm的个问题,
data如下
Press | Abr | Drub | Device1 | Device2 |
1 | 1 | 1 | 3839 | 3202 |
1 | 1 | 2 | 326 | 117 |
1 | 2 | 1 | 1313 | 3202 |
1 | 2 | 2 | 276 | 368 |
1 | 3 | 1 | 2097 | 6417 |
1 | 3 | 2 | 374 | 429 |
2 | 1 | 1 | 5950 | 1254 |
2 | 1 | 2 | 357 | 1550 |
2 | 2 | 1 | 1574 | 8814 |
2 | 2 | 2 | 530 | 538 |
2 | 3 | 1 | 3614 | 1293 |
2 | 3 | 2 | 238 | 2476 |
3 | 1 | 1 | 484 | 227 |
3 | 1 | 2 | 1915 | 2924 |
3 | 2 | 1 | 1046 | 1128 |
3 | 2 | 2 | 1373 | 2795 |
3 | 3 | 1 | 201 | 886 |
3 | 3 | 2 | 1803 | 1647 |
我的code应该怎么写,
我自己瞎写的是
Proc glm data=Uni;
class Press Abr Drub Device;
model SCORE= Abr Drub Device Press Abr*Drub Abr*Device Abr*Press Drub*Press Drub*Device Press*device;
means Abr Drub Device Press;
run;
我不知道class 和model我写的对不对,
请前辈指教 谢谢