The GLM Procedure

ESTIMATE Statement

ESTIMATE ’label’ effect values <…effect values> </ options> ;

The ESTIMATE statement enables you to estimate linear functions of the parameters by multiplying the vector $\mb {L}$ by the parameter estimate vector $\mb {b}$, resulting in $\mb {Lb}$. All of the elements of the $\mb {L}$ vector might be given, or, if only certain portions of the $\mb {L}$ vector are given, the remaining elements are constructed by PROC GLM from the context (in a manner similar to rule 4 discussed in the section Construction of Least Squares Means).

The linear function is checked for estimability. The estimate $\mb {Lb}$, where $\mb {b}=(\mb {X’X})^{-}\mb {X’y}$, is displayed along with its associated standard error, $\sqrt {\mb {L}(\mb {X’X})^{-}\mb {L}’ s^2}$, and t test. If you specify the CLPARM option in the MODEL statement, confidence limits for the true value are also displayed.

There is no limit to the number of ESTIMATE statements that you can specify, but they must appear after the MODEL statement. In the ESTIMATE statement,

label

identifies the estimate on the output. A label is required for every contrast specified. Labels must be enclosed in quotes.

effect

identifies an effect that appears in the MODEL statement, or the INTERCEPT effect. The INTERCEPT effect can be used as an effect when an intercept is fitted in the model. You do not need to include all effects that are in the MODEL statement.

values

are constants that are the elements of the $\mb {L}$ vector associated with the preceding effect. For example,

estimate 'A1 VS A2' A  1 -1;

forms an estimate that is the difference between the parameters estimated for the first and second levels of the CLASS variable A.

You can specify the following options in the ESTIMATE statement after a slash (/):

DIVISOR=number

specifies a value by which to divide all coefficients so that fractional coefficients can be entered as integer numerators. For example, you can use

estimate '1/3(A1+A2) - 2/3A3' a 1 1 -2 / divisor=3;

instead of

estimate '1/3(A1+A2) - 2/3A3' a 0.33333 0.33333 -0.66667;
E

displays the entire $\mb {L}$ vector. This option is useful in confirming the ordering of parameters for specifying $\mb {L}$.

SINGULAR=number

tunes the estimability checking. If ABS$(\mb {L} - \mb {LH}) > C\times $number, then the $\mb {L}$ vector is declared nonestimable. $\mb {H}$ is the $(\mb {X’X})^{-}\mb {X’X}$ matrix, and C is ABS$(\mb {L})$ except for rows where $\mb {L}$ is zero, and then it is 1. The default value for the SINGULAR= option is $10^{-4}$. Values for the SINGULAR= option must be between 0 and 1.

See also the section Specification of ESTIMATE Expressions.