Simple Linear Regression Calculation

 Linear Regression Calculator


X ValueY Value
Add Input Delete Input

Linear Regression Formula

Regression Equation(y) = a + mx

Slope(m) = (N x ΣXY - (ΣXm)(ΣYm)) / (N x ΣX2 - (ΣX)2)

Intercept(a) = (ΣYm - b(ΣXm))


x and y are the variables.

m = The slope of the regression line

a = The intercept point of the regression line and the y axis.

N = Number of values or elements

X = First Data Set

Y = Second Data Set

ΣXY = Sum of the Product of First and Second Data Set

ΣXm = Mean of First (X) Data Set

ΣYm = Sum of Second (Y) Data Set

ΣX2 = Sum of Square of First (X) Data Set Values