650) this.width=650; "src=" Http://blog.fens.me/wp-content/uploads/2016/07/reg-liner.png "width=" "height=" 400 " alt= "Reg-liner.png"/>
Objective
In our daily life, there are a large number of related events, such as atmospheric pressure and altitude, the higher the altitude of atmospheric pressure, the smaller the person's height and weight, generally, the higher the weight of the person is heavier. There may be related events, such as the higher the level of knowledge, the higher the level of income, the better the market economy, the stronger the currency, but the global economic crisis, gold and other safe-haven assets stronger.
If we were to study these events and find the relationships between the different variables, we would use regression analysis. Unary linear regression analysis is the simplest model to deal with the relationship between two variables, and it is a linear correlation between two variables. Let's discover the laws of life together.
As this article is a non-statistical professional article, so when it appears that the textbook does not match the description, please take the textbook as the subject. In this paper, we try to introduce the knowledge of linear regression with simplified language, and cooperate with the implementation of R language.
Directory
Introduction to Unary linear regression
Datasets and mathematical models
Regression parameter estimation
The significance test of regression equation
Residual analysis and anomaly detection
Model prediction
Full article: http://blog.fens.me/r-linear-regression/
Interpretation of a linear regression model by R language