The HPLMIXED Procedure

RANDOM Statement

  • RANDOM random-effects </ options>;

The RANDOM statement defines the random effects that constitute the bold-italic gamma vector in the mixed model. You can use this statement to specify traditional variance component models and to specify random coefficients. The random effects can be classification or continuous, and multiple RANDOM statements are possible.

Using notation from the section Linear Mixed Models Theory, the purpose of the RANDOM statement is to define the bold upper Z matrix of the mixed model, the random effects in the bold-italic gamma vector, and the structure of bold upper G. The bold upper Z matrix is constructed exactly as the bold upper X matrix for the fixed effects is constructed, and the bold upper G matrix is constructed to correspond with the effects that constitute bold upper Z. The structure of bold upper G is defined by using the TYPE= option.

You can specify INTERCEPT (or INT) as a random effect to indicate the intercept. PROC HPLMIXED does not include the intercept in the RANDOM statement by default as it does in the MODEL statement.

Table 5 summarizes important options in the RANDOM statement. All options are subsequently discussed in alphabetical order.

Table 5: Summary of Important RANDOM Statement Options

Option Description
Construction of Covariance Structure
SUBJECT= Identifies the subjects in the model
TYPE= Specifies the covariance structure
Statistical Output
ALPHA=alpha Determines the confidence level (1 minus alpha)
CL Requests confidence limits for predictors of random effects
SOLUTION Displays solutions ModifyingAbove bold-italic gamma With caret of the random effects


You can specify the following options in the RANDOM statement after a slash (/).

ALPHA=number

sets the confidence level to be 1 minusnumber for each confidence interval of the random-effects estimates. The value of number must be between 0 and 1; the default is 0.05.

CL

requests that t-type confidence limits be constructed for each of the random-effect estimates. The confidence level is 0.95 by default; this can be changed with the ALPHA= option.

SOLUTION
S

requests that the solution for the random-effects parameters be produced. Using notation from the section Linear Mixed Models Theory, these estimates are the empirical best linear unbiased predictors (EBLUPs), ModifyingAbove bold-italic gamma With caret equals ModifyingAbove bold upper G With caret bold upper Z prime ModifyingAbove bold upper V With caret Superscript negative 1 Baseline left-parenthesis bold y minus bold upper X ModifyingAbove bold-italic beta With caret right-parenthesis. They can be useful for comparing the random effects from different experimental units and can also be treated as residuals in performing diagnostics for your mixed model.

The numbers displayed in the SE Pred column of the "Solution for Random Effects" table are not the standard errors of the ModifyingAbove bold-italic gamma With caret displayed in the Estimate column; rather, they are the standard errors of predictions ModifyingAbove bold-italic gamma With caret Subscript i Baseline minus bold-italic gamma Subscript i, where ModifyingAbove bold-italic gamma With caret Subscript i is the ith EBLUP and bold-italic gamma Subscript i is the ith random-effect parameter.

SUBJECT=effect
SUB=effect

identifies the subjects in your mixed model. Complete independence is assumed across subjects; thus, for the RANDOM statement, the SUBJECT= option produces a block-diagonal structure in bold upper G with identical blocks. In fact, specifying a subject effect is equivalent to nesting all other effects in the RANDOM statement within the subject effect.

When you specify the SUBJECT= option and a classification random effect, computations are usually much quicker if the levels of the random effect are duplicated within each level of the SUBJECT= effect.

TYPE=covariance-structure

specifies the covariance structure of bold upper G. Valid values for covariance-structure and their descriptions are listed in Table 6. Although a variety of structures are available, most applications call for either TYPE=VC or TYPE=UN. The TYPE=VC (variance components) option is the default structure, and it models a different variance component for each random effect.

The TYPE=UN (unstructured) option is useful for correlated random coefficient models. For example, the following statement specifies a random intercept-slope model that has different variances for the intercept and slope and a covariance between them:

random intercept age / type=un subject=person;

