14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - 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 5 Performing Oneway <strong>Analysis</strong> 129<br />

Overview of Oneway <strong>Analysis</strong><br />

Overview of Oneway <strong>Analysis</strong><br />

A one-way analysis of variance tests for differences between group means. The total variability in the<br />

response is partitioned into two parts: within-group variability <strong>and</strong> between-group variability. If the<br />

between-group variability is large relative to the within-group variability, then the differences between the<br />

group means are considered to be significant.<br />

Example of Oneway <strong>Analysis</strong><br />

This example uses the Analgesics.jmp sample data table. Thirty-three subjects were administered three<br />

different types of analgesics (A, B, <strong>and</strong> C). The subjects were asked to rate their pain levels on a sliding scale.<br />

You want to find out if the means for A, B, <strong>and</strong> C are significantly different.<br />

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

2. Select Analyze > Fit Y by X.<br />

3. Select pain <strong>and</strong> click Y, Response.<br />

4. Select drug <strong>and</strong> click X, Factor.<br />

5. Click OK.<br />

Figure 5.2 Example of Oneway <strong>Analysis</strong><br />

You notice that one drug (A) has consistently lower scores than the other drugs. You also notice that the<br />

x-axis ticks are unequally spaced. The length between the ticks is proportional to the number of scores<br />

(observations) for each drug.<br />

Perform an analysis of variance on the data.<br />

6. From the red triangle menu for Oneway <strong>Analysis</strong>, select Means/Anova.<br />

Note: If the X factor has only two levels, the Means/Anova option appears as Means/Anova/Pooled t,<br />

<strong>and</strong> adds a pooled t-test report to the report window.

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

Saved successfully!

Ooh no, something went wrong!