Professional Documents
Culture Documents
Learning Outcomes
1
7/14/2015
3 Basic Biostat
4 Basic Biostat
2
7/14/2015
Regression Modeling
A simple regression
model (one independent
variable) fits a regression
line in 2-dimensional
space
A multiple regression
model with two
independent variables fits
a regression plane in 3-
dimensional space
Basic Biostat 5
6 Basic Biostat
3
7/14/2015
7 Basic Biostat
4
7/14/2015
A multiple regression
model with k independent
variables fits a regression
“surface” in k + 1
dimensional space (cannot
be visualized)
9 Basic Biostat
10
5
7/14/2015
12
6
7/14/2015
7
7/14/2015
17
18
8
7/14/2015
19
20
9
7/14/2015
Analysis of Variance
Source DF SS MS F P-value
Regression ? 5990.4 2995.4 ? 0.000
Residual Error 22 115.2 5.2
Total ? 6105.9
10
7/14/2015
Hypotheses: H 0 : 1 2 3 .... k 0
H 1 : at least one j 0
MS R
Test statistic: F0
MS E
SSR SSE
where: MS R MS E
k n p
MS R
Rejection criteria: F0 f , k , n p
MS E
23
SSR
Regression SSR k MS R F = MSR/MSE
k
SSE
Error SSE n – (k+1) MS E
n (k 1)
Total SST n–1
24
11
7/14/2015
Test statistic ˆ j j , 0
T0
se ( ˆ ) j
Reject H0 if T0 t / 2 , n p
A 100 (1 – )% CI for an individual regression coefficient is
ˆ j t / 2 , n ( k 1) ( se )( ˆ j ) j ˆ j t / 2 , n ( k 1) ( se )( ˆ j )
25
s2
12
7/14/2015
Analysis of Variance
Source DF SS MS F P-value
Regression 2 5990.4 2995.4 572.17 0.000
Residual Error 22 115.2 5.2
Total 24 6105.6
Reject H0 if F0 f , k , n ( p )
y x1 x2
6.4 1.32 1.15
15.05 2.69 3.4 a) Estimate the multiple
18.75 3.56 4.1 linear regression equation
30.25 4.41 8.75 form the data.
44.86 5.35 14.82
48.94 6.3 15.15
51.55 7.12 15.32
61.5 8.87 18.18
100.44 9.8 35.19
111.42 10.65 40.4
13
7/14/2015
Solution:
Y X1 X2 X1-square X2-square X1X2 X1Y X2Y
30
14
7/14/2015
Solution:
Using the computer for computations, the following results were
observed.
Regression Analysis: cooking time versus width, temperature
The regression equation is ????
Analysis of Variance
Source DF SS MS F P
Regression ??? 10953.334 5476.667 13647.872 0.000
Residual Error 7 2.809 0.401
Total ??? 10956.143
15
7/14/2015
Solution:
Using the computer for computations, the following results were
observed.
Regression Analysis: cooking time versus width, temperature
The regression equation is
Cooking time = 0.568 + 2.706 width + 2.051 temperature
Analysis of Variance
Source DF SS MS F P
Regression 2 10953.334 5476.667 13647.872 0.000
Residual Error 7 2.809 0.401
Total 9 10956.143
Example 2 ( continued):
b) Test whether the regression explained by the model obtained in
part (a) is significant at the 0.01 level of significance.
Solution:
H 0 : 1 2 0
H 1 : 1 and 2 are not both zero
16
7/14/2015
Source DF SS MS F P
Regression 2 10953.334 5476.667 13647.872 0.000
Residual Error 7 2.809 0.401
Total 9 10956.143
END
37
17