You can also use TYPE=FA0(2) here to request a bold upper G estimate that is constrained to be nonnegative definite.

If you are constructing your own columns of bold upper Z with continuous variables, you can use the TYPE=TOEP(1) structure to group them together to have a common variance component. If you want to have different covariance structures in different parts of bold upper G, you must use multiple RANDOM statements with different TYPE= options.

Table 6: Covariance Structures

Structure Description Parms left-parenthesis i comma j right-parenthesis element
ANTE(1) Antedependence 2 t minus 1 sigma Subscript i Baseline sigma Subscript j Baseline product Underscript k equals i Overscript j minus 1 Endscripts rho Subscript k
AR(1) Autoregressive(1) 2 sigma squared rho Superscript StartAbsoluteValue i minus j EndAbsoluteValue
ARH(1) Heterogeneous AR(1) t plus 1 sigma Subscript i Baseline sigma Subscript j Baseline rho Superscript StartAbsoluteValue i minus j EndAbsoluteValue
ARMA(1,1) Autoregressive moving average(1,1) 3 sigma squared left-bracket gamma rho Superscript StartAbsoluteValue i minus j EndAbsoluteValue minus 1 Baseline Baseline 1 left-parenthesis i not-equals j right-parenthesis plus 1 left-parenthesis i equals j right-parenthesis right-bracket
CS Compound symmetry 2 sigma 1 plus sigma squared 1 left-parenthesis i equals j right-parenthesis
CSH Heterogeneous compound symmetry t plus 1 sigma Subscript i Baseline sigma Subscript j Baseline left-bracket rho Baseline 1 left-parenthesis i not-equals j right-parenthesis plus 1 left-parenthesis i equals j right-parenthesis right-bracket
FA(q) Factor analytic StartFraction q Over 2 EndFraction left-parenthesis 2 t minus q plus 1 right-parenthesis plus t normal upper Sigma Subscript k equals 1 Superscript min left-parenthesis i comma j comma q right-parenthesis Baseline lamda Subscript i k Baseline lamda Subscript j k plus sigma Subscript i Superscript 2 Baseline 1 left-parenthesis i equals j right-parenthesis
FA0(q) No diagonal FA StartFraction q Over 2 EndFraction left-parenthesis 2 t minus q plus 1 right-parenthesis normal upper Sigma Subscript k equals 1 Superscript min left-parenthesis i comma j comma q right-parenthesis Baseline lamda Subscript i k Baseline lamda Subscript j k
FA1(q) Equal diagonal FA StartFraction q Over 2 EndFraction left-parenthesis 2 t minus q plus 1 right-parenthesis plus 1 normal upper Sigma Subscript k equals 1 Superscript min left-parenthesis i comma j comma q right-parenthesis Baseline lamda Subscript i k Baseline lamda Subscript j k plus sigma squared 1 left-parenthesis i equals j right-parenthesis
HF Huynh-Feldt t plus 1 left-parenthesis sigma Subscript i Superscript 2 Baseline plus sigma Subscript j Superscript 2 Baseline right-parenthesis slash 2 plus lamda Baseline 1 left-parenthesis i not-equals j right-parenthesis
SIMPLE An alias for VC q sigma Subscript k Superscript 2 Baseline 1 left-parenthesis i equals j right-parenthesis for the kth effect
TOEP Toeplitz t sigma Subscript StartAbsoluteValue i minus j EndAbsoluteValue plus 1
TOEP(q) Banded Toeplitz q sigma Subscript StartAbsoluteValue i minus j EndAbsoluteValue plus 1 Baseline 1 left-parenthesis StartAbsoluteValue i minus j EndAbsoluteValue less-than q right-parenthesis
TOEPH Heterogeneous TOEP 2 t minus 1 sigma Subscript i Baseline sigma Subscript j Baseline rho Subscript StartAbsoluteValue i minus j EndAbsoluteValue
TOEPH(q) Banded heterogeneous TOEP t plus q minus 1 sigma Subscript i Baseline sigma Subscript j Baseline rho Subscript StartAbsoluteValue i minus j EndAbsoluteValue Baseline 1 left-parenthesis StartAbsoluteValue i minus j EndAbsoluteValue less-than q right-parenthesis
UN Unstructured t left-parenthesis t plus 1 right-parenthesis slash 2 sigma Subscript i j
UN(q) Banded StartFraction q Over 2 EndFraction left-parenthesis 2 t minus q plus 1 right-parenthesis sigma Subscript i j Baseline 1 left-parenthesis StartAbsoluteValue i minus j EndAbsoluteValue less-than q right-parenthesis
UNR Unstructured correlation t left-parenthesis t plus 1 right-parenthesis slash 2 sigma Subscript i Baseline sigma Subscript j Baseline rho Subscript max left-parenthesis i comma j right-parenthesis min left-parenthesis i comma j right-parenthesis
UNR(q) Banded correlations StartFraction q Over 2 EndFraction left-parenthesis 2 t minus q plus 1 right-parenthesis sigma Subscript i Baseline sigma Subscript j Baseline rho Subscript max left-parenthesis i comma j right-parenthesis min left-parenthesis i comma j right-parenthesis
VC Variance components q sigma Subscript k Superscript 2 Baseline 1 left-parenthesis i equals j right-parenthesis for the kth effect


