14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A Statistical Details 687<br />

Details of R<strong>and</strong>om Effects<br />

Details of R<strong>and</strong>om Effects<br />

The variance matrix of the fixed effects is always modified to include a Kackar-Harville correction. The<br />

variance matrix of the BLUPs <strong>and</strong> the covariances between the BLUPs <strong>and</strong> the fixed effects are not<br />

Kackar-Harville corrected because the corrections for these can be quite computationally intensive <strong>and</strong> use<br />

lots of memory when there are lots of levels of the r<strong>and</strong>om effects. In <strong>SAS</strong>, the Kackar-Harville correction is<br />

done for both fixed effects <strong>and</strong> BLUPs only when the DDFM=KR is set, so the st<strong>and</strong>ard errors from PROC<br />

MIXED with this option will differ from all the other options.<br />

This implies:<br />

• St<strong>and</strong>ard errors for linear combinations involving only fixed effects parameters will match PROC MIXED<br />

DDFM=KR, assuming that one has taken care to transform between the different parameterizations used<br />

by PROC MIXED <strong>and</strong> JMP.<br />

• St<strong>and</strong>ard errors for linear combinations involving only BLUP parameters will match PROC MIXED<br />

DDFM=SATTERTH.<br />

• St<strong>and</strong>ard errors for linear combinations involving both fixed effects <strong>and</strong> BLUPS do not match PROC<br />

MIXED for any DDFM option if the data are unbalanced. However, these st<strong>and</strong>ard errors are between what<br />

you get with the DDFM=SATTERTH <strong>and</strong> DDFM=KR options. If the data are balanced, JMP matches <strong>SAS</strong> for<br />

balanced data, regardless of the DDFM option, since the Kackar-Harville correction is null.<br />

The degrees of freedom for tests involving only linear combinations of fixed effects parameters are calculated<br />

using the Kenward <strong>and</strong> Roger correction, so JMP's results for these tests match PROC MIXED using the<br />

DDFM=KR option. If there are BLUPs in the linear combination, JMP uses a Satterthwaite approximation to<br />

get the degrees of freedom. So, the results follow a pattern similar to what is described for st<strong>and</strong>ard errors in<br />

the preceding paragraph.<br />

For more details of the Kackar-Harville correction <strong>and</strong> the Kenward-Roger DF approach, see Kenward <strong>and</strong><br />

Roger(1997). The Satterthwaite method is described in detail in the <strong>SAS</strong> PROC MIXED documentation.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!