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 119<br />

Restricted Maximum Likelihood (REML) Method<br />

This was refined by Kenward <strong>and</strong> Roger (1997) to correct further <strong>and</strong> obtain the degrees of freedom that<br />

gave the closest match of an F-distribution to the distribution of the test statistic. These are not easy<br />

calculations. Consequently, they can take some time to perform for larger models.<br />

If you have a simple balanced model, the results from REML-Kenward-Roger agree with the results from<br />

the traditional approach, provided that the estimates are not bounded at zero.<br />

• These results do not depend on analyzing the syntactic structure of the model. There are no rules about<br />

finding containing effects. The method does not care if your whole plot fixed effects are purely nested in<br />

whole plot r<strong>and</strong>om effects. It gets the right answer regardless.<br />

• These results do not depend on having categorical factors. It h<strong>and</strong>les continuous (r<strong>and</strong>om coefficient)<br />

models just as easily.<br />

• These methods produce different (<strong>and</strong> better) results than older versions of JMP (that is, earlier than<br />

JMP 6) that implemented older, less precise, technology to do these tests.<br />

• These methods do not depend on having positive variance components. Negative variance components<br />

are not only supported, but need to be allowed in order for the tests to be unbiased.<br />

Our goal in implementing these methods was not just to h<strong>and</strong>le general cases, but to h<strong>and</strong>le cases without<br />

the user needing to know very much about the details. Just declare which effects are r<strong>and</strong>om, <strong>and</strong> everything<br />

else is automatic. It is particularly important that engineers learn to declare r<strong>and</strong>om effects, because they<br />

have a history of performing inadvertent split-plot experiments where the structure is not identified.<br />

Specifying R<strong>and</strong>om Effects<br />

Split Plot<br />

Models with R<strong>and</strong>om Effects use the same Fit Model dialog as other models. To specify a r<strong>and</strong>om effect,<br />

highlight it in the Construct Model Effects list <strong>and</strong> select Attributes > R<strong>and</strong>om Effect. This appends<br />

&R<strong>and</strong>om to the effect name in the model effect list.<br />

The most common type of layered design is a balanced split plot, often in the form of repeated measures<br />

across time. One experimental unit for some of the effects is subdivided (sometimes by time period) <strong>and</strong><br />

other effects are applied to these subunits.<br />

Example of a Split Plot<br />

Consider the data in the Animals.jmp sample data table (the data are fictional). The study collected<br />

information about differences in the seasonal hunting habits of foxes <strong>and</strong> coyotes. Each season for one year,<br />

three foxes <strong>and</strong> three coyotes were marked <strong>and</strong> observed periodically. The average number of miles that they<br />

w<strong>and</strong>ered from their dens during different seasons of the year was recorded (rounded to the nearest mile).<br />

The model is defined by the following aspects:<br />

• The continuous response variable called miles<br />

• The species effect with values fox or coyote<br />

• The season effect with values fall, winter, spring, <strong>and</strong> summer<br />

• An animal identification code called subject, with nominal values 1, 2, <strong>and</strong> 3 for both foxes <strong>and</strong> coyotes

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

Saved successfully!

Ooh no, something went wrong!