In Table 6, the Parms column represents the number of covariance parameters in the structure, t is the overall dimension of the covariance matrix, and 1 left-parenthesis upper A right-parenthesis equals 1 when A is true and 0 otherwise. For example, 1left-parenthesis i equals j right-parenthesis equals 1 when i equals j and 0 otherwise, and 1left-parenthesis StartAbsoluteValue i minus j EndAbsoluteValue less-than q right-parenthesis equals 1 when StartAbsoluteValue i minus j EndAbsoluteValue less-than q and 0 otherwise. For the TYPE=TOEPH structures, rho 0 equals 1; for the TYPE=UNR structures, rho Subscript i i Baseline equals 1 for all i.

Table 7 lists some examples of the structures in Table 6.

Table 7: Covariance Structure Examples

Description Structure Example
Variance
components
VC (default) Start 4 By 4 Matrix 1st Row 1st Column sigma Subscript upper B Superscript 2 2nd Column 0 3rd Column 0 4th Column 0 2nd Row 1st Column 0 2nd Column sigma Subscript upper B Superscript 2 3rd Column 0 4th Column 0 3rd Row 1st Column 0 2nd Column 0 3rd Column sigma Subscript upper A upper B Superscript 2 4th Column 0 4th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column sigma Subscript upper A upper B Superscript 2 EndMatrix
Compound
symmetry
CS Start 4 By 4 Matrix 1st Row 1st Column sigma squared plus sigma 1 2nd Column sigma 1 3rd Column sigma 1 4th Column sigma 1 2nd Row 1st Column sigma 1 2nd Column sigma squared plus sigma 1 3rd Column sigma 1 4th Column sigma 1 3rd Row 1st Column sigma 1 2nd Column sigma 1 3rd Column sigma squared plus sigma 1 4th Column sigma 1 4th Row 1st Column sigma 1 2nd Column sigma 1 3rd Column sigma 1 4th Column sigma squared plus sigma 1 EndMatrix
Unstructured UN Start 4 By 4 Matrix 1st Row 1st Column sigma 1 squared 2nd Column sigma 21 3rd Column sigma 31 4th Column sigma 41 2nd Row 1st Column sigma 21 2nd Column sigma 2 squared 3rd Column sigma 32 4th Column sigma 42 3rd Row 1st Column sigma 31 2nd Column sigma 32 3rd Column sigma 3 squared 4th Column sigma 43 4th Row 1st Column sigma 41 2nd Column sigma 42 3rd Column sigma 43 4th Column sigma 4 squared EndMatrix
Banded main
diagonal
UN(1) Start 4 By 4 Matrix 1st Row 1st Column sigma 1 squared 2nd Column 0 3rd Column 0 4th Column 0 2nd Row 1st Column 0 2nd Column sigma 2 squared 3rd Column 0 4th Column 0 3rd Row 1st Column 0 2nd Column 0 3rd Column sigma 3 squared 4th Column 0 4th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column sigma 4 squared EndMatrix
First-order
autoregressive
AR(1) sigma squared Start 4 By 4 Matrix 1st Row 1st Column 1 2nd Column rho 3rd Column rho squared 4th Column rho cubed 2nd Row 1st Column rho 2nd Column 1 3rd Column rho 4th Column rho squared 3rd Row 1st Column rho squared 2nd Column rho 3rd Column 1 4th Column rho 4th Row 1st Column rho cubed 2nd Column rho squared 3rd Column rho 4th Column 1 EndMatrix
Toeplitz TOEP Start 4 By 4 Matrix 1st Row 1st Column sigma squared 2nd Column sigma 1 3rd Column sigma 2 4th Column sigma 3 2nd Row 1st Column sigma 1 2nd Column sigma squared 3rd Column sigma 1 4th Column sigma 2 3rd Row 1st Column sigma 2 2nd Column sigma 1 3rd Column sigma squared 4th Column sigma 1 4th Row 1st Column sigma 3 2nd Column sigma 2 3rd Column sigma 1 4th Column sigma squared EndMatrix
Toeplitz with
two bands
TOEP(2) Start 4 By 4 Matrix 1st Row 1st Column sigma squared 2nd Column sigma 1 3rd Column 0 4th Column 0 2nd Row 1st Column sigma 1 2nd Column sigma squared 3rd Column sigma 1 4th Column 0 3rd Row 1st Column 0 2nd Column sigma 1 3rd Column sigma squared 4th Column sigma 1 4th Row 1st Column 0 2nd Column 0 3rd Column sigma 1 4th Column sigma squared EndMatrix
Heterogeneous
autoregressive(1)
ARH(1) Start 4 By 4 Matrix 1st Row 1st Column sigma 1 squared 2nd Column sigma 1 sigma 2 rho 3rd Column sigma 1 sigma 3 rho squared 4th Column sigma 1 sigma 4 rho cubed 2nd Row 1st Column sigma 2 sigma 1 rho 2nd Column sigma 2 squared 3rd Column sigma 2 sigma 3 rho 4th Column sigma 2 sigma 4 rho squared 3rd Row 1st Column sigma 3 sigma 1 rho squared 2nd Column sigma 3 sigma 2 rho 3rd Column sigma 3 squared 4th Column sigma 3 sigma 4 rho 4th Row 1st Column sigma 4 sigma 1 rho cubed 2nd Column sigma 4 sigma 2 rho squared 3rd Column sigma 4 sigma 3 rho 4th Column sigma 4 squared EndMatrix
First-order
autoregressive
moving average
ARMA(1,1) sigma squared Start 4 By 4 Matrix 1st Row 1st Column 1 2nd Column gamma 3rd Column gamma rho 4th Column gamma rho squared 2nd Row 1st Column gamma 2nd Column 1 3rd Column gamma 4th Column gamma rho 3rd Row 1st Column gamma rho 2nd Column gamma 3rd Column 1 4th Column gamma 4th Row 1st Column gamma rho squared 2nd Column gamma rho 3rd Column gamma 4th Column 1 EndMatrix
Heterogeneous
compound symmetry
CSH Start 4 By 4 Matrix 1st Row 1st Column sigma 1 squared 2nd Column sigma 1 sigma 2 rho 3rd Column sigma 1 sigma 3 rho 4th Column sigma 1 sigma 4 rho 2nd Row 1st Column sigma 2 sigma 1 rho 2nd Column sigma 2 squared 3rd Column sigma 2 sigma 3 rho 4th Column sigma 2 sigma 4 rho 3rd Row 1st Column sigma 3 sigma 1 rho 2nd Column sigma 3 sigma 2 rho 3rd Column sigma 3 squared 4th Column sigma 3 sigma 4 rho 4th Row 1st Column sigma 4 sigma 1 rho 2nd Column sigma 4 sigma 2 rho 3rd Column sigma 4 sigma 3 rho 4th Column sigma 4 squared EndMatrix
First-order
factor
analytic
FA(1) Start 4 By 4 Matrix 1st Row 1st Column lamda 1 squared plus d 1 2nd Column lamda 1 lamda 2 3rd Column lamda 1 lamda 3 4th Column lamda 1 lamda 4 2nd Row 1st Column lamda 2 lamda 1 2nd Column lamda 2 squared plus d 2 3rd Column lamda 2 lamda 3 4th Column lamda 2 lamda 4 3rd Row 1st Column lamda 3 lamda 1 2nd Column lamda 3 lamda 2 3rd Column lamda 3 squared plus d 3 4th Column lamda 3 lamda 4 4th Row 1st Column lamda 4 lamda 1 2nd Column lamda 4 lamda 2 3rd Column lamda 4 lamda 3 4th Column lamda 4 squared plus d 4 EndMatrix
Huynh-Feldt HF Start 3 By 3 Matrix 1st Row 1st Column sigma 1 squared 2nd Column StartFraction sigma 1 squared plus sigma 2 squared Over 2 EndFraction minus lamda 3rd Column StartFraction sigma 1 squared plus sigma 3 squared Over 2 EndFraction minus lamda 2nd Row 1st Column StartFraction sigma 2 squared plus sigma 1 squared Over 2 EndFraction minus lamda 2nd Column sigma 2 squared 3rd Column StartFraction sigma 2 squared plus sigma 3 squared Over 2 EndFraction minus lamda 3rd Row 1st Column StartFraction sigma 3 squared plus sigma 1 squared Over 2 EndFraction minus lamda 2nd Column StartFraction sigma 3 squared plus sigma 2 squared Over 2 EndFraction minus lamda 3rd Column sigma 3 squared EndMatrix
First-order
antedependence
ANTE(1) Start 3 By 3 Matrix 1st Row 1st Column sigma 1 squared 2nd Column sigma 1 sigma 2 rho 1 3rd Column sigma 1 sigma 3 rho 1 rho 2 2nd Row 1st Column sigma 2 sigma 1 rho 1 2nd Column sigma 2 squared 3rd Column sigma 2 sigma 3 rho 2 3rd Row 1st Column sigma 3 sigma 1 rho 2 rho 1 2nd Column sigma 3 sigma 2 rho 2 3rd Column sigma 3 squared EndMatrix
Heterogeneous
Toeplitz
TOEPH Start 4 By 4 Matrix 1st Row 1st Column sigma 1 squared 2nd Column sigma 1 sigma 2 rho 1 3rd Column sigma 1 sigma 3 rho 2 4th Column sigma 1 sigma 4 rho 3 2nd Row 1st Column sigma 2 sigma 1 rho 1 2nd Column sigma 2 squared 3rd Column sigma 2 sigma 3 rho 1 4th Column sigma 2 sigma 4 rho 2 3rd Row 1st Column sigma 3 sigma 1 rho 2 2nd Column sigma 3 sigma 2 rho 1 3rd Column sigma 3 squared 4th Column sigma 3 sigma 4 rho 1 4th Row 1st Column sigma 4 sigma 1 rho 3 2nd Column sigma 4 sigma 2 rho 2 3rd Column sigma 4 sigma 3 rho 1 4th Column sigma 4 squared EndMatrix
Unstructured
correlations
UNR Start 4 By 4 Matrix 1st Row 1st Column sigma 1 squared 2nd Column sigma 1 sigma 2 rho 21 3rd Column sigma 1 sigma 3 rho 31 4th Column sigma 1 sigma 4 rho 41 2nd Row 1st Column sigma 2 sigma 1 rho 21 2nd Column sigma 2 squared 3rd Column sigma 2 sigma 3 rho 32 4th Column sigma 2 sigma 4 rho 42 3rd Row 1st Column sigma 3 sigma 1 rho 31 2nd Column sigma 3 sigma 2 rho 32 3rd Column sigma 3 squared 4th Column sigma 3 sigma 4 rho 43 4th Row 1st Column sigma 4 sigma 1 rho 41 2nd Column sigma 4 sigma 2 rho 42 3rd Column sigma 4 sigma 3 rho 43 4th Column sigma 4 squared EndMatrix


