Residual Plots

The Linear Regression procedure will not produce residual plots for WLS models; however, by saving predicted values and residuals, you can create weighted residuals and predicted values and produce a scatterplot yourself.
- To create weighted predicted values, from
the menus choose:
Figure 2. Compute Variable dialog box - Type wgtpred as the target variable.
- Type pre_1*sqrt(wgt_1) as the numeric expression.
- Click OK.
- To compute weighted residuals, click the Dialog
Recall tool and select Compute Variable:
Figure 3. Compute dialog box - Type wgtresid as the target variable.
- Type res_1*sqrt(wgt_1) as the numeric expression.
- Click OK.
- To produce the residuals plot, click the Dialog
Recall tool and select Chart Builder, then click Reset to clear prior selections.
Figure 4. Chart Builder - Select the Scatter/Dot gallery and choose Simple Scatter.
- Select wgtresid as the y variable and wgtpred as the x variable.
- Click OK.

There is no pattern in this plot. The weights have corrected for the heteroscedasticity.