Simple linear regression model

一元线性回归模型

What is the simple linear regression model?

The response is a slope times the explanatory variable plus an intercept plus random error with zero mean and constant variance.

ConceptKP001003

Sign in to read the whole lesson, with 5 exercises

Sign in / Sign up

Mastery goals

  • Can write the simple linear regression model Y = bx + a + e with E(e) = 0 and D(e) = σ², and explain the response (dependent) variable, the explanatory (independent) variable, the intercept and slope parameters and the random error
  • Can explain how a regression model differs from a function model and give reasons for the random error in an example
  • Can interpret bx + a as the mean of the sub-population with a given value of the explanatory variable

8.2 The Simple Linear Regression Model and Its Applications

We have already seen that, from the scatter plot of paired sample data and the sample correlation coefficient, we can infer whether two variables are correlated, whether the correlation is positive or negative, and how strong the linear correlation is. Going further: just as we build function models to describe a definite relationship between two variables, if we build a suitable statistical model to describe the correlation between two random variables, we can use the model to study the random relationship between them and to make predictions.

Below we study how, when two variables are linearly correlated, we can build a statistical model from paired sample data and use it to make predictions.

8.2.1 The Simple Linear Regression Model

Experience tells us that a son's height is not only linearly correlated with his father's height but positively correlated with it: when the father is taller, the son is usually taller too. To study the relationship further, someone surveyed male students at a university and recorded their heights and their fathers' heights, as shown in Table 8.2-1.

Table 8.2-1

No.1234567
Father's height/cm174170173169182172180
Son's height/cm176176170170185176178
No.891011121314
Father's height/cm172168166182173164180
Son's height/cm174170168178172165182

As before, set up a coordinate system with the father's height on the horizontal axis and the son's height on the vertical axis, and draw the paired sample data of Table 8.2-1 as a scatter plot, as in Figure 8.2-1. The points lie roughly near a straight line rising from the lower left to the upper right, which shows that the son's height and the father's height are linearly correlated. Statistical software gives the sample correlation coefficient , which shows that the son's height and the father's height are positively linearly correlated, and fairly strongly.

160165170175180185190160165170175180185Son's height/cmFather's height/cm
Figure 8.2-1: the paired sample data of Table 8.2-1, with the father's height on the horizontal axis and the son's height on the vertical axis.

In the data of Table 8.2-1 there are fathers of the same height whose sons have different heights. For example, in observations and both fathers are cm tall, but the sons are cm and cm; likewise, in observations and both sons are cm tall, while the fathers are cm and cm. So the son's height and the father's height are not related by a function, and the relationship cannot be described by a function model.

The points in Figure 8.2-1 lie roughly near a straight line, which shows a fairly strong linear correlation between the two variables. So we can use a linear function to describe the effect of the father's height on the son's height, and treat the other factors that affect the son's height (such as the mother's height, living conditions and eating habits) as random error. This gives a linear regression model describing the relationship between the two variables, in which the random error is a random variable.

Let be the father's height, the son's height and the random error. Assume that the random error has mean and variance , a constant that does not depend on the father's height. Then the relationship between them can be written as

We call (1) the simple linear regression model of on . Here is called the dependent variable or response variable, and the independent variable or explanatory variable; and are the unknown parameters of the model, is called the intercept parameter and the slope parameter; is the random error between and .

in the model is also a random variable. Its value cannot be determined by the value of , but it can be written as the sum (superposition) of and : the first part is determined by , and the second part is random. If , the relationship between and can be described by a linear function model.

The simple linear regression model (1) for the father's height and the son's height can be interpreted like this: the heights of all the male students whose fathers are tall form a subpopulation, and the mean of this subpopulation is ; that is, the mean of the subpopulation is a linear function of the father's height. But for one particular male student whose father is tall, his height need not be ; it is only one observed value in that subpopulation, and between this observed value and the mean there is an error term .

When we study the relationship between the son's height and the father's height, the random error arises because:

(1) besides the father's height, other factors may affect the son's height, such as the mother's height, living conditions, eating habits and time spent exercising;

(2) when the son's height is measured, the measuring tool and the precision of measurement produce measurement error;

(3) in practice we do not know what the correlation between the son's height and the father's height really is; we approximate it with a simple linear regression model, and this approximation is also a source of the random error .

Related points

All points in this topic

Cite this page: Simple linear regression model · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP001003