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.

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

Examples with Statistical Details<br />

Figure 3.52 Parameter Estimates <strong>and</strong> Effect Tests for Drug.jmp<br />

The Drug effect can be studied in more detail by using a contrast of the least squares means, as follows:<br />

1. From the red triangle menu next to Drug, select LSMeans Contrast.<br />

2. Click the + boxes for drugs a <strong>and</strong> d, <strong>and</strong> the - box for drug f to define the contrast that compares the<br />

average of drugs a <strong>and</strong> d to f (shown in Figure 3.53).<br />

3. Click Done.<br />

Figure 3.53 Contrast Example for the Drug Experiment<br />

The Contrast report shows that the Drug effect looks more significant using this one-degree-of-freedom<br />

comparison test. The LSMean for drug f is clearly significantly different from the average of the LSMeans of<br />

the other two drugs.<br />

Analysis of Covariance<br />

An analysis of variance model with an added regressor term is called an analysis of covariance. Suppose that<br />

the data are the same as above, but with one additional term, x 3i , in the formula as a new regressor. Both x 1i<br />

<strong>and</strong> x 2i continue to be dummy variables that index over the three levels of the nominal effect. The model is<br />

written as follows:<br />

y i<br />

= β 0<br />

+ β 1<br />

x 1i<br />

+ β 2<br />

x 2i<br />

+ β 3<br />

x 3i<br />

+ ε i

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

Saved successfully!

Ooh no, something went wrong!