|
Chapter Contents |
Previous |
Next |
| The MIXED Procedure |
The PARMS statement specifies initial values for the covariance parameters, or it requests a grid search over several values of these parameters. You must specify the values in the order in which they appear in the "Covariance Parameter Estimates" table.
The value-list specification can take any of several forms:
You can use the PARMS statement to input known parameters. Referring to the split-plot example (Example 37.1), suppose the three variance components are known to be 60, 20, and 6. The SAS code to fix the variance components at these values is as follows:
proc mixed data=sp noprofile;
class Block A B;
model Y = A B A*B;
random Block A*Block;
parms (60) (20) (6) / noiter;
run;
The NOPROFILE option requests PROC MIXED to refrain from profiling the residual variance parameter during its calculations, thereby enabling its value to be held at 6 as specified in the PARMS statement. The NOITER option prevents any Newton-Raphson iterations so that the subsequent results are based on the given variance components. You can also specify known parameters of G using the GDATA= option in the RANDOM statement.
If you specify more than one set of initial values, PROC MIXED performs a grid search of the likelihood surface and uses the best point on the grid for subsequent analysis. Specifying a large number of grid points can result in long computing times. The grid search feature is also useful for exploring the likelihood surface. See Example 37.3.
The results from the PARMS statement are the values of the parameters on the specified grid (denoted by CovP1 -CovP n), the residual variance (possibly estimated) for models with a residual variance parameter, and various functions of the likelihood.
For ODS purposes, the label of the "Parameter Search" table is "ParmSearch."
You can specify the following options in the PARMS statement after a slash (/).
parms (5) (3) (2) (3) / hold=1,3;
constrains the first and third covariance parameters to equal 5 and 2, respectively. In cases where the residual variance is profiled, the ratio of certain parameters to the residual is held constant rather than the parameters themselves. You can override this behavior with the NOPROFILE option as illustrated previously.
An example for which this option is useful is when you want to constrain the G matrix to be positive definite in order to avoid the more computationally intensive algorithms required when G becomes singular. The corresponding code for a random coefficients model is as follows:
proc mixed;
class person;
model y = time;
random int time / type=fa0(2) sub=person;
parms / lowerb=1e-4,.,1e-4;
run;
Here the FA0(2) structure is used in order to specify a Cholesky root parameterization for the 2 ×2 unstructured blocks in G. This parameterization ensures that the G matrix is nonnegative definite, and the PARMS statement then ensures that it is positive definite by constraining the two diagonal terms to be greater than or equal to 1E-4.
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.