Linear Regression
摘要
Linear regression is the workhorse of statistical model development due to its simplicity, intuitive appeal, and ubiquitous availability in numerical libraries and toolkits. The model defines a linear parametric relationship between an endogenous (dependent) variable and a group of exogenous (independent) variables, including an optional constant. Parameters defining this relationship are predicted by fitting the data using the linear model. In addition to predicting the parameters, the method also furnishes confidence intervals for those estimates. The model can be written as shown in Equation 2-1. \(\epsilon \) represents the error between actual output, y, and predicted output, \(\hat {y}\) , as shown in Equation 2-2.