@SteveDenham: That's funny. Rather, I am glad to see that my tentative idea matches a real expert's advice. 🙂
I wasn't aware of the duplicate thread. I think only moderators, super users and very few others have the privileges to merge threads.
... View more
Use an LSMESTIMATE statement that utilizes the coefficients in the direction of interest. For example,
lsmestimate treatn 'Placebo - trt 1' -1 0 1, 'Placebo - trt 2' 0 -1 1;
SteveDenham
... View more
I think the problem is in the By statement. Provide more details about the by statement. What happens if you run the code without the By statement?
... View more
Since your model doesn't involve any RANDOM component, you could just as well use proc glm and take advantage of the OUTPUT statement that will provide studentized residuals.
... View more