TOOLKIT HUB·M41 · Regression & Correlation Lab

Regression & Correlation Lab

Paste (x, y) pairs — get the least-squares line with its derivation, Pearson's r and r², the scatter with the fit drawn through it, and predictions at new x. Covers §6.20–6.21.

Least-Squares Fit
Scatter of the data with the least-squares line; the prediction point in gold. FIG. T41-1
r² is the fraction of the variation in y that the line explains. And correlation is symmetric while regression is not — the line for predicting y from x is not the same line as x from y.