The following list provides some further information about these covariance structures:

TYPE=ANTE(1)

specifies the first-order antedependence structure (Kenward 1987; Patel 1991; Macchiavelli and Arnold 1994). In Table 6, sigma Subscript i Superscript 2 is the i variance parameter, and rho Subscript k is the k autocorrelation parameter that satisfies StartAbsoluteValue rho Subscript k Baseline EndAbsoluteValue less-than 1.

TYPE=AR(1)

specifies a first-order autoregressive structure. PROC HPLMIXED imposes the constraint StartAbsoluteValue rho EndAbsoluteValue less-than 1 for stationarity.

TYPE=ARH(1)

specifies a heterogeneous first-order autoregressive structure. As with TYPE=AR(1), PROC HPLMIXED imposes the constraint StartAbsoluteValue rho EndAbsoluteValue less-than 1 for stationarity.

TYPE=ARMA(1,1)

specifies the first-order autoregressive moving average structure. In Table 6, rho is the autoregressive parameter, gamma models a moving average component, and sigma squared is the residual variance. In the notation of Fuller (1976, p. 68), rho equals theta 1 and

gamma equals StartFraction left-parenthesis 1 plus b 1 theta 1 right-parenthesis left-parenthesis theta 1 plus b 1 right-parenthesis Over 1 plus b 1 squared plus 2 b 1 theta 1 EndFraction

