14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Restricted Maximum Likelihood (REML) Method<br />

There are two layers to the model:<br />

1. The top layer is the between-subject layer, in which the effect of being a fox or coyote (species effect) is<br />

tested with respect to the variation from subject to subject. The bottom layer is the within-subject layer,<br />

in which the repeated-measures factor for the four seasons (season effect) is tested with respect to the<br />

variation from season to season within a subject. The within-subject variability is reflected in the residual<br />

error.<br />

2. The season effect can use the residual error for the denominator of its F-statistics. However, the<br />

between-subject variability is not measured by residual error <strong>and</strong> must be captured with the subject<br />

within species (subject[species]) effect in the model. The F-statistic for the between-subject effect<br />

species uses this nested effect instead of residual error for its F-ratio denominator.<br />

To create the split plot for this data, follow these steps:<br />

1. Open the Animals.jmp sample data table.<br />

2. Select Analyze > Fit Model.<br />

3. Select miles <strong>and</strong> click Y.<br />

4. Select species <strong>and</strong> subject <strong>and</strong> click Add.<br />

5. In the Select Columns list, select species.<br />

6. In the Construct Model Effects list, select subject.<br />

7. Click Nest.<br />

This adds the subject within species (subject[species]) effect to the model.<br />

8. Select the nested effect subject[species].<br />

9. Select Attributes > R<strong>and</strong>om Effect.<br />

This nested effect is now identified as an error term for the species effect <strong>and</strong> shows as<br />

subject[species]&R<strong>and</strong>om.<br />

10. In the Select Columns list, select season <strong>and</strong> click Add.

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

Saved successfully!

Ooh no, something went wrong!