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.

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

Effect Options<br />

LSMeans Plot<br />

The LSMeans Plot option plots least squares means (LSMeans) plots for nominal <strong>and</strong> ordinal main effects<br />

<strong>and</strong> interactions.<br />

Example of an LS Means Plot<br />

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

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

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

4. Select popcorn, oil amt, <strong>and</strong> batch <strong>and</strong> click Add.<br />

5. Select popcorn in the Construct Model Effects section <strong>and</strong> batch in the Select Columns section.<br />

6. Click Cross to obtain the popcorn*batch interaction.<br />

7. Click Run.<br />

8. Hold down the CTRL key. From the red triangle menu for one of the effects, select LSMeans Plot.<br />

Tip: Holding down the CTRL key broadcasts the comm<strong>and</strong> to all of the effects.<br />

Figure 3.43 LSMeans Plots for Main Effects <strong>and</strong> Interactions<br />

Figure 3.43 shows the effect plots for main effects <strong>and</strong> the two-way interaction.<br />

To transpose the factors of the LSMeans plot for a two-factor interaction, hold down the SHIFT key <strong>and</strong><br />

select the LSMeans Plot option. (In this example, you must first deselect the LSMeans Plot option <strong>and</strong><br />

then select it again, holding down the SHIFT key.) Figure 3.44 shows both the default <strong>and</strong> the transposed<br />

factors plots.

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

Saved successfully!

Ooh no, something went wrong!