JMP Instructions
Regression with Indicator Variables


We illustrate how to use JMP to fit a regression model with one indicator variable with the data on Table 5-4, Page 145 of your textbook.

This data can be downloaded here

(Instructions for importing a text file into JMP)

Below is the JMP data table:

 

We proceed as follows:

Compare these coefficients with those on Page 144 of your textbook.

We now try to reproduce Figure 5-10 on Page 146 of your textbook. We don't completely succeed but we come close. Proceed as follows:

The action above adds a column to the data table with the prediction formula:

We continue in our effort to reproduce Figure 5-10 on Page 146 of your textbook:

 

These actions result in the dark line on Figure 5-10:

Compare these equations with the equations on Page 145 of your textbook.

We proceed to get Figure 5-11 on Page 147 of your textbook. Proceed as follows:

Compare the equations above with the ones on Page 147 of your textbook.