|
Chapter Contents |
Previous |
Next |
| The GENMOD Procedure |
The LSMEANS statement computes least-squares means (LS-means) corresponding to the specified effects for the linear predictor part of the model. The L matrix constructed to compute them is precisely the same as the one formed in PROC GLM.
The LSMEANS statement is not available for multinomial distribution models for ordinal response data.
Each LS-mean is computed as
, where L is
the coefficient matrix associated with the least-squares mean and
is the estimate of the parameter
vector. The approximate standard errors for
the LS-mean is computed as the square root of
.
LS-means can be computed for any effect in the MODEL statement that involves CLASS variables. You can specify multiple effects in one LSMEANS statement or multiple LSMEANS statements, and all LSMEANS statements must appear after the MODEL statement. As in the ESTIMATE statement, the L matrix is tested for estimability, and if this test fails, PROC GENMOD displays "Non-est" for the LS-means entries.
Assuming the LS-mean is estimable, PROC GENMOD constructs a Wald chi-square test to test the null hypothesis that the associated population quantity equals zero.
You can specify the following options in the LSMEANS statement after a slash (/).
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.