Linear Regression Calculator

Find the best fit line, calculate R-squared, and make predictions with linear regression.

Enter Your Data

Data Points:10 pairs

Regression Equation

y = 1.9964x + 0.0600
0.9995
R-Squared
0.9998
Correlation (r)

Prediction for X = 15

30.0055
95% Interval: [29.58, 30.43]

Regression Coefficients

Slope (b1)
Change in Y per unit X
1.996364
SE: 0.0157
Intercept (b0)
Y value when X = 0
0.060000
SE: 0.0975

Model Fit Statistics

R-Squared
0.999505
100.0% variance explained
Adj R-Squared
0.999443
Std Error
0.142701
F-Statistic
16146.4821

ANOVA Table

SourceSSdfMS
Regression328.801328.80
Residual0.1680.02
Total328.969-

Data with Predictions

XYPredictedResidual
12.12.060.04
24.24.050.15
35.96.05-0.15
48.18.050.05
59.810.04-0.24
612.212.040.16
713.914.03-0.13
816.116.030.07
91818.03-0.03
1020.120.020.08