Interval Estimation
Interval Estimation
Interval estimation
estimate.
Pθ (θ ∈ C(X)) = 1 − α.
1
For a scalar θ we would usually like to find an interval
confidence interval.
2
Example: Normal, unknown mean and variance. Let
√
σ 2 are unknown. Then (X − µ)/(S/ n) ∼ tn−1 and so
1−α
X −µ
= Pµ,σ2
√ ≤ tn−1,1−α/2
S/ n
√ √
= Pµ,σ2 (X − tn−1,1−α/2S/ n ≤ µ ≤ X + tn−1,1−α/2S/ n),
√
X ± tn−1,1−α/2S/ n
3
Construction of confidence sets
Pivotal quantities
√
Example: (X−µ)/(S/ n) in the example above has tn−1-distribution
4
We use pivotal quantities to construct confidence sets, as follows.
Pθ (a ≤ t(X, θ) ≤ b) = 1 − α.
interval for θ.
5
Example: Exponential random sample.
Gamma(n, 1).
1 − α = Pµ(nX/µ ≥ gn,α )
= Pµ(µ ≤ nX/gn,α ).
6
Confidence sets derived from point estimators
terval choose
√
a1−α = b1−α = z1−α/2 v.
further approximation.
7
Approximate confidence intervals
θ̂ ≈ N (θ, I −1(θ)).
r
θ̂ ± z1−α/2/ I(θ̂)
8
Sometimes we can improve the accuracy by applying (monotone)
tion should be used on a scale where a quantity ranges over (−∞, ∞).
9
Example: Bivariate normal distribution. Let (Xi, Yi),
tion, with unknown mean vector and covariance matrix. The param-
Pn
i=1 (Xi − X)(Yi − Y )
R= r
Pn
,
i=1 (Xi − X)2 ni=1(Yi −Y )2
P
R ≈ N (ρ, (1 − ρ2)2/n),
1
Z= log[(1 + R)/(1 − R)];
2
delta method,
Z ≈ N (ζ, 1/n)
√
ζ compute the interval limits Z ± z1−α/2/ n, then transform these
11
Confidence intervals derived from hypothesis tests
use H1 : θ 6= θ0; to find an upper confidence limit use H1− : θ < θ0.
12
Example: Normal, known variance, unknown mean.
X − µ0
√ ≤ z1−α/2.
σ/ n
√ √
[X − z1−α/2σ/ n, X + z1−α/2σ/ n];
13
For H0 : µ = µ0 versus H1− : µ < µ0 the UMP test accepts H0 if
√
X ≥ µ0 − z1−α/2σ/ n
i.e., if
√
µ0 ≤ X + z1−α/2σ/ n.
√
So an upper 1 − α confidence limit for µ is X + z1−α/2σ/ n.
14
Hypothesis test from confidence regions
val:
test.
is 100(1 − α)% upper confidence region for θ, then for a size α test
reject H0 if θ0 6= C(X).
15
Example: Normal, known variance. Let X1, . . . , Xn ∼
confidence region is
√ √
[X − z1−α/2σ/ n, X + z1−α/2σ/ n],
so reject H0 if
X − µ0
√ > z1−α/2.
σ/ n
16
To test H0 : µ = µ0 versus H1− : µ < µ0: an upper 100(1 − α)%
√
confidence region is X + z1−α/2σ/ n, so reject H0 if
√
µ0 > X + z1−α/2σ/ n
i.e. if
√
X < µ0 − z1−α/2σ/ n.
17
We can also construct approximate hypothesis test based on ap-
test.
18
Prediction Sets
for which
P(Xn+1 ∈ P (X)) = 1 − α.
prediction set is
19
Example: Normal, unknown mean and variance. Let
Xn+1 − X
t(X, Xn+1) = r .
S 1 + n1
2
As X ∼ N (µ, σn ) and Xn+1 ∼ N (µ, σ 2) is independent of X, it
follows that Xn+1 − X ∼ N (0, σ 2(1 + 1/n)), and so t(X, Xn+1) has
tn−1 distribution.
20