1.
|
2.
|
Select Analyze > Fit Y by X.
|
3.
|
4.
|
5.
|
Click OK.
|
6.
|
Select Fit Line from the red triangle menu.
|
7.
|
From the Linear Fit menu, select Remove Fit.
|
8.
|
From the red triangle menu, select Group By.
|
9.
|
10.
|
Click OK.
|
11.
|
Select Fit Line from the red triangle menu.
|
The scatterplot to the left in Figure 4.47 has a single regression line that relates weight to height. The scatterplot to the right shows separate regression lines for males and females.