Denote as the second derivative matrix
evaluated at the converged solution of the optimization process. Partition its inverse as
For METHOD=LAPLACE and METHOD=QUAD, the GLIMMIX procedure computes by finite forward differences based on the analytic gradient of . The partition serves as the asymptotic covariance matrix of the covariance parameter estimates (ASYCOV option in the PROC GLIMMIX statement). The standard errors reported in the “Covariance Parameter Estimates” table are based on the diagonal entries of this partition.
If you request an empirical standard error matrix with the EMPIRICAL option in the PROC GLIMMIX statement, a likelihood-based sandwich estimator is computed based on the subject-specific gradients of the Laplace or quadrature approximation. The sandwich estimator then replaces in calculations following convergence.
To compute the standard errors and prediction standard errors of linear combinations of and , PROC GLIMMIX forms an approximate prediction variance matrix for from
where is the second derivative matrix from the suboptimization that maximizes for given values of and . The prediction variance submatrix for the random effects is based on approximating the conditional mean squared error of prediction as in Booth and Hobert (1998). Note that even in the normal linear mixed model, the approximate conditional prediction standard errors are not identical to the prediction standard errors you obtain by inversion of the mixed model equations.
When you estimate the parameters of a mixed model by Laplace approximation or quadrature, the GLIMMIX procedure displays fit statistics related to the marginal distribution as well as the conditional distribution . The ODS name of the “Conditional Fit Statistics” table is CondFitStatistics. Because the marginal likelihood is approximated numerically for these methods, statistics based on the marginal distribution are not available. Instead of the generalized Pearson chi-square statistic in the “Fit Statistics” table, PROC GLIMMIX reports the Pearson statistic of the conditional distribution in the “Conditional Fit Statistics” table.
The unavailability of the marginal distribution also affects the set of output statistics that can be produced with METHOD=LAPLACE and METHOD=QUAD. Output statistics and statistical graphics that depend on the marginal variance of the data are not available with these estimation methods.
If you provide your own variance function, PROC GLIMMIX generally assumes that the (conditional) distribution of the data is unknown. Laplace or quadrature estimation would then not be possible. When you specify a variance function with METHOD=LAPLACE or METHOD=QUAD, the procedure assumes that the conditional distribution is normal. For example, consider the following statements to fit a mixed model to count data:
proc glimmix method=laplace; class sub; _variance_ = _phi_*_mu_; model count = x / s link=log; random int / sub=sub; run;
The variance function and the link suggest an overdispersed Poisson model. The Poisson distribution cannot accommodate the
extra scale parameter _PHI_, however. In this situation, the GLIMMIX procedure fits a mixed model with random intercepts,
log link function, and variance function , assuming that the count
variable is normally distributed, given the random effects.
Good starting values for the fixed effects and covariance parameters are important for Laplace and quadrature methods because the process commences with a suboptimization in which the empirical Bayes estimates of the random effects must be obtained before the optimization can get under way. Furthermore, the starting values are important for the adaptive choice of the number of quadrature points.
If you choose METHOD=LAPLACE or METHOD=QUAD and you do not provide starting values for the covariance parameters through the PARMS statement, the GLIMMIX procedure determines starting values in the following steps.
A GLM is fit initially to obtain starting values for the fixed-effects parameters. No output is produced from this stage. The number of initial iterations of this GLM fit can be controlled with the INITITER= option in the PROC GLIMMIX statement. You can suppress this step with the NOINITGLM option in the PROC GLIMMIX statement.
Given the fixed-effects estimates, starting values for the covariance parameters are computed by a MIVQUE0 step (Goodnight, 1978a).
For METHOD=QUAD you can follow these steps with several pseudo-likelihood updates to improve on the estimates and to obtain solutions for the random effects. The number of pseudo-likelihood steps is controlled by the INITPL= suboption of METHOD=QUAD.
For METHOD=QUAD, if you do not specify the number of quadrature points with the suboptions of the METHOD option, the GLIMMIX procedure attempts to determine a sufficient number of points adaptively as follows. Suppose that denotes the number of nodes in each dimension. If and denote the values from the QMIN= and QMAX= suboptions, respectively, the sequence for values less than 11 is constructed in increments of 2 starting at . Values greater than 11 are incremented in steps of r. The default value is r = 10. The default sequence, without specifying the QMIN=, QMAX=, or QFAC= option, is thus . If the relative difference of the log-likelihood approximation for two values in the sequence is less than the QTOL=t value (default t = 0.0001), the GLIMMIX procedure uses the lesser value for in the subsequent optimization. If the relative difference does not fall below the tolerance t for any two subsequent values in the sequence, no estimation takes place.