The HPMIXED Procedure

Model Assumptions

The following sections provide an overview of the approach used by the HPMIXED procedure for likelihood-based analysis of linear mixed models with sparse matrix technique. Additional theory and examples are provided in Littell et al. (1996); Verbeke and Molenberghs (1997, 2000); Brown and Prescott (1999).

The HPMIXED procedure fits models generally of the form

bold y equals bold upper X bold-italic beta plus bold upper Z bold-italic gamma plus bold-italic epsilon

Models of this form contain both fixed-effects parameters, bold-italic beta, and random-effects parameters, bold-italic gamma; hence, they are called mixed models. See Henderson (1990) and Searle, Casella, and McCulloch (1992) for historical developments of the mixed model. Note that the matrix bold upper Z can contain either continuous or dummy variables, just like bold upper X.

So far this is the same general form of model fit by the MIXED procedure. The difference between the models handled by the two procedures lies in the assumptions about the distributions of bold-italic gamma and bold-italic epsilon. For both procedures a key assumption is that bold-italic gamma and bold-italic epsilon are normally distributed with

StartLayout 1st Row 1st Column upper E StartBinomialOrMatrix bold-italic gamma Choose bold-italic epsilon EndBinomialOrMatrix 2nd Column equals 3rd Column StartBinomialOrMatrix bold 0 Choose bold 0 EndBinomialOrMatrix 2nd Row 1st Column Var StartBinomialOrMatrix bold-italic gamma Choose bold-italic epsilon EndBinomialOrMatrix 2nd Column equals 3rd Column Start 2 By 2 Matrix 1st Row 1st Column bold upper G 2nd Column bold 0 2nd Row 1st Column bold 0 2nd Column bold upper R EndMatrix EndLayout

The two procedures differ in their assumptions about the variance matrices bold upper G and bold upper R for bold-italic gamma and bold-italic epsilon, respectively. The MIXED procedure allows a variety of different structures for both bold upper G and bold upper R; while in HPMIXED procedure, bold upper R is always assumed to be of the form bold upper R equals bold upper I sigma squared, and the structures available for modeling bold upper G are only a small subset of the structures offered by the MIXED procedure.

Estimates of fixed effects and predictions for random effects are obtained by solving the so-called mixed model equations:

Start 2 By 2 Matrix 1st Row 1st Column bold upper X prime bold upper X slash sigma squared 2nd Column bold upper X prime bold upper Z slash sigma squared 2nd Row 1st Column bold upper Z prime bold upper X slash sigma squared 2nd Column bold upper Z prime bold upper Z slash sigma squared plus bold upper G Superscript negative 1 Baseline EndMatrix StartBinomialOrMatrix ModifyingAbove bold-italic beta With caret Choose ModifyingAbove bold-italic gamma With caret EndBinomialOrMatrix equals StartBinomialOrMatrix bold upper X prime bold y slash sigma squared Choose bold upper Z prime bold y slash sigma squared EndBinomialOrMatrix

Let bold upper C denote the coefficient matrix of the mixed model equations:

bold upper C equals Start 2 By 2 Matrix 1st Row 1st Column bold upper X prime bold upper X slash sigma squared 2nd Column bold upper X prime bold upper Z slash sigma squared 2nd Row 1st Column bold upper Z prime bold upper X slash sigma squared 2nd Column bold upper Z prime bold upper Z slash sigma squared plus bold upper G Superscript negative 1 EndMatrix

Under the assumptions given previously for the moments of bold-italic gamma and bold-italic epsilon, the variance of bold y is bold upper V equals bold upper Z bold upper G bold upper Z Superscript prime Baseline plus bold upper I sigma squared. You can model bold upper V by setting up the random-effects design matrix bold upper Z and by specifying covariance structures for bold upper G. Let bold-italic theta be a vector of all unknown parameters in bold upper G. Then the general form of the restricted likelihood function for the mixed models that the HPMIXED procedure can fit is

upper L left-parenthesis bold-italic theta comma sigma squared right-parenthesis equals minus 2 log l equals left-parenthesis n minus p right-parenthesis log left-parenthesis 2 pi right-parenthesis plus log StartAbsoluteValue bold upper C EndAbsoluteValue plus log StartAbsoluteValue bold upper G EndAbsoluteValue plus n log left-parenthesis sigma squared right-parenthesis plus bold y prime bold upper P bold y

where

bold upper P equals bold upper V Superscript negative 1 Baseline minus bold upper V Superscript negative 1 Baseline bold upper X left-parenthesis bold upper X prime bold upper V Superscript negative 1 Baseline bold upper X right-parenthesis Superscript minus Baseline bold upper X prime bold upper V Superscript negative 1

and p is the rank of bold upper X. The HPMIXED procedure minimizes upper L left-parenthesis bold-italic theta comma sigma squared right-parenthesis over all unknown parameters in bold-italic theta and sigma squared by using nonlinear optimization algorithms.

Last updated: December 09, 2022