LSMEANS
<model-effects> </ options> ;
The LSMEANS statement computes and compares least squares means (LS-means) of fixed effects. LS-means are predicted population margins—that is, they estimate the marginal means over a balanced population. In a sense, LS-means are to unbalanced designs as class and subclass arithmetic means are to balanced designs.
Table 16.19 summarizes the options available in the LSMEANS statement.
Table 16.19: LSMEANS Statement Options
Option |
Description |
---|---|
Construction and Computation of LS-Means |
|
AT in SAS/STAT 12.1 User's Guide |
Modifies the covariate value in computing LS-means |
BYLEVEL in SAS/STAT 12.1 User's Guide |
Computes separate margins |
DIFF in SAS/STAT 12.1 User's Guide |
Requests differences of LS-means |
OM= in SAS/STAT 12.1 User's Guide |
Specifies the weighting scheme for LS-means computation as determined by the input data set |
SINGULAR= in SAS/STAT 12.1 User's Guide |
Tunes estimability checking |
Degrees of Freedom and p-values |
|
ADJUST= in SAS/STAT 12.1 User's Guide |
Determines the method for multiple-comparison adjustment of LS-means differences |
ALPHA= in SAS/STAT 12.1 User's Guide |
Determines the confidence level () |
STEPDOWN in SAS/STAT 12.1 User's Guide |
Adjusts multiple-comparison p-values further in a step-down fashion |
Statistical Output |
|
CL in SAS/STAT 12.1 User's Guide |
Constructs confidence limits for means and mean differences |
CORR in SAS/STAT 12.1 User's Guide |
Displays the correlation matrix of LS-means |
COV in SAS/STAT 12.1 User's Guide |
Displays the covariance matrix of LS-means |
E in SAS/STAT 12.1 User's Guide |
Prints the matrix |
LINES in SAS/STAT 12.1 User's Guide |
Produces a “Lines” display for pairwise LS-means differences |
MEANS in SAS/STAT 12.1 User's Guide |
Prints the LS-means |
PLOTS= in SAS/STAT 12.1 User's Guide |
Requests graphs of means and mean comparisons |
SEED= in SAS/STAT 12.1 User's Guide |
Specifies the seed for computations that depend on random numbers |
For details about the syntax of the LSMEANS statement, see the section LSMEANS Statement in SAS/STAT 12.1 User's Guide in Chapter 19: Shared Concepts and Topics in SAS/STAT 12.1 User's Guide.