Professional Documents
Culture Documents
* Random Sample :
x , y ; x , y ; x , y ;.....; x , y yˆ ˆ
1 1 2 2 3 3 n n o ˆ1.x pt hoi quy tt mau 1 .
statistic : ˆ0 ( y intercept) and ˆ1 ( slope).
*Test :
1) H 0 : 1 10
ˆ1 10
t0 . If | t0 | t then reject H 0
se ˆ
1 2
;n 2
2) H 0 : 0 00
ˆ0 00
t0 . If | t0 | t then reject H 0
se ˆ
0 2
;n 2
where the slope and intercept of the line are called regression
coefficients.
The simple linear regression model is given by
Also, since the points (1, y1), (2, y2), (3, y3), and (4, y4)
must be solutions of y = β1 x + β0 , it follows that
y1 1 (1) 0 1 0
y2 1 (2) 0 2 1 0
y3 1 (3) 0 31 0
y4 1 (4) 0 4 1 0
Substituting these values for each y in the previous
equation, we now have a function of two variables.
11-2 Simple Linear Regression
L( 1 , 0 ) ( 1 0 5.2) 2 (2 1 0 8.9) 2
(31 0 11.7) (4 1 0 16.8)
2 2
L
2( 1 0 5.2) 2(2 1 0 8.9)
0
2(31 0 11.7) 2(4 1 0 16.8)
20 1 8 0 85.2
and
L
2( 1 0 5.2) 2(2 1 0 8.9)2
1
2(31 0 11.7)3 2(4 1 0 16.8)4
60 1 20 0 250.6
11-2 Simple Linear Regression
Slide 6.4-19
11-2 Simple Linear Regression
Figure 11-3
Deviations of the
data from the
estimated
regression model.
11-2 Simple Linear Regression
Figure 11-3
Deviations of the
data from the
estimated
regression model.
11-2 Simple Linear Regression
Definition
11-2 Simple Linear Regression
Example
To study the relationship between ticket prices and number of passengers on each flight, research, 11 commercial flights, we have the following data table:
Notation
11-2 Simple Linear Regression
Estimating 2
The error sum of squares is
Estimating 2
An unbiased estimator of 2 is
n n
SST yi y yi2 ny 2
2
i 1 i 1
11-3 Properties of
the Least Squares Estimators
• Slope Properties
• Intercept Properties
11-3 Properties of
the Least Squares Estimators
respectively, where ̂ 2
is computed from 11 -13.
11-4 Hypothesis Tests in
Simple Linear Regression
11-4.1 Use of t-Tests
Suppose we wish to test
Example 11-8
11-8 Correlation