12-28-2016 11:29 AM
How do I seperate means using the lsmeans? I saw this Paper 142-2014 Making Comparisons Fair: How LS-Means Unify the Analysis of Linear Models Weijie Cai, SAS Institute Inc. In the material lsmeans was used along with 'lines'. but it did not work when I tried using it.
12-28-2016 12:39 PM
PROC GLM DATA=AKT ALPHA=.05;
MODEL SPLEEN=GRP BW/ SOLUTION;
LSMEANS GRP/ PDIFF=ALL ADJ=TUKEY LINES;
AKT is the data to be analysed, GRP is independent variable and BW is the body weight which was used as a covariate to run the analysis.