Linear Regression Calculator
Calculate the best fit line using least squares regression.
Data Points
Predicted vs Actual
| x | Actual y | Predicted | Residual |
|---|---|---|---|
| 1 | 2 | 2.8000 | -0.8000 |
| 2 | 4 | 3.4000 | 0.6000 |
| 3 | 5 | 4.0000 | 1.0000 |
| 4 | 4 | 4.6000 | -0.6000 |
| 5 | 5 | 5.2000 | -0.2000 |
Best Fit Line
y = 0.6000x + 2.2000
Slope (m)
0.600000
Intercept (b)
2.200000
R-squared
0.600000
Correlation (r)
0.774597
Statistics
Data Points5
Standard Error0.894427
Mean X3.0000
Mean Y4.0000
Sum of Squares
SST (Total)6.0000
SSR (Regression)3.6000
SSE (Error)2.4000
π‘
Help us improve!
How would you rate the Linear Regression Calculator?