The example in Table 7 and StartAbsoluteValue b 1 EndAbsoluteValue less-than 1 imply that

b 1 equals StartFraction beta minus StartRoot beta squared minus 4 alpha squared EndRoot Over 2 alpha EndFraction

where alpha equals gamma minus rho and beta equals 1 plus rho squared minus 2 gamma rho. PROC HPLMIXED imposes the constraints StartAbsoluteValue rho EndAbsoluteValue less-than 1 and StartAbsoluteValue gamma EndAbsoluteValue less-than 1 for stationarity, although the resulting covariance matrix is not positive definite for some values of rho and gamma in this region. When the estimated value of rho becomes negative, the computed covariance is multiplied by cosine left-parenthesis pi d Subscript i j Baseline right-parenthesis to account for the negativity.

TYPE=CS

specifies the compound-symmetry structure, which has constant variance and constant covariance.

TYPE=CSH

specifies the heterogeneous compound-symmetry structure. This structure has a different variance parameter for each diagonal element, and it uses the square roots of these parameters in the off-diagonal entries. In Table 6, sigma Subscript i Superscript 2 is the i variance parameter, and rho is the correlation parameter that satisfies StartAbsoluteValue rho EndAbsoluteValue less-than 1.

TYPE=FA(q)

specifies the factor-analytic structure with q factors (Jennrich and Schluchter 1986). This structure is of the form bold upper Lamda bold upper Lamda prime plus bold upper D, where bold upper Lamda is a t times q rectangular matrix and bold upper D is a t times t diagonal matrix with t different parameters. When sans-serif-italic q greater-than 1, the elements of bold upper Lamda in its upper right corner (that is, the elements in the i row and j column for j greater-than i) are set to zero to fix the rotation of the structure.

