Simple Regression & Correlation Calculator

1) Paste your (x, y) data

Accepted formats (one pair per line): x,y or x y. Lines beginning with # are ignored.

2) Results

Slope (b)
Intercept (a)
Correlation (r)
r² (coefficient of determination)
Mean of x / y
Std dev of x / y (sample)
S_xx / S_yy / S_xy
Std error of slope b
Std error of intercept a
Residual standard error (RSE)
Prediction (for x = …)

3) Scatterplot & Best-fit Line (y = a + b·x)