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.

Chapter 3 Fitting St<strong>and</strong>ard Least Squares Models 117<br />

Restricted Maximum Likelihood (REML) Method<br />

Scripting Note<br />

The JSL option for Unbounded Variance Components is No Bounds( Boolean ). Setting this option<br />

to true (1) is equivalent to checking the Unbounded Variance Components option.<br />

R<strong>and</strong>om Effects BLUP Parameters<br />

R<strong>and</strong>om effects have a dual character. In one perspective, they appear like residual error, often the error<br />

associated with a whole-plot experimental unit. In another respect, they are like fixed effects with a<br />

parameter to associate with each effect category level. As parameters, you have extra information about<br />

them—they are derived from a normal distribution with mean zero <strong>and</strong> the variance estimated by the<br />

variance component. The effect of this extra information is that the estimates of the parameters are shrunk<br />

toward zero. The parameter estimates associated with r<strong>and</strong>om effects are called BLUPs (Best Linear<br />

Unbiased Predictors). Some researchers consider these BLUPs as parameters of interest, <strong>and</strong> others consider<br />

them by-products of the method that are not interesting in themselves. In JMP, these estimates are available,<br />

but in an initially closed report.<br />

BLUP parameter estimates are used to estimate r<strong>and</strong>om-effect least squares means, which are therefore also<br />

shrunken toward the gr<strong>and</strong> mean, at least compared to what they would be if the effect were treated as a<br />

fixed effect. The degree of shrinkage depends on the variance of the effect <strong>and</strong> the number of observations<br />

per level in the effect. With large variance estimates, there is little shrinkage. If the variance component is<br />

small, then more shrinkage takes place. If the variance component is zero, the effect levels are shrunk to<br />

exactly zero. It is even possible to obtain highly negative variance components where the shrinkage is<br />

reversed. You can consider fixed effects as a special case of r<strong>and</strong>om effects where the variance component is<br />

very large.<br />

If the number of observations per level is large, the estimate shrinks less. If there are very few observations<br />

per level, the estimates shrink more. If there are infinite observations, there is no shrinkage <strong>and</strong> the answers<br />

are the same as fixed effects.<br />

The REML method balances the information about each individual level with the information about the<br />

variances across levels.<br />

For example, suppose that you have batting averages for different baseball players. The variance component<br />

for the batting performance across player describes how much variation is usual between players in their<br />

batting averages. If the player only plays a few times <strong>and</strong> if the batting average is unusually small or large,<br />

then you tend not to trust that estimate, because it is based on only a few at-bats; the estimate has a high<br />

st<strong>and</strong>ard error. But if you mixed it with the gr<strong>and</strong> mean, that is, shrunk the estimate toward the gr<strong>and</strong> mean,<br />

you would trust the estimate more. For players that have a long batting record, you would shrink much less<br />

than those with a short record.<br />

You can run this example <strong>and</strong> see the results for yourself. The example batting average data are in the<br />

Baseball.jmp sample data file. To compare the Method of Moments (EMS) <strong>and</strong> REML, run the model<br />

twice. Assign Batting as Y <strong>and</strong> Player as an effect. Select Player in the Construct Model Effects box, <strong>and</strong><br />

select R<strong>and</strong>om Effect from the Attributes pop-up menu.<br />

Run the model <strong>and</strong> select REML (Recommended) from the Method popup menu. The results show the<br />

best linear unbiased prediction (BLUP) for each level of r<strong>and</strong>om effects.

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

Saved successfully!

Ooh no, something went wrong!