在重复测量资料中经常会遇到有序分类的情况,下面是一个实例,两个组,4个时间,有基线,程序如下,S0为基线,S1 S2 S3 S4 为4个时间点;
data zh1;
set z1;
array t{4} S1 S2 S3 S4;
do time=1 to 4;
y=t{time};
output;
end;
drop s1 s2 s3 s4;
run;
proc print data=zh1;
run;
proc genmod data=zh1;
class id group time ;
model y=group time group*time S0 /d=mult type3 ;
repeated subject=id/within=time type=indep;
run;
proc genmod data=zh1;
class id group time ;
model y=group time S0 /d=mult type3 ;
repeated subject=id/within=time type=indep;
run;
由于楼主是菜鸟,只能照搬别人文章中的程序,不大会用那些模型中的选项,得出来的结果

Analysis Of Initial Parameter Estimates
Parameter
DF
Estimate
Standard Error
Wald 95% Confidence Limits
Chi-Square
Pr > ChiSq
Intercept1
1
0.5271
0.6291
-0.7059
1.7602
0.70
0.4021
Intercept2
1
3.2674
0.6255
2.0415
4.4934
27.29
<.0001
Intercept3
1
6.9060
0.7140
5.5065
8.3054
93.55
<.0001
GROUP
1
1
0.8121
0.1824
0.4545
1.1696
19.81
<.0001
GROUP
2
0
0.0000
0.0000
0.0000
0.0000
.
.
time
1
1
-1.9747
0.2680
-2.5001
-1.4494
54.28
<.0001
time
2
1
-1.3287
0.2571
-1.8327
-0.8247
26.70
<.0001
time
3
1
-0.3797
0.2482
-0.8661
0.1067
2.34
0.1260
time
4
0
0.0000
0.0000
0.0000
0.0000
.
.
S0
1
-1.4391
0.2813
-1.9904
-0.8877
26.17
<.0001

结果就只到这里,想问问大牛这个结果如何解释,欢迎大家拍砖~~!!!! 还有欢迎大家推荐关于SAS应用方面的书籍~~ 最好是说得详细一些的