Chapter 5. Confidence Interval Estimation - One Population

Download as pdf or txt
Download as pdf or txt
You are on page 1of 21

Confidence Interval and Confidence Level

5.1. Basic Concepts


Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

CONFIDENCE INTERVAL ESTIMATION: ONE


POPULATION

MSc. Nguyễn Hoàng Huy Tú

December 14, 2023


. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


Confidence Interval and Confidence Level
5.1. Basic Concepts
Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

Confidence Interval and Confidence Level

Let
θ: the population parameter (µ, σ 2 , P).
θ̂: the sample statistics (x, s2 , p̂)
We will use the value of θ̂ to make inference about θ.
Definition
Given the probability α. Confidence Interval Estimator is a rule to
find the specific values a and b such that

P(a < θ < b) = 1 − α.

(a, b) is called the confidence interval.


1 − α is called the confidence level.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


Confidence Interval and Confidence Level
5.1. Basic Concepts
Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

Critical Value of Standard Normal Distribution

Definition
Let Z ∼ N(0, 1). Given the probability α. The critical value zα is a
value such that
P(Z > zα ) = α

Note that: α = 1 − F(zα ) ⇒ F(zα ) = 1 − α ⇒ zα can be found in


Appendix Table 1. For example, calculate

z0,15 =?
z0,25 =?
z0,75 =?

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


Confidence Interval and Confidence Level
5.1. Basic Concepts
Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

Critical Value of Standard Normal Distribution

Properties
Let Z ∼ N(0, 1). Given the probability α. Then
z1−α = −zα

P(zα1 < Z < zα2 ) = α1 − α2

P(−zα/2 < Z < zα/2 ) = 1 − α

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


Confidence Interval and Confidence Level
5.1. Basic Concepts
Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

Selected Confidence Levels and Corresponding Critical


Values

Confidence Level 90% 95% 98% 99%

α 0,1 0,05 0,02 0,01

zα/2 1,645 1,96 2,33 2,58

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


Confidence Interval and Confidence Level
5.1. Basic Concepts
Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

Intervals Based on the Normal Distribution

Let X1 , X2 , ..., Xn be a random sample of n observations from a


normally distributed population with unknown mean µ and known
variance σ 2 .
From Chapter 4, we know the sampling distribution for sample mean.
That is
X−µ
Z = √ ∼ N(0, 1).
σ/ n
Now, given the confidence level 1 − α. By the property of critical
value, we have

X−µ
P(−zα/2 < √ < zα/2 ) = 1 − α
σ/ n

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


Confidence Interval and Confidence Level
5.1. Basic Concepts
Critical Value of Standard Normal Distribution
5.2. Confidence Interval Estimation
Intervals Based on the Normal Distribution

Intervals Based on the Normal Distribution

We use basic algebra to find the following:

X−µ
1−α = P(−zα/2 < √ < zα/2 )
σ/ n
σ σ
= P(−zα/2 √ < X − µ < zα/2 √ )
n n
σ σ
= P(X − zα/2 √ < µ < X + zα/2 √ )
n n

σ σ
Therefore, (X − zα/2 √ ; X + zα/2 √ ) is the (1 − α) confidence
n n
interval of the population mean.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

For the Mean of a Normal Distribution: Population


Variance Known
Confidence Interval
Consider a random sample from a normal distribution with mean µ
and variance σ 2 . Given that the variance is known. Then the (1 − α)
confidence interval for the population mean is given by
σ
x ± zα/2 √
n
σ
ME = √ : the margin of error.
n
w = 2ME: the width.
σ
UCL = x + zα/2 √ : the upper confidence limit.
n
σ
LCL = x − zα/2 √ : the lower confidence limit. . . . . . . . . . . . . . . . . . . . .
n . . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Example

A college admissions officer for an MBA program has determined


that historically applicants have undergraduate grade point averages
that are normally distributed with standard deviation 0.45. From a
random sample of 25 applications from the current year, the sample
mean grade point average is 2.90.
a. Find a 95% confidence interval for the population mean.
b. Based on these sample results, a statistician computes for the
population mean a confidence interval extending from 2.81 to 2.99.
Find the confidence level associated with this interval.

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Exercise
Ex 1: A process produces bags of refined sugar. The weights of the
contents of these bags are normally distributed with standard
deviation 1.2 ounces. The contents of a random sample of 25 bags
had a mean weight of 19.8 ounces. Find the upper and lower
confidence limits of a 99% confidence interval for the true mean
weight for all bags of sugar produced by the process.

Ex 2: It is known that the standard deviation in the volumes of


