Technical Calculator

Linear Regression Calculator

add to favorites Add to favorites

The linear regression calculator find the linear regression with the aid of using the least rectangular technique. Get instant calculations for a line of high-quality fit along side graphical interpretation.

Linear Regression?

“Linear regression is the predictive analysis wherein the value of a variable is predicted with the aid of thinking about every other variable” A linear regression continually shows that there's a linear dating among the variables. To readily get the linear regression calculations, our linear regression calculator is the most trusted tool that you may rely upon.

Linear Regression components:

You could compare the road representing the factors by way of using the subsequent linear regression components for a given data:

ŷ=bX+a

Where;

ŷ = dependent variable to be decided

b= slope of the line

X = independent variable

a = intercept (the value of y when X = 0)

A regression equation calculator makes use of the same mathematical expression to predict the consequences. you can determine the cost of a and b by means of subjecting them to the subsequent equations:

a = MY − (b × MX)

Where;

Mx = mean value for x

My = mean value for y

Value of b = SP/SSx W

here;

SP (∑xy) = (X - Mx)*(Y - My)

SSx (∑x²) = (X - Mx)^2

the way to locate Line of excellent fit?

Allow us to resolve multiple examples to better understand the linear regression evaluation:

Instance:

Discover the least squares regression line for the facts set as follows:

{(2, 9), (5, 7), (8, 8), (9, 2)}.

also, paintings for the anticipated value of y for the value of X to be 2 and 3.

answer:

Sum of X = 24

Sum of Y = 26

The mean is evaluated as :

Mean of X = Mx = 2 + 5 + 8 + 9/4 = 6

Mean of Y = My = 9 + 7 + 8 + 2/4 = 6.5

SSx (∑x²) = (X - Mx)2 = 16+1+4+9 = 30

SP (∑xy) = (X - Mx)*(Y - My) = -10-0.5+3-13.5 = -21

Now, we must determine the linear regression equation:

ŷ= bX+a

figuring out the fee of a and b as follows:

b = SP/SSx = -21 / 30 = -07

a = MY−(b×MX) = 6.5 - (-.07 * 6) =10.7

Now, putting all the values in linear regression method:

ŷ = -0.7x + 10.7