Linear Regression Calculator
Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.
Let’s run the numbers
USDTHE NUMBERS, MADE CLEARInstant calculation
=
Your answer starts here
Check your inputs and select Calculate.
Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.
Worked example
Inputs
- X values (comma-separated): 1,2,3
- Y values (comma-separated): 3,5,7
- Prediction x: 4
Results
- Regression slope: 2
- Intercept: 1
- Predicted value: 9
Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.
Reviewed:Common uses
Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.
BEHIND THE NUMBERSFormula & assumptions
b=Σ(xᵢ−x̄)(yᵢ−ȳ)/Σ(xᵢ−x̄)²; a=ȳ−bx̄
Fit y=a+bx to paired data and predict at a chosen x; extrapolation may be unreliable.