TYPE=FA0(q)

is similar to the FA(q) structure except that no diagonal matrix bold upper D is included. When sans-serif-italic q less-than t (that is, when the number of factors is less than the dimension of the matrix), this structure is nonnegative definite but not of full rank. In this situation, you can use this structure for approximating an unstructured bold upper G matrix in the RANDOM statement. When sans-serif-italic q equals t, you can use this structure to constrain bold upper G to be nonnegative definite in the RANDOM statement.

TYPE=FA1(q)

is similar to the TYPE=FA(q) structure except that all of the elements in bold upper D are constrained to be equal. This offers a useful and more parsimonious alternative to the full factor-analytic structure.

TYPE=HF

specifies the Huynh-Feldt covariance structure (Huynh and Feldt 1970). This structure is similar to the TYPE=CSH structure in that it has the same number of parameters and heterogeneity along the main diagonal. However, it constructs the off-diagonal elements by taking arithmetic means rather than geometric means.

You can perform a likelihood ratio test of the Huynh-Feldt conditions by running PROC HPLMIXED twice, once with TYPE=HF and once with TYPE=UN, and then subtracting their respective values of negative 2 times the maximized likelihood.

If PROC HPLMIXED does not converge under your Huynh-Feldt model, you can specify your own starting values with the PARMS statement. The default MIVQUE(0) starting values can sometimes be poor for this structure. A good choice for starting values is often the parameter estimates that correspond to an initial fit that uses TYPE=CS.

