The PHREG Procedure 
LSMESTIMATE Statement 
The LSMESTIMATE statement provides a mechanism for obtaining custom hypothesis tests among least squares means.
Table 64.6 summarizes important options in the LSMESTIMATE statement. If the BAYES statement is specified, the ADJUST=, STEPDOWN, TESTVALUE, LOWER, UPPER, and JOINT options are ignored. The PLOTS= option is not available for the maximum likelihood anaysis. It is available only for the Bayesian analysis.
Option 
Description 

Construction and Computation of LSMeans 

Modifies covariate values in computing LSmeans 

Computes separate margins 

Specifies a list of values to divide the coefficients 

Specifies the weighting scheme for LSmeans computation as determined by a data set 

Tunes estimability checking 

Degrees of Freedom and pvalues 

Determines the method for multiple comparison adjustment of LSmeans differences 

Determines the confidence level () 

Performs onesided, lowertailed inference 

Adjusts multiple comparison pvalues further in a stepdown fashion 

Specifies values under the null hypothesis for tests 

Performs onesided, uppertailed inference 

Statistical Output 

Constructs confidence limits for means and mean differences 

Displays the correlation matrix of LSmeans 

Displays the covariance matrix of LSmeans 

Prints the matrix 

Prints the matrix 

Produces a joint or chisquare test for the LSmeans and LSmeans differences 

Requests ODS statistical graphics of means and mean comparisons 

Specifies the seed for computations that depend on random numbers 
For details about the syntax of the LSMESTIMATE statement, see the section LSMESTIMATE Statement of Chapter 19, Shared Concepts and Topics.
Copyright © SAS Institute, Inc. All Rights Reserved.