Linear Regression (Line of Best Fit) Calculator

Dependent Numbers (y):
Independent Numbers (x):

Intercept:
Slope:
Line of Best Fit :
Scatter Plot

Linear regression is a simple statistics model describes the relationship between a scalar dependent variable and other explanatory variables. If there is only one explanatory variable, it is called simple linear regression, the formula of a simple regression is y = ax + b, also called the line of best fit of dataset x and dataset y.

For Linear Equation: y = ax + b, formula to calculate the a and b is:
   
   
Where:
   x: mean of x
   y: mean of y
   xi: the ith number of x
   yi: the ith number of y
   n:total numbers of x or y

endmemo.com © 2024  | Terms of Use | Privacy | Home