For the latest version of JMP Help, visit JMP.com/help.


Fitting Linear Models > Stepwise Regression Models > Example Using Stepwise Regression
Publication date: 11/29/2021

Example Using Stepwise Regression

The Fitness.jmp data table contains the results of an aerobic fitness study. Aerobic fitness can be evaluated using a special test that measures the oxygen uptake of a person running on a treadmill for a prescribed distance. However, it would be more economical to find a formula that uses simpler measurements that evaluate fitness and predict oxygen uptake. To identify such an equation, measurements of age, weight, run time, and pulse were taken for 31 participants who ran 1.5 miles.

Note: For purposes of illustration, certain values of MaxPulse and RunPulse have been changed from data reported by Rawlings (1988, p.105).

1. Select Help > Sample Data Library and open Fitness.jmp.

2. Select Analyze > Fit Model.

3. Select Oxy and click Y.

4. Select Weight, Runtime, RunPulse, RstPulse, MaxPulse, and click Add.

5. For Personality, select Stepwise.

Figure 5.1 Completed Fit Model Launch Window 

Completed Fit Model Launch Window

Image shown hereValidation is available only in JMP Pro.

6. Click Run.

Figure 5.2 Stepwise Report Window 

Stepwise Report Window

To find a good oxygen uptake prediction equation, you need to compare many different regression models. Use the options in the Stepwise report window to search through models with combinations of effects and choose the model that you want.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).