Professional Documents
Culture Documents
Week 4
Confidence Interval
&
Hypothesis Testing
Gujarati(2003): Chapter 5
(Computing Tutorial #2: Application of Phillips Curve Theory for the Case of Hong Kong)
̂1 ̂2 ̂ 2
2. Min. Variance Se ˆ x
2
2
n x
1 2
2
x 2
6. ˆ ~ N 1 , 2ˆ
1 1
ˆ ~ N 2 , 2ˆ
2 2
n 2 ˆ 2 x 2
~ (n 2 )
2
true
̂2
̂2 2 ̂2
Random interval (confidence interval)
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
Hypothesis Testing and Confidence Interval4.6
̂ is called lower confidence bound
ˆ
is called upper confidence bound
ˆ ˆ
the interval between ( and ( is
called random interval (confidence interval)
0.99
Pr( ˆ 2- < 2 < ˆ 2+ ) = (1-) 0.95
0.90
which (1-) is confidence coefficient:
(0< <1)
0.01
is also called the level of significance. 0.05
0.10
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.7
Constructing Confidence Interval for i
By assumptions:
u i ~ N O, u
2 Var(u) =
E() = O
ˆ ~ N 1 ,2ˆ 2
xi
2
ˆ
2
1 1
n x i2 1
ˆ ~ N 2 ,ˆ2 2
ˆ 2
2 2 2
xi 2
f ̂2
Actual estimated 2
could be fallen into
these regions
̂2
Ê2 2
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.9
Constructing Confidence Interval for i (cont.)
ˆ 2 2
Z
Se ˆ
O
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.10
Constructing Confidence Interval for i
(cont.)
Use the normal distribution to make
probabilistic statements about 2 provided the
true 2 is known
ˆ 2 2
Z
Se ˆ 2
~ N 0 ,1
2
ˆ x
2 2
In practice this is unobserved
For example:
Accept
region
95%
2.5%
2.5%
1.96 0 1.96
Pr 1 . 96 Z 1 . 96 0 . 95
ˆ 2 2
Pr 1 . 96 1 . 96 0 . 95
Se (ˆ 2 )
95% confidence interval:
ˆ 2 2
1 . 96 1 . 96
Se (ˆ 2 )
ˆ 2 2
t 2 a specified value
Seˆ 2
^2
where Se ˆ 2
x 2
estimator true parameter
t
s tan dard error of estimator
ˆ2 2 x 2
t
ˆ
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
Constructing Confidence Interval for i
(cont.) 4.16
2 2
c
where t is critical t value at two-tailed
, n2
2
2
level of significance. is level of significance
and (n-2) is degree of freedom (in 2-variable case).
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
Constructing Confidence Interval for i 4.17
(cont.)
Therefore
c ˆ 2 2
Pr t 0 .05 , n 2
c
t 0 .05 , n 2 0 .90
Se ˆ
2
Pr( -tc0.025, n-2 (2^- 2)/Se(^
2) t 0.025, n-2 ) = 0.95
c
Rearranging,
Pr ˆ 2 t 0.05 , n 2 * Se ˆ 2 2 ˆ 2 t 0.05 , n 2 Se ˆ 2
c c
0 .90
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.18
Then 90% confidence interval for 2 is:
ˆ 2 t 0.05 , n 2 Se ˆ 2
c
Seˆ 2
c
̂2 t *
0.025, n-2
H0: 2= 0
H1: 2 0
0.5091 - 0
=
0.0357
Se(β^2)
SEE=
^ RSS
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.20
Example: Gujarati (2003)pp.123
Given ˆ = 0.5091, n = 10, Se(ˆ = 0.0357,
95% confidence interval is:
ˆ t c Se( ˆ 2 )
2 ,
2 n 2
c
0 .5091 t 0 .025 , 8 ( 0 .0357 )
0 .5091 0 .0823
( 0 .4268 , 0 .5914 )
c
0 .5091 t 0.05 ,8 ( 0 .0357 )
0.5091 1.860(0.0357)
0.5091 0.0664
(0.4427, 0.5755)
Step 2: ˆ 2 2
t*
Se ˆ 2
Computed value
c
Step 3: check t-table for t
, n2
Right-tail left-tail
Se ˆ 2 Se ˆ 2
c
ˆ 2 t c 2 ˆ 2 t
2, n2
2, n 2
H1 : ˆ 2 0.3
1. Compute:
ˆ 2 2
t
Se
ˆ2
0 . 5091 0 . 3 0 . 2091
t 5.857
0 . 0357 0 . 0357
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.27
One-Tailed t-test (cont.)
H 0 : 2 2
ˆ *
“ Decision rule for left-tail test”
ˆ
H1 : 2 2
*
If t < - tc df => reject H0
left-tail
*
^
^ tc• Se()
*- ^
All rights reserved by Dr.Bill Wan Sing Hung - HKBU
4.29
Two-Tailed t-test
Suppose we postulate that
H 0 :ˆ 2 0.3
H1 : ˆ 2 0.3
Is the observed ̂ compatible with true 2 ?
2