20­ounce (591­millliliter) bottles of natural spring water bottled by a
particular company is 5 millliliters. One hundred bottles are randomly
sampled and measured.
a. Find the margin of error of a 90% confidence interval estimate for
the population mean volume.
b. Calculate the width for a 98% confidence interval for the
population mean volume. .
.
.
.
.
.
.
. . . .
. . .
. .
. .
. .
. .
. . .
. . . .
.
.
.
.
.
.
.
.
.
.
.

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Student’s t Distribution
Definition
Given a random sample of n observations, with mean x and standard
deviation s, from a normally distributed population with mean µ.
Then T follow the Student’s t distribution with (n − 1) degrees of
freedom:
X−µ
T = √ ∼ T(n − 1).
s/ n

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

For the Mean of a Normal Distribution: Population


Variance Unknown

Confidence Interval
Suppose there is a random sample of n observations from a normal
distribution with mean µ and unknown variance. Then the (1 − α)
confidence interval for the population mean is given by
s
x ± tn−1,α/2 √
n

The critical value tn−1,α/2 can be found in Appendix Table 8.


s
ME = tn−1,α/2 √ : the margin of error.
n

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Example

A clinic offers a weight­loss program. A review of its records found


the following amounts of weight loss, in pounds, for a random sample
of 24 of its clients at the conclusion of a 4­month program:
18 25 16 11 15 20 16 19
28 25 26 31 45 40 36 19
28 25 36 16 35 20 16 19
Find a 99% confidence interval for the population mean.

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Exercise

Ex 1: How much do students pay, on the average, for textbooks


during the first semester of college? From a random sample of 400
students the mean cost was found to be $357.75, and the sample
standard deviation was $37.89. Assuming that the population is
normally distributed, find the margin of error of a 95% confidence
interval for the population mean.

Ex 2: A random sample of 16 tires was tested to estimate the average


life of this type of tire under normal driving conditions. The sample
mean and sample standard deviation were found to be 47,500 miles
and 4,200 miles, respectively. Find the UCL and the LCL of a 90%
confidence interval estimate of the mean lifetime of this type of tire if
driven under normal driving conditions.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Exercise

Ex 3: There is concern about the speed of automobiles traveling over


a particular stretch of highway. For a random sample of 28
automobiles, radar indicated the following speeds, in miles per hour:
59 63 68 57 56 71 59
69 53 58 60 66 51 59
54 64 58 57 66 61 65
70 63 65 57 56 61 59
Assuming a normal population distribution, find the margin of error
of a 95% confidence interval for the mean speed of all automobiles
traveling over this stretch of highway.

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Confidence Interval Estimation for Population Proportion

Confidence Interval
Let p̂ denote the observed proportion of “successes” in a random
sample of n observations from a population with a proportion of
successes P. If n is large enough, then the (1 − α) confidence interval
for the population proportion is given by

p̂(1 − p̂)
p̂ ± zα/2 .
n

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Example

Management wants an estimate of the proportion of the corporation’s


employees who favor a modified bonus plan. From a random sample
of 344 employees, it was found that 261 were in favor of this
particular plan. Find a 90% confidence interval estimate of the true
population proportion that favors this modified bonus plan.

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Exercise

Ex 1: From a random sample of 400 registered voters in one city, 320


indicated that they would vote in favor of a proposed policy in an
upcoming election.
a. Calculate the LCL for a 98% confidence interval estimate for the
population proportion in favor of this policy.
b. Calculate the width of a 90% confidence interval estimate for the
population proportion in favor of this policy.

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Confidence Interval Estimation for the Variance of a


Normal Distribution

Confidence Interval
Suppose that there is a random sample of n observations from a
normally distributed population with variance σ 2 . Then the (1 − α)
confidence interval for the population variance is given by
( )
(n − 1)s2 (n − 1)s2
; .
χ2n−1,α/2 χ2n−1,1−α/2

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Example

The manager of Northern Steel, Inc., wants to assess the temperature


variation in the firm’s new electric furnace. It is known that
temperatures are normally distributed. A random sample of 25
temperatures over a 1­week period is obtained, and the sample
variance is found to be s2 = 100. Find a 95% confidence interval for
the population variance temperature.

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation


For the Mean of a Normal Distribution: Population Variance Known
5.1. Basic Concepts For the Mean of a Normal Distribution: Population Variance Unknown
5.2. Confidence Interval Estimation For Population Proportion
For the Variance of a Normal Distribution

Exercise

Ex 1: A psychologist wants to estimate the variance of employee test


scores. A random sample of 18 scores had a sample standard deviation
of 10.4. Find a 90% confidence interval for the population variance.
What are the assumptions, if any, to calculate this interval estimate?

. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

Nguyễn Hoàng Huy Tú Confidence Interval Estimation

You might also like