Correlation & Regression

Least-squares line with r and R²

Enter the same number of comma-separated x and y values (at least two pairs).

y = 0.6x + 2.2
Regression line
y = 0.6x + 2.2
Slope (m)
0.6
Intercept (b)
2.2
Correlation r
0.7746
R² (fit)
0.6
Mean x
3
Mean y
4
Data points
5
Scatter plot of the data points with the fitted least-squares regression line.Scatter plot of 5 points with a least-squares line y = 0.6x + 2.2 and correlation r = 0.7746.xy