I really like Jacob's approach.
Here is something a little simpler, along the lines of a Helmert contrast. You do have to expand this out, as I have only put in the time coefficients, so this would be for the first treatment arm:
LSMESTIMATE time*treatment 'pre vs all follow' -5 1 1 1 1 1 divisor 5,
'time 1 vs follow' 0 -4 1 1 1 1 divisor 4,
'time 2 vs follow' 0 0 -3 1 1 1 divisor 3,
'time 3 vs follow' 0 0 0 -2 1 1 divisor 2,
'time 4 vs follow' 0 0 0 0 -1 1/joint;
Additional arms, and comparisons between them follow from this.
Steve Denham
... View more