EMMEANS Subcommand (CSGLM command)
The EMMEANS subcommand displays estimated marginal means of the dependent variable
in the cells for the specified factors. Note that these means are
predicted, not observed, means.
- Multiple
EMMEANSsubcommands are allowed. Each subcommand is treated independently. - The
EMMEANSsubcommand may be specified with no additional keywords. The output for an emptyEMMEANSsubcommand is the overall estimated marginal mean of the dependent variable, collapsing over any factors, and with any covariates held at their overall means.
TABLES = option. Valid
options are factors appearing on the factor list and crossed factors
that are constructed of factors on the factor list. Crossed factors
can be specified by using an asterisk (*) or the keyword BY. All factors in a crossed factor specification
must be unique. If a factor or a crossing of factors is specified
on the TABLES keyword, CSGLM collapses over any other factors before
computing the estimated marginal means for the dependent variable.
If the TABLES keyword is not
specified, the overall estimated marginal mean of the dependent variable,
collapsing over any factors, is computed.
OTHER = [option]. Specifies
the covariate values to use when computing the estimated marginal
means. If the OTHER keyword
is used, it must be followed by an equals sign and one or more elements
enclosed in square brackets. Valid elements are covariates appearing
on the CSGLM covariate list,
each of which must be followed by a numeric value or the keyword MEAN in parentheses.
- If a numeric value is used, the estimated marginal
mean will be computed by holding the specified covariate at the supplied
value. If the keyword
MEANis used, the estimated marginal mean will be computed by holding the covariate at its overall mean. If a covariate is not specified on theOTHERoption, its overall mean will be used in estimated marginal mean calculations. - Any covariate may occur only once on the
OTHERkeyword.
CONTRAST = type. Specifies the type of contrast that is desired among the levels of the
factor that is given on the COMPARE keyword. This keyword creates an L
matrix such that the columns corresponding to the factor match the contrast that is given. The other
columns are adjusted so that the L matrix is estimable. The CONTRAST
keyword is ignored if the COMPARE keyword is not specified.
COMPARE = factor. Compares
levels of a factor specified on the TABLES keyword and displays results for each individual comparison as well
as for the overall set of comparisons. If only one factor is specified
on TABLES, COMPARE can be specified by itself; otherwise, the factor
specification is required. In the latter case, levels of the specified
factor are compared for each level of the other factors that are specified
on TABLES. The type of comparison
that is performed is determined by the CONTRAST keyword. The TABLES keyword
must be specified for the COMPARE keyword to be valid.