# partial plots or added variable plots

Suppose we have the following regression model:

y = b0 + b1*X1 + b2*X2 + error1 (1)

The partial regression plot or added variable plot of x1 is (i.m.h.o.) constructed as follows:

regress y on x2 and save the residuals: residy

regress x1 on x2 and save the residuals: residx1

Finally, plot residy (vertical axis) against residx1 (horizontal axis). In this plot, the slope associated with residx1 is equal to b1 in equation (1). This can be confirmed by estimating:

residy = a0 + a1*residx1 + error2 (2)

For this last equation, the estimates will be: a0=0, which makes sense as both residy and residx1 are estimated residuals which have zero means. Also, a1=b1 i.e. the slope a1 of residx1 equals the slope in the " full" equation (1).

However, error2 does NOT equal error1. In a number of online documents discussing "partial regression plots" or "added variable plots" the procedure outlined above is explained, but in addition one often points to the similarity of the two errors, 1 and 2 above. See e.g.

https://en.wikipedia.org/wiki/Partial_regression_plot

or