Current location - Training Enrollment Network - Mathematics courses - Linear regression equation formula
Linear regression equation formula
The formula of linear regression equation is shown in the following figure:

Find the average value of x and y first. x,y

Then use the formula to solve: b = (x1y1+x2y2+... xnyn-nxy)/(x1+x2+... xn-nx).

Then substitute the average value of x and y into a = y-bx.

Find shua and substitute it into the general formula Y = BX+A to get the linear regression equation.

Extended data

Linear regression equation is one of the statistical analysis methods to determine the interdependent quantitative relationship between two or more variables through regression analysis in mathematical statistics.

Linear regression is also the first regression analysis that has been strictly studied and widely used in practical applications. According to the number of independent variables, it can be divided into univariate linear regression analysis equation and multivariate linear regression analysis equation.

In statistics, linear regression equation is a kind of regression analysis, which uses least square function to simulate the relationship between one or more independent variables and dependent variables.

This function is a linear combination of one or more model parameters, called regression coefficient. If there is only one independent variable, it is called simple regression, and if there are multiple independent variables, it is called multiple regression.

(Conversely, this should be distinguished by multiple linear regression predicted by multiple dependent variables, rather than a single scalar variable. )

Refer to Baidu Encyclopedia-Linear Regression Equation