/* Chapter 6 ++++++++++++++++++++++++++++++++++++++++++++ page 91 Program 6.4 Note that the data file experimentRatPre.dat in this program should be changed to experimentRatPreMiss.dat. */ data d4; infile 'c:\book\RepeatedMeasure\experimentRatPreMiss.dat' missover; input id group week y ybase; cfb=y-ybase; group=group-1; run; proc mixed data = d4 method=reml covtest; class id week / ref=first ; model y = ybase ybase*week group week group*week / s ddfm=sat; repeated / type = un subject = id r rcorr ; estimate 'CFB at week 3' group 1 group*week 0 1 0 / divisor=1 cl alpha=0.05; run;