TYPE=SIMPLE

is an alias for TYPE=VC.

TYPE=TOEP<(q)>

specifies a banded Toeplitz structure. This can be viewed as a moving average structure with order equal to sans-serif-italic q negative 1. The TYPE=TOEP option is a full Toeplitz matrix, which can be viewed as an autoregressive structure with order equal to the dimension of the matrix. The specification TYPE=TOEP(1) is the same as sigma squared upper I, where I is an identity matrix, and it can be useful for specifying the same variance component for several effects.

TYPE=TOEPH<(q)>

specifies a heterogeneous banded Toeplitz structure. In Table 6, sigma Subscript i Superscript 2 is the i variance parameter and rho Subscript j is the j correlation parameter that satisfies StartAbsoluteValue rho Subscript j Baseline EndAbsoluteValue less-than 1. If you specify the order parameter q, then PROC HPLMIXED estimates only the first q bands of the matrix, setting all higher bands equal to 0. The option TOEPH(1) is equivalent to both the TYPE=UN(1) and TYPE=UNR(1) options.

TYPE=UN<(q)>

specifies a completely general (unstructured) covariance matrix that is parameterized directly in terms of variances and covariances. The variances are constrained to be nonnegative, and the covariances are unconstrained. This structure is not constrained to be nonnegative definite in order to avoid nonlinear constraints. However, you can use the TYPE=FA0 structure if you want this constraint to be imposed by a Cholesky factorization. If you specify the order parameter q, then PROC HPLMIXED estimates only the first q bands of the matrix, setting all higher bands equal to 0.

TYPE=UNR<(q)>

specifies a completely general (unstructured) covariance matrix that is parameterized in terms of variances and correlations. This structure fits the same model as the TYPE=UN(q) option but with a different parameterization. The i variance parameter is sigma Subscript i Superscript 2. The parameter rho Subscript j k is the correlation between the j and k measurements; it satisfies StartAbsoluteValue rho Subscript j k Baseline EndAbsoluteValue less-than 1. If you specify the order parameter r, then PROC HPLMIXED estimates only the first q bands of the matrix, setting all higher bands equal to zero.

TYPE=VC

specifies standard variance components. This is the default structure for both the RANDOM and REPEATED statements. In the RANDOM statement, a distinct variance component is assigned to each effect.

Jennrich and Schluchter (1986) provide general information about the use of covariance structures, and Wolfinger (1996) presents details about many of the heterogeneous structures.

Last updated: December 09, 2022