STATAverse

Regression and adjustment

Change the relationships in the data. Follow the same observation from the original scatterplot to its adjusted position.

New to regression? Begin with the guided lesson →
01

The observed relationship

How y varies with x before adjusting for z.

Unadjusted fitAdjusted fit at mean z
02

After removing the linear relation to z

Residual y against residual x. The slope is the adjusted coefficient.

Partial-regression fitSame observations in both views