I am not really sure what is causing the difference. It could be a difference in algorithm, such as a difference in whether Period is handled as another repeated measure, with time nested in period. To check you might try the following:
proc mixed data=Result maxfunc=5000 convf=1e-6; class subject period treatment time; model result = baseline period subject treatment time treatment*time/ddfm=kr2; repeated period time / type=UN@CS subject=subject; lsmeans treatment / pdiff=control; contrast 'linear' treatment -3 -1 1 3; lsmestimate Treatment*time 'Linear treatment at time 1' -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0 0 0 0, 'Linear treatment at time 2' 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0 0 0, 'Linear treatment at time 3' 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0 0, 'Linear treatment at time 4' 0 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0, 'Linear treatment at time 5' 0 0 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0, 'Linear treatment at time 6' 0 0 0 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3/FTEST; run; quit;
On my machine, the linear treatment at time 1 comes in with a P value of 0.0019, so I applied a multiplicity adjustment:
proc mixed data=Result maxfunc=5000 convf=1e-6;
class subject period treatment time;
model result = baseline period subject treatment time treatment*time/ddfm=kr2;
repeated period time / type=UN@CS subject=subject;
lsmeans treatment / pdiff=control;
contrast 'linear' treatment -3 -1 1 3;
lsmestimate Treatment*time 'Linear treatment at time 1' -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0 0 0 0,
'Linear treatment at time 2' 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0 0 0,
'Linear treatment at time 3' 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0 0,
'Linear treatment at time 4' 0 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0 0,
'Linear treatment at time 5' 0 0 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3 0,
'Linear treatment at time 6' 0 0 0 0 0 -3 0 0 0 0 0 -1 0 0 0 0 0 1 0 0 0 0 0 3/FTEST adjust=simulate(seed=1) stepdown adjdfe=row;
run; quit;
This gives an adjusted P value of 0.0109, which is within striking distance of the 0.0105 you are looking for, so it may have a different adjustment method
SteveDenham
... View more