Professional Documents
Culture Documents
010 Class 15
Confidence Intervals
Interval Estimates
a L ≤ a ≤ aU
Standardized Statistics
aˆ − a
z (aˆ , a) =
SD(aˆ )
Example:
Suppose:
Then:
m x − E[ x ] m x − E[ x ]
z (aˆ , a ) = =
SD(m x ) SD( x)
N
1
Deriving Interval Estimates
P[ z L ≤ z (aˆ , a ) ≤ zU ] = 1 − α
Suppose that [zL, zU] is selected so that the probability that z lies above the
interval is the same as the probability that it lies below the interval. This
gives a two-sided interval [zL, zU] for z:
α
P[ z (aˆ , a) ≤ z L ] = Fz ( z L ) =
2
α
P[ z (aˆ , a) ≥ zU ] = 1 − Fz ( zU ) =
2
α α
z L = FZ−1 zU = FZ−1 1 −
2 2
From the Central Limit Theorem we know that â is normal and that z has a
unit normal distribution [i.e. z~ N(0,1)] for large sample sizes. In this
case the CDF Fz(z) and its inverse can be evaluated from standard normal
distribution tables or with the MATLAB functions normcdf and norminv.
aˆ − a
P[ z L ≤ ≤ zU ] = P[ a + z L SD[aˆ ] ≤ aˆ ≤ a + zU SD[aˆ ] ] = 1 − α
SD[aˆ ]
aˆ ≥ a + z L SD[aˆ ] aˆ ≤ a + zU SD[aˆ ]
Now suppose that this relatively likely event occurs when the outcome of a
particular experiment (i.e. the â obtained from a particular random
sample) is aˆ . Then the true a must satisfy the following inequality:
aˆ − zU SD[aˆ ] ≤ a ≤ aˆ − z L SD[aˆ ]
2
This gives the desired 1-α confidence interval for a:
a L = aˆ − zU SD[aˆ ] aU = aˆ − z L SD[aˆ ]
Summary
Consider the sample mean mx, used to estimate the population mean E[x].
In this case, a = E[x] and aˆ = mx
Use result from Class 13 to derive SD[mx] directly, replacing SD[x] by the
sample standard deviation sx :
SD[ x ] sx
SD[m x ] = ≈
N N
3
So the large sample (assume z is normal) two-sided 95% confidence
interval for the population mean is:
sx sx
m x − 1.96 ≤ E[ x ] ≤ m x + 1.96
N N
Suppose:
[x1, x2,..., x10 ] = [ 0.1 2.9 1.0 1.4 0.23 0.54 1.57 8.0 0.40 1.6]
2.34 2.34
1.77 − 1.96 ≤ E[ x ] ≤ 1.77 + 1.96
10 10
0.32 ≤ E[ x ] ≤ 3.23