c**********e 发帖数: 2007 | 1 In the following procedure, how to write a test (or contrast) statement to
test a=b=0?
proc glm data=one;
class z;
model y=a b c z;
*TEST a=0, b=0; // This statement works in REG, but not in GLM.
run;
I feel very stupid, either me or SAS. By the way, I have been using SAS for
10+ years. |
c**********e 发帖数: 2007 | 2 I tried
contrast "test a=b=0" a 1 b 1;
It gives a result but with DF=1. The test should have DF=2. |
s*r 发帖数: 2757 | 3
【在 c**********e 的大作中提到】 : I tried : contrast "test a=b=0" a 1 b 1; : It gives a result but with DF=1. The test should have DF=2.
|
n**m 发帖数: 156 | 4 SAS has different statements in different procedures. Just check the online
manual. Yes, I also feel kind of stupid. |
l*********s 发帖数: 5409 | 5 DF is 2 on my PC. ...
【在 c**********e 的大作中提到】 : I tried : contrast "test a=b=0" a 1 b 1; : It gives a result but with DF=1. The test should have DF=2.
|
g**r 发帖数: 425 | 6 呵呵,帮人帮到底,送佛送到西天,下面那个回帖关键是那个逗号。
【 在 careerchange (Stupid) 的大作中提到: 】
【在 s*r 的大作中提到】
|