The VARCOMP Procedure

PROC VARCOMP Statement

  • PROC VARCOMP <options>;

The PROC VARCOMP statement invokes the VARCOMP procedure. Table 108.1 summarizes the options available in the VARCOMP statement.

Table 108.1: PROC VARCOMP Statement Options

Option

Description

DATA=

Specifies the input SAS data set to use

EPSILON=

Specifies the convergence value of the objective function

MAXITER=

Specifies the maximum number of iterations for METHOD=ML or METHOD=REML

METHOD=

Specifies which of the five methods to use

SEED=

Specifies an unsigned integer used to start the pseudo-random number generator


You can specify the following options in the PROC VARCOMP statement.

DATA=SAS-data-set

specifies the input SAS data set to use. If this option is omitted, the most recently created SAS data set is used.

EPSILON=number

specifies the convergence value of the objective function for METHOD=ML or METHOD=REML. By default, EPSILON=1E–8.

MAXITER=number

specifies the maximum number of iterations for METHOD=ML or METHOD=REML. By default, MAXITER=50.

METHOD=TYPE1 | MIVQUE0 | ML | REML | GRR <(options)>

specifies which of the five methods (TYPE1, MIVQUE0, ML, REML, or GRR) you want to use. By default, METHOD=MIVQUE0. METHOD=GRR provides a specialized analysis only for certain designs, whereas the other four methods apply to any random-effects model and design. You can specify the following options in parentheses after METHOD=GRR.

SPECLIMITS=(LSL,USL,<k>)
SL=(LSL,USL,<k>)

specifies the specification limits for the first random factor, which is regarded as the product being tested in the gauge R&R study. The lower limit (LSL) must be smaller than the upper limit (USL). The value k is optional. The default value is 6, which corresponds to the number of standard deviations between the "natural" tolerance limits containing the middle 99.73% of a normal process. SPECLIMITS=(LSL,USL,k) requests the estimates of the parameters PTR(LSL,USL,k) and Cp(LSL,USL,k) to be displayed.

RATIO

specifies that certain additional ratios of variance components should also be computed and displayed, such as proportion of total variance due to the process. These ratios are listed in Table 108.5.

For more information see the section Computational Methods.

SEED=n

specifies an unsigned integer used to start the pseudo-random number generator. If you do not specify a seed or if you specify zero, the seed is generated from reading the time of day from the computer clock. You can use a SAS date as a seed. The random number generation is used in the computation of generalized confidence limits; see the section Confidence Limits.