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.

Using this tool responsibly

Units & conventions

Preserve the units of observations. Probabilities are dimensionless; percentages must be entered in the scale requested by each field.

Assumptions & limits

Confirm the selected distribution, sample independence and test assumptions. Statistical significance is not proof of practical importance or causality.

Sources & standards

NIST Engineering Statistics Handbook is a methodological reference. Check the selected test, estimator and model notes on this page.

Read any more specific sources and limits in the calculation panel. Supporting implementation: inspect the relevant calculation library. This source link is not independent verification. Educational use; verify against your course or governing design standard.

Export your work

Calculate first, then download a text report with your current inputs and visible results, or print/save this page as PDF. Existing CSV and chart exports remain available where provided.

Explore related engineering resources