官术网_书友最值得收藏!

Linear regression

With linear regression, we model the relationship between the dependent variable, y, and an explanatory variable or independent variable, x. When there is one independent variable, it is called simple linear regression, and in the case of multiple independent variables, the regression is called multiple linear regression. The predictor function in the case of linear regression is a straight line (refer to figure 4 for an illustration). The regression line defines the relationship between x and y. When the value of y increases when x increases, there is a positive relationship between x and y. Similarly, when x and y are inversely proportional, there is a negative relationship between x and y. The line should be plotted on x and y dimensions to minimize the difference between the predicted value and the actual value, called prediction error.

In its simplest form, the linear regression equation is:

This is the equation of a straight line, where y is the value of dependent variable, a is the y intercept (the value of y where the regression line meets the y axis), and b is the slope of the line. Let's consider the least square method in which we can derive the regression line with minimum prediction error.

主站蜘蛛池模板: 睢宁县| 临邑县| 马龙县| 宁远县| 德州市| 武宁县| 瓦房店市| 长沙县| 福清市| 富川| 彭山县| 绍兴市| 建平县| 建平县| 盘山县| 剑川县| 来宾市| 上饶县| 瓦房店市| 扎兰屯市| 岑巩县| 长春市| 浦江县| 泾源县| 福建省| 洪江市| 揭东县| 会宁县| 措勤县| 马公市| 怀远县| 习水县| 安陆市| 陆良县| 石林| 岳普湖县| 张掖市| 大新县| 开江县| 贺州市| 昌邑市|