|
Chapter Contents |
Previous |
Next |
| The MIXED Procedure |
PROC MIXED selects the degrees of freedom to match those displayed in the "Tests of Fixed Effects" table for the final effect you list in the ESTIMATE statement. You can modify the degrees of freedom using the DF= option.
If PROC MIXED finds the fixed-effects portion of the specified estimate to be nonestimable, then it displays "Non-est" for the estimate entries.
The following examples of ESTIMATE statements compute the mean of the first level of A in the split-plot example (see Example 37.1) for various inference spaces:
estimate 'A1 mean narrow' intercept 1
A 1 B .5 .5 A*B .5 .5 |
block .25 .25 .25 .25
A*Block .25 .25 .25 .25
0 0 0 0
0 0 0 0;
estimate 'A1 mean intermed' intercept 1
A 1 B .5 .5 A*B .5 .5 |
Block .25 .25 .25 .25;
estimate 'A1 mean broad' intercept 1
A 1 B .5 .5 A*B .5 .5;
The construction of the L vector for an ESTIMATE statement follows the same rules as listed under the CONTRAST statement.
You can specify the following options in the ESTIMATE statement after a slash (/).
For example, the ESTIMATE statement in the following code from Example 37.5 constructs the difference between the random slopes of the first two batches.
proc mixed data=rc;
class batch;
model y = month / s;
random int month / type=un sub=batch s;
estimate 'slope b1 - slope b2' | month 1 / subject 1 -1;
run;
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.