14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - 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 4 Performing Bivariate <strong>Analysis</strong> 123<br />

Statistical Details for the Bivariate Platform<br />

Example of Group By Using Regression Lines<br />

Another use for grouped regression is overlaying lines to compare slopes of different groups.<br />

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

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

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

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

5. Click OK.<br />

To create the example on the left in Figure 4.24:<br />

6. Select Fit Line from the red triangle menu.<br />

To create the example on the right in Figure 4.24:<br />

7. From the Linear Fit menu, select Remove Fit.<br />

8. From the red triangle menu, select Group By.<br />

9. From the list, select sex.<br />

10. Click OK.<br />

11. Select Fit Line from the red triangle menu.<br />

Figure 4.24 Example of Regression <strong>Analysis</strong> for Whole Sample <strong>and</strong> Grouped Sample<br />

The scatterplot to the left in Figure 4.24 has a single regression line that relates weight to height. The<br />

scatterplot to the right shows separate regression lines for males <strong>and</strong> females.<br />

Statistical Details for the Bivariate Platform<br />

This section contains statistical details for selected comm<strong>and</strong>s <strong>and</strong> reports.

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

Saved successfully!

Ooh no, something went wrong!