Chapter 4: Point Estimators and Confidence Interval: Phan Thi Khanh Van
Chapter 4: Point Estimators and Confidence Interval: Phan Thi Khanh Van
Chapter 4: Point Estimators and Confidence Interval: Phan Thi Khanh Van
Interval
E-mail: khanhvanphan@hcmut.edu.vn
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 1 / 36
Table of Contents
1 Point Estimator
Sampling Distributions
Point Estimation
2 Confidence Interval
Confidence Interval on the Mean of a Normal Distribution,Variance
Known
Confidence Interval on the Mean of a Normal Distribution,Variance
Unknown
Large-Sample Confidence Interval for a Population Proportion
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 2 / 36
Random Sample
The random variables X1 , X2 , ..., Xn are a random sample of size n if
the Xi s are independent random variables
every Xi has the same probability distribution.
Statistic
A statistic is any function of the observations in a random sample.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 3 / 36
Sampling Distribution
Sampling Distribution
The probability distribution of a statistic is called a sampling distribution.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 4 / 36
Sampling Distribution
X̄ − µ
Z= √
σ/ n
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 5 / 36
Sampling Distribution
Example
Suppose that a random variable X has a continuous uniform distribution
(
0.3, 4 ≤ x ≤ 8,
f =
0, 4 < x or x > 8
5.9−6
=P Z< q
1
≈ P(Z < −0.55) = 0.2912.
30
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 6 / 36
Example
Suppose that X has a discrete uniform distribution
(
1/3, x = 1, 2, 3
f (x) =
0, otherwise
µ = (1 + 2 + 3) 13 = 2.
q
σ = (12 + 22 + 32 ) 13 − 22 = 0.8165.
q
σX̄ = √σn = 54 1
= 0.1361
2.1 − 2 2.5 − 2
P(2.1 < X̄ < 2.5) = P( q <Z < q )
1 1
54 54
≈ P(0.7348 < Z < 3.6742) = Φ(3.6742) − Φ(0.7348)
≈ 0.2326.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 7 / 36
Point Estimator
Point Estimator
A point estimate of some population parameter θ is a single numerical
value θ of a statistic θ̂. The statistic θ̂ is called the point estimator.
Example
Suppose that the random variable X is normally distributed with an
unknown mean µ. After the sample has been selected, the sample mean
X̄ is a point estimator of the unknown population mean µ.
That is, µ̂ = X̄ .
Thus, if x1 = 25, x2 = 30, x3 = 29, and x4 = 31, the point estimate of µ
is
x̄ = x1 +x2 +x
4
3 +x4
= 28.75.
Similarly, a point estimator for σ is the sample variance S 2 , and the
2
2 2
numerical value s 2 = (x1 −x̄) +...+(x
3
4 −x̄)
= 6.9167 calculated from the
sample data is called the point estimate of σ 2 .
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 8 / 36
Example: Normal Distribution Estimators
A team of analytic specialists has been investigating the cycle time to
process loan applications. The specialists’ experience with the process
informs them that cycle time is normally distributed with parameter µ and
σ 2 . A recent random sample of 10 applications gives the following (in
hours): 24.1514, 27.4145, 20.4000, 22.5151, 28.5152, 28.5611, 21.2489,
20.9983, 24.9840, 22.6245.
Use the sample mean and variance to estimate µ and σ.
10
1 P
µ̂ = X̄ = 10 Xi = 24.1413.
v i=1
u n
uP
u (Xi − X̄ )2
√
σ̂ = i=1
t
= 9.6974 = 3.1141.
n−1
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 9 / 36
Bias of an Estimator
The point estimator θ̂ is an unbiased estimator for the parameter θ if
E (θ̂) = θ.
If the estimator is not unbiased, then the difference E (θ̂) − θ is called the
bias of the estimator θ̂.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 10 / 36
Estimation problems occur frequently in engineering. Reasonable point
estimates:
The mean µ of a single population: µ̂ = x̄: sample mean.
The variance σ 2 (or standard deviation σ) of a single population:
σ̂ 2 = s 2 : sample variance.
The proportion p of items in a population that belong to a class of
interest: p̂ = x/n: sample proportion.
The difference in means of two populations, µ1 − µ2 :
µ̂1 − µ̂2 = x¯1 − x¯2 .
The difference in two population proportions, p1 − p2 : p̂1 − p̂2 .
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 11 / 36
Example: Exponential Distribution Moment Estimator
The time to failure of an electronic module used in an automobile engine
controller is tested at an elevated temperature to accelerate the failure
mechanism. The time to failure is exponentially distributed with the
parameter λ. Eight units are randomly selected and tested, resulting in the
following failure time (in hours):
11.96, 5.03, 67.40, 16.07, 31.50, 7.73, 11.10, 22.38. Use the
sample mean to estimate λ
1 1 1
λ̂ = = 8
= 21.6462 = 0.0462.
µ̂ 1 P
8 Xi
i=1
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 12 / 36
Example: Gamma Distribution Moment Estimators
The time to failure of an electronic module used in an automobile engine
controller is tested at an elevated temperature to accelerate the failure
mechanism. The time to failure has Gamma distribution with the
parameters r and λ. Eight units are randomly selected and tested,
resulting in the following failure time (in hours):
11.96, 5.03, 67.40, 16.07, 31.50, 7.73, 11.10, 22.38. Find
the estimate of λ and r using the sample mean and variance.
8
rˆ 1 P
= µ̂ = X̄ = 8 Xi = 21.6462.
λ̂
i=1
(Xi − X̄ )2
P 8
rˆ
= σˆ2 = s 2 = 1
X̄ )2
P
= 7 (Xi − = 413.8491.
λ̂2 n−1 i=1
Hence,
21.6462
λ̂ = 413.8491 = 0.0523.
rˆ = λ̂.µ̂ = 1.1322.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 13 / 36
Confidence Interval
Example
There is an ASTM Standard E23 that defines a technique called the
Charpy V-notch method for notched bar impact testing of metallic
materials. The impact energy is often used to determine whether the
material experiences a ductile-to-brittle transition as the temperature
decreases.
Suppose that we have tested a sample of 10 specimens of a particular
material with this procedure. We estimate the true mean impact energy
µ by the sample average X̄ . Our estimate could be very close, or it could
be considerably far from the true mean.
A way to avoid this is to report the estimate in terms of a range of
plausible values called a confidence interval (CI): I .
A confidence interval always specifies a confidence level, usually 90%,
95%, or 99%, which is a measure of the reliability of the procedure, for
example: P(µ ∈ I ) = 0.9.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 14 / 36
Confidence Interval (CI) on the Mean of a Normal
Distribution,Variance Known
P(L ≤ µ ≤ U) = 1 − α, 0 ≤ α ≤ 1.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 15 / 36
Confidence Interval (CI) on the Mean of a Normal
Distribution,Variance Known
where zα/2 is the upper 100α/2 percentage point of the standard normal
distribution (P(z ≥ zα/2 ) = P(z ≤ −zα/2 ) = α/2).
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 16 / 36
Confidence Interval on the Mean of a Normal
Distribution,Variance Known
Example: Metallic Material Transition
ASTM Standard E23 defines standard test methods for notched bar
impact testing of metallic materials. The Charpy V-notch (CVN)
technique measures impact energy and is often used to determine whether
or not a material experiences a ductile-to-brittle transition with decreasing
temperature. Ten measurements of impact energy (J ) on specimens of
A238 steel cut at 60o C are as follows: 64.1, 64.7, 64.5, 64.6, 64.5, 64.3,
64.6, 64.8, 64.2, 64.3. Assume that impact energy is normally distributed
with σ = 1J. We want to find a 95% CI for µ, the mean impact energy.
10
1 P
X̄ = 10 Xi = 64.46. α = 0.05, P(Z ≥ zα/2 ) = 0.025 ⇒ zα/2 = 1.96.
i=1
A 95% CI: x̄ − zα/2 √σn ≤ µ ≤ x̄ + zα/2 √σn
⇔ 64.46 − 1.96 √110 ≤ µ ≤ 64.46 + 1.96 √110
⇔ 63.84 ≤ µ ≤ 65.08.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 17 / 36
Confidence Interval (CI) on the Mean of a Normal
Distribution,Variance Known
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 18 / 36
Confidence Interval (CI) on the Mean of a Normal
Distribution,Variance Known
X̄ − µ
Z= √
S/ n
has approximately a standard normal distribution. Consequently,
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 23 / 36
v
u n
uP
u (Xi − X̄ )2
n = 53, X̄ = 0.525, S = i=1
t
= 0.3486.
n−1
Because n > 40, the assumption of normality is not necessary.
The approximate 95% CI on mean is
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 24 / 36
Confidence Interval on the Mean of a Normal
Distribution,Variance Unknown
t Distribution
Let X1 , X2 , ..., Xn be a random sample from a normal distribution with
unknown mean µ and unknown variance σ 2 . The random variable
X̄ −µ
T = √
S/ n
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 25 / 36
Let tα,k be the value of the random variable T with k degrees of freedom
above which we find an area (or probability) α. Thus, tα,k is an
upper-tailed 100α percentage point of the t distribution with k degrees of
freedom.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 26 / 36
The following table provides percentage points of the t distribution.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 27 / 36
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 28 / 36
Confidence Interval on the Mean, Variance Unknown
If X̄ and S are the mean and standard deviation of a random sample from
a normal distribution with unknown variance σ 2 , a 100(1 − α)%
confidence interval on µ is given by
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 29 / 36
Confidence Interval on the Mean of a Normal
Distribution,Variance Unknown
Example
The compressive strength of concrete, which is normally distributed, is
being tested by a civil engineer who tests 12 specimens and obtains the
following data:
2216, 2237, 2249, 2204, 2225, 2301, 2281, 2263, 2318, 2255, 2275, 2295.
distributed. Include a graphical display in your answer.
(a) Construct a 95% two-sided confidence interval on the mean strength.
(b) Construct a 95% lower confidence bound on the mean strength.
12
1 P
a) X̄ = 12 Xi = 2259.9167.
v i=1
u n
uP
u (Xi − X̄ )2
S = i=1
t
= 35.5693.
n−1
α = 0.05, n = 12, tα/2,n−1 = 2.201.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 30 / 36
A 95% two-sided CI on the mean strength is:
X̄ − tα/2,n−1 √Sn ≤ µ ≤ X̄ + tα/2,n−1 √Sn
⇔ 2259.9167 − 2.201 35.5693
√
12
≤ µ ≤ 2259.9167 + 2.201 35.5693
√
12
⇔ 2237.3169 ≤ µ ≤ 2282.5165
b) α = 0.05 ⇒ tα,n−1 = 1.796.
A 95% lower confidence bound on the mean strength is:
µ ≥ X̄ − tα,n−1 √Sn
⇔ µ ≥ 2259.9167 − 1.796 35.5693
√
12
⇔ µ ≥ 2241.4754.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 31 / 36
Large-Sample Confidence Interval for a Population
Proportion
It is often necessary to construct confidence intervals on a population
proportion. Suppose that a random sample of size n has been taken
from a large (possibly infinite) population and that X (≤ n) observations in
this sample belong to a class of interest. P̂ = X /n is a point estimator of
the proportion p of the population that belongs to this class. Note that n
and p are the parameters of a binomial distribution.
Normal Approximation for a Binomial Proportion
If n is large, the distribution of
Z = √X −np = qp̂−p
p(1−p)
np(1−p)
n
where zα/2 is the upper α/2 percentage point of the standard normal
distribution.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 33 / 36
Large-Sample Confidence Interval for a Population
Proportion
Example: Crankshaft Bearings
In a random sample of 85 automobile engine crankshaft bearings, 10 have
a surface finish that is rougher than the specifications allow. Find a 95%
two-sided confidence interval for the proportion of bearings in the
population that exceeds the roughness specification.
(Phan Thi Khanh Van) Chap 4: Point estimators and Confidence Interval December 15, 2020 36 / 36