Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Overview

Perform a Regression Analysis

To run a simple linear regression on the Fitness data, follow these steps.

  1. Select Statistics arrow Regression arrow Simple ... to select the Simple Regression task.
  2. In the Simple Linear Regression dialog, select oxygen from the list and click on the Dependent button to designate oxygen consumption as the dependent variable. Select runtime from the list and click on the Explanatory button to designate the amount of time to run 1.5 miles as the explanatory variable.

    c0103.gif (6216 bytes)

    Figure 1.3: Dependent and Explanatory Variables

  3. To create a scatter plot of your results, click on the Plots button. In the Predicted tab, select Plot observed vs independent.

    c0104.gif (5240 bytes)

    Figure 1.4: Scatter Plot

    Click OK.

  4. In the Simple Linear Regression dialog, click on the Titles button to specify a title for your results. In the first field of the Titles dialog, type Speed vs. Oxygen Consumed.

    c0105.gif (3983 bytes)

    Figure 1.5: Title

    Click OK.

  5. Click OK in the Simple Linear Regression dialog to generate the results.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.