Professional Documents
Culture Documents
TU PS7 Ch8 - Tu
TU PS7 Ch8 - Tu
Introduction
CI on of
1. Introduction
arbitrary
2. CI on of a N(, σ2): σ2 known
distribution
3. CI on of a N(, σ2): σ2 unknown
CI on σ2 of a
Normal 4. CI on of any distribution: large-sample
CI for p 5. CI on σ2 a normal distribution
Summary 6. CI for the proportion p: large-sample
13/03/24 Department of Mathematics 1/28
INTRODUCTION
Introduction
Introduction
• A confidence interval estimate for is an interval of the form
CI on of a N(, l ≤ ≤ u, where the endpoints l and u are computed from the
σ2): σ2 Known sample data.
CI on of a N(, • Because different samples will produce different values of l
σ2): σ2 Unknown and u, these end-points are values of random variables L and U,
respectively.
CI on of
arbitrary • Suppose that we can determine values of L and U such that the
distribution following probability statement is true:
CI on σ2 of a
Normal P(L ≤ ≤ U) = 1 - α
CI for p
CI on of a N(,
• After we have selected the sample: X1 = x1, X2 = x2 , … , Xn =
σ2): σ2 Known xn, and computed l and u, the resulting confidence interval for
is
CI on of a N(,
σ2): σ2 Unknown
l ≤≤ u
CI on of
arbitrary
distribution Upper-confidence limit
Lower-confidence limit
CI on σ2 of a
Normal
=NORMSINV(1- α/2)
CI on of a N(, zα/2 such that
σ2): σ2 Unknown
X
CI on of P ( z / 2 z / 2 ) 1
arbitrary / n
distribution
or
CI on σ2 of a
Normal P ( X z / 2 X z / 2 )
n n
CI for p
Summary L U
13/03/24 Department of Mathematics 4/28
CI ON OF A N(, σ2): σ2 KNOWN
Introduction
CI on
CI on µ of
of aa N(µ,
N(,
σσ2):
): σσ22 Known
Known
2
Theorem
Theorem
CI on of a N(, IfIf x isisthe
thesample
samplemean
meanof
ofaarandom
randomsample
sampleof
ofsize
sizennfrom
fromaa
σ2): σ2 Unknown normal
normalpopulation
populationwith
withknown
knownvariance,
variance,(1
(1––α)-CI onisis
α)-CIon
given
givenby
by
CI on of
arbitrary
distribution x z / 2 x z / 2
n n
CI on σ2 of a
Normal
CI for p
Summary
CI on σ2 of a
Normal Solution: We have x = 22.9; σ = 1.5; 1 – α =0.9;
CI for p α = 0.1 zα/2 = NORMSINV(1- 0.1/2) = 1.645
Summary
CI on
CI on µ of
of aa N(µ,
N(, Confidence interval:
σσ2):
): σσ22 Known
Known
2
1 .5 1 .5
CI on of a N(, 22 .9 1.645 22 .9 1.645
σ2): σ2 Unknown 20 20
CI on of or
arbitrary
distribution 22.3 ≤ μ ≤ 23.5
CI on σ2 of a Point estimate
Normal 22.3 22.9 23.5
( • )
CI for p x
Summary
CI on
CI on µ of
of aa N(µ,
N(,
σσ2):
): σσ22 Known
Known
2
CI on of a N(,
σ2): σ2 Unknown
CI on of
arbitrary
distribution
CI on σ2 of a
Normal
CI for p
Figure 8-1 Repeated construction of a confidence interval
Summary for .
13/03/24 Department of Mathematics 8/28
CI ON OF A N(, σ2): σ2 KNOWN
Introduction
Confidence Level and Precision of Estimation
CI on
CI on µ of
of aa N(µ,
N(,
σσ2):
): σσ22 Known
Known
2
The length of a confidence interval is a measure of the
CI on of a N(, precision of estimation.
σ2): σ2 Unknown
CI on of
arbitrary
distribution
CI on σ2 of a
Normal
CI for p
Summary
Figure 8-2 Error in estimating with x.
13/03/24 Department of Mathematics 9/28
CI ON OF A N(, σ2): σ2 KNOWN
Introduction
Theorem
Theorem Choice
ChoiceofofSample
SampleSize
Size
CI on
on µ of
of aa N(µ,
N(,
CI
σσ2):
2
): σσ22 Known
Known IfIf x isisused
usedas
asananestimate
estimateof of,,wewecancanbe
be(1
(1––α)-
α)-
confident
confidentthat thatthe error| | x --| |will
theerror willnot
notexceed
exceedaaspecified
specified
CI on of a N(,
amount
amountEEwhen whenthethesample
samplesize sizeisis
σ2): σ2 Unknown
2
z / 2
CI on of n
arbitrary E
distribution
CI on σ2 of a
Normal
CI for p
Summary
CI on
CI on µ of
of aa N(µ,
N(,
σσ2):
): σσ22 Known
Known
2
Theorem
Theorem One-Sided
One-SidedConfidence
ConfidenceBounds
Bounds
CI on of a N(, AA(1
(1––α)
α)upper-confidence
upper-confidencebound forisis
boundfor
σ2): σ2 Unknown
CI on of
x z
arbitrary
n
distribution
AA(1
(1––α)
α)lower-confidence
lower-confidencebound forisis
boundfor
CI on σ2 of a
Normal x z
n
CI for p
Summary
CI for p
Summary
CI on of a N(,
σ2): σ2 Known
CI on µ of a N(µ,
N(,
σσ2):
2
): σσ Unknown
22
Unknown
CI on of
arbitrary
distribution
CI on σ2 of a
Normal
CI on of a N(, Theorem
Theorem ttdistribution
distribution
σ2): σ2 Known
Let
LetXX11,,XX22,,…
…,,XXnnbe
beaarandom
randomsample
samplefrom
fromaanormal
normal
distribution
distributionwithwithunknown meanand
unknownmean andunknown
unknownvariance
varianceσσ2..
2
CI on µ of a N(µ,
N(,
σσ2):
2
): σσ Unknown
22
Unknown The
Therandom
randomvariable
variable
X
CI on of T
arbitrary S/ n
distribution
CI on σ2 of a
Normal has
hasaattdistribution
distributionwith
withnn--11degrees
degreesof
offreedom.
freedom.
CI for p
Summary
CI on µ of a N(µ,
N(, ••AA(1
(1––α)-percent
α)-percentconfidence
confidenceinterval onisisgiven
intervalon givenby
by
σσ2):
2
): σσ Unknown
22
Unknown
s s
x t / 2 , n 1 x t / 2 , n 1
CI on of n n
arbitrary
distribution
••AA(1
(1––α)
α)upper-confidence
upper-confidencebound forisis
boundfor
s =TINV(α,n-1)
CI on σ2 of a x t ,n 1
Normal n
CI for p
••AA(1
(1––α)
α)lower-confidence
lower-confidence s for
bound
bound forisis
x t
, n 1
Summary n
13/03/24 Department of Mathematics 15/28
CI ON OF A N(, σ2): σ2 UNKNOWN
Introduction
Example
CI on of a N(,
σ2): σ2 Known
An article in the journal Materials Engineering describes the
results of tensile adhesion tests on 22 U-700 alloy specimens.
CI on µ of a N(µ,
N(, The population is normally distributed. The load at specimen
σσ2):
2
): σσ Unknown
22
Unknown failure is as follows:
CI on of 19.8 10.1 14.9 7.5 15.4 15.4 15.4 18.5 7.9 12.7 11.9 11.4 11.4
arbitrary 14.1 17.6 16.7 15.8 19.5 8.8 13.6 11.9 11.4
distribution
Find a 95% CI on .
CI on σ2 of a Solution: We have x = 13.71 and s = 3.55
Normal
α = 1- 0.95 = 0.05; n = 22 tα/2,n-1= TINV(0.05,21) = 2.08
CI for p
A 95% CI on is
Summary
CI on
on µ of
of has
hasan
anapproximate
approximateNN(0, (0,1).
1).Consequently,
Consequently,
CI
arbitrary s s
distribution x z / 2 x z / 2
n n
CI on σ2 of a
Normal isisaalarge
largesample
sampleconfidence
confidenceinterval for,
intervalfor ,with
withconfidence
confidence
level
levelof ofapproximately
approximately(1
(1––α).
α).
CI for p
Summary
CI on
CI on µ of
of
arbitrary
distribution
CI on σ2 of a
Normal Find an approximate 95% CI on .
CI for p Solution: We have x = 0.5250 and s = 0.3486
Summary
α = 1- 0.95 = 0.05; zα/2= 1.96
13/03/24 Department of Mathematics 18/28
ARBITRARY DISTRIBUTION: A LARGE-SAMPLE
Introduction
Distribution of mercury concentration is not normal
CI on of a N(,
σ2): σ2 Known
CI on of a N(,
σ2): σ2 Unknown
CI on
CI on µ of
of
arbitrary
distribution
CI for p
Summary
k x
CI on of a N(, 1 1
σ2): σ2 Unknown f ( x) k / 2 x2 e 2 , x0
2 (k / 2)
CI on of
arbitrary isiscalled
calledaaχχ2variable
2
variablerandom
randomwith
withkkdegrees
degreesof
offreedom
freedom
distribution
CI on σ22 of a
Normal
CI for p
Summary
k x
CI on of a N(, 1 1
σ2): σ2 Unknown f ( x) k / 2 x2 e 2 , x0
2 (k / 2)
CI on of
arbitrary
distribution
CI on σ22 of a
Normal
CI for p
Summary
1 , n 1
CI on σ22 of a
Normal
( n 1) s 2
CI for p ••AA(1 lower-confidence
(1 – α) lower-confidence boundfor
– α) bound
2
forσσ2isis
2
,n 1
Summary
CI on of a N(,
σ2): σ2 Unknown
CI on of
arbitrary
distribution
CI on σ22 of a
Normal
CI for p
Summary
CI for p
Summary
Summary
0.265 p 0.315
13/03/24 Department of Mathematics 26/28
CI FOR p: A LARGE-SAMPLE
Introduction
CI on of a N(,
Theorem
Theorem Choice
Choiceof
ofSample
SampleSize
Size
σ2): σ2 Known IfIf p̂ isisused
usedas
asananestimate
estimateof ofpp,,wewecan
canbe
be(1
(1––α)-
α)-
CI on of a N(,
confident
confidentthat thatthe error| |p̂ --pp| |will
theerror willnot
notexceed
exceedaaspecified
specified
σ2): σ2 Unknown amount
amountEEwhen whenthethesample
samplesize sizeisis
CI on of z / 2 2
arbitrary
n( ) p (1 p )
distribution
E
≤1/4
An
Anupper
upperbound
boundon
onnnisisgiven
givenby
by
CI on σ2 of a
Normal z / 2 2
n( )
CI for p 2E
Summary
CI on of a N(,
Theorem
Theorem One-Sided
One-SidedConfidence
ConfidenceBounds
Bounds
σ2): σ2 Known AA(1
(1––α)
α)upper-confidence
upper-confidencebound
boundfor
forppisis
CI on of a N(, pˆ (1 pˆ )
σ2): σ2 Unknown p pˆ z
n
CI on of
arbitrary AA(1
(1––α)
α)lower-confidence
lower-confidencebound
boundfor
forppisis
distribution
pˆ (1 pˆ )
CI on σ2 of a
pˆ z p
Normal
n
CI for p
Summary
CI on of
3. CI on of any distribution: large-sample
arbitrary
4. CI on σ2 a normal distribution
distribution
5. CI for the proportion p: large-sample
CI on σ of a
2
Normal
Homework: Read slides of the next lecture.
CI for p
Summary