Estimation
CHAPTER 8
Table of contents
2
3
Properties of
Point and Interval
Estimators
Estimation for
Single Population
(Mean and
Proportion)
1
Basic
Concepts
4
5
Independent
vs Related
Sampling
Estimation for
Two Populations
(Difference
between Means
and Proportions)
Recall
Population vs. Sample
• The POPULATION is the collection of all
elements under consideration in a study.
POPULATION
• The SAMPLE is a subset of the population.
• The PARAMETER is a summary measure
describing a specific characteristic of the
population.
• The STATISTIC is a summary measure
describing a specific characteristic of the
sample.
SAMPLE
Recall
Inferential Statistics
Includes methods by which one uses sample information to make
inferences or generalizations about a population.
Example
Problem:
There is an unknown population parameter, and we want to
make an educated guess on its value using sample data.
Example:
What is the mean income of all Filipino families using a sample
of 1000 families in Metro Manila?
Two Areas of Inferential Statistics
Estimation
inference about a parameter is made by finding a
single value or a range of values computed from the
sample data that may be used to make a statement
about the unknown value of the parameter
Hypothesis
Testing
inference about a parameter is made by assessing
whether the sample data support an assertion
made about the true value of the parameter
Two Major Types of Estimators
Point
Estimator
Interval
Estimator
Point
Estimation
Point Estimator
a single statistic whose realized value is used to estimate the true
but unknown value of the population parameter
The realized or computed value using the estimator is called a
point estimate.
An interval estimate conveys more information than a point estimate. In interval
estimation, we look at the length of the interval and the specified level of confidence.
Common Point Estimators for Parameters under
Random Sampling from an Infinite Population
Parameter
Estimator
Mean: µ
1 ๐
Sample Mean: ๐แ = σ๐=1 ๐๐
๐
Standard Error
of the Sample Mean:
σ
๐ ๐ ๐แ =
n
Proportion: p
Standard Error of the
Sample Proportion
เท =
๐ ๐(๐)
๐(1 − ๐)
๐
Estimator of Standard Error
of the Sample Mean:
๐
เทฃ
แ =
๐ ๐(
๐)
๐
Sample Proportion: ๐ฦธ
Estimator of Standard Error
of the Sample Proportion
เทฃ
เท =
๐ ๐(๐)
เท − ๐)
เท
๐(1
๐
Interval
Estimation
Interval Estimator
a rule that tells us how to calculate two numbers based on sample
data that will form an interval within which we expect the
population parameter to lie with a specified degree of confidence
The realized pair of numbers computed from this estimator, say
(a,b), is called an interval estimate or confidence interval
estimate.
An interval estimate conveys more information than a point estimate. In interval
estimation, we look at the length of the interval and the specified level of confidence.
(1-α) 100% Confidence Interval (CI) Estimate
The fraction (1-α) in a (1-α)100% CI estimate is called the confidence
coefficient, and the endpoints are called the lower and upper
confidence limits.
The length of the interval is defined as the difference between the
upper and lower confidence limits.
Remarks
• The researcher chooses the value of α.
• Naturally, we choose a value for ๐ผ that is close to 0 so that we can
be more confident about our inference.
• Common choices for α are 0.10, 0.05, and 0.01.
• Smaller α means higher the confidence coefficient.
• The confidence coefficient is NOT the probability that the true
value of the parameter falls in the interval estimate.
• Once a sample is drawn and the confidence interval is constructed,
the resulting interval estimate encloses the true value of the
parameter, or it doesn’t.
Interpretation
If we take repeated samples of size n and if for each
one of these samples we compute for the (1-α)100% CI,
then (1-α)100% of the resulting confidence intervals will
contain the unknown value of the parameter.
Example
Suppose we get 10 samples
of the same size and from
the same population. For
each sample, we then
compute a 90% confidence
interval estimate for the
mean.
Common Interpretation
We are (1-α)100% confident that the (population
parameter) is inside the interval (a,b).
Remarks
• A good confidence interval estimate is one that is as narrow as
possible and has a large confidence coefficient.
• For a fixed sample size n, as the confidence coefficient increases,
the length of the interval also increases.
• For a fixed n, as the confidence coefficient (1- α) increases, the
length of the interval increases.
• For a fixed confidence coefficient (1- α), as n increases, the length
of the interval decreases.
Table of contents
2
3
Properties of
Point and Interval
Estimators
Estimation for
Single Population
(Mean and
Proportion)
1
Basic
Concepts
4
5
Independent
vs Related
Sampling
Estimation for
Two Populations
(Difference
between Means
and Proportions)
Some Desirable Properties of a Point Estimator
Unbiased
Reliable
Efficient
“Good” point estimator
Unbiased Estimator
An estimator is said to be unbiased for the parameter being
estimated if the average of the estimates it produces under
repeated sampling from the same population is equal to the true
value of the parameter being estimated.
This means that the possible estimates computed from the different samples
are all centered around the true value of the parameter.
Unbiased Estimator
T(X) → θ
(estimator)
(parameter it
is estimating)
E(T) = θ
E(estimator) = true value of parameter it is estimating
Remarks
เดฅ is an unbiased estimator of μ under
In general, the sample mean ๐ฟ
simple random sampling (whether with or without replacement) .
Also, under SRSWR, the sample variance, S2 is an unbiased estimator
of the population variance σ2.
However, the sample standard deviation, S, is a biased estimator of
the population standard deviation σ. However, the bias becomes
smaller or insignificant for large sample sizes.
เดค
๐ธ(๐)=๐
๐ธ(๐ )= σ2
2
๐ธ(๐)≠๐
Illustration
Population data={21,23,30,34}. Select a sample of size n=2 from this population using
SRSWR. Show that S2 is unbiased for σ2 but S is biased for σ. We have the following list of all
possible samples of size 2 and computed values of S2 and S.
Sample Data
(x1, x2)
S2
Sample Data
(x1, x2)
S
Sample #
S2
S
1
21
21
0
0
9
23
30
24.5
24.5
2
23
23
0
0
10
30
23
24.5
24.5
3
30
30
0
0
11
21
30
40.5
40.5
4
34
34
0
0
12
30
21
40.5
40.5
5
21
23
2
2
13
23
34
60.5
60.5
6
23
21
2
2
14
34
23
60.5
60.5
7
30
34
8
8
15
21
34
84.5
84.5
8
34
30
8
8
16
34
21
84.5
84.5
Sample #
Illustration
From the population data, we have
๐2 =
Now,
σ4๐=1(๐๐ −27)2
4
= 27.5 and ๐ = 27.5 = 5.244.
๐ธ(๐ 2 ) = (0)(4/16) + (2)(2/16) + (8)(2/16) + (24.5)(2/16)
+(40.5)(2/16) + (60.5)(2/16) + (84.5)(2/16) = 27.5
and
๐ธ(๐) = 0 (4/16) + 2 (2/16) +
+ 40.5 (2/16) + 60.5 (2/16) +
8 (2/16) + 24.5 (2/16)
84.5 (2/16) = 4.066
Unbiased Estimator
เดฅ , the sample proportion is
เท of X
Since p is a special case of µ, and p
an unbiased estimator of the population proportion under random
sampling from an infinite population which includes SRSWR.
It is also unbiased under SRSWOR.
Remarks
• An unbiased estimator is not necessarily the “best” estimator of a
parameter.
• A parameter may have more than one unbiased estimator.
• Among all possible unbiased estimators, we would naturally prefer
to use the one with the smallest variance or smallest standard
error.
Reliability
Our measure of reliability is the standard error of the estimator.
We want the standard error of our unbiased estimator to be small
because this implies that the estimates computed from the
different samples are close to the true value it is estimating.
Unbiasedness + Reliability
Unbiased and
Reliable
Unbiased but
Unreliable
Biased but
Reliable
Biased and
Unreliable
Note: The smallest circle at the center is the true value of the parameter of
interest.
Unbiasedness + Reliability
Note: The smallest circle at the center is the true value of the parameter of
interest.
Most Efficient Estimator
An unbiased estimator of a parameter with the smallest variance
among all the other unbiased estimators is called the most
efficient estimator.
In fact, the sample mean is the most efficient estimator when
sampling from the normal distribution.
Table of contents
2
3
Properties of
Point and Interval
Estimators
Estimation for
Single Population
(Mean and
Proportion)
1
Basic
Concepts
4
5
Independent
vs Related
Sampling
Estimation for
Two Populations
(Difference
between Means
and Proportions)
Common Point Estimators for Parameters under
Random Sampling from an Infinite Population
Parameter
Mean: µ
Standard Error
of the Sample Mean:
σ
แ
SE(X)=
n
Estimator
1 ๐
แ
Sample Mean: ๐ = σ๐=1 ๐๐
๐
Estimator of Standard Error
of the Sample Mean:
๐
แ =
๐ ๐(๐)
๐
Common Point Estimators for Parameters under
Random Sampling from an Infinite Population
Parameter
Proportion: p
Standard Error of the
Sample Proportion
เท =
๐๐ธ(๐)
๐(1 − ๐)
๐
Estimator
Sample Proportion: ๐ฦธ
Estimator of Standard Error
of the Sample Proportion
เท =
๐ ๐(๐)
เท − ๐)
เท
๐(1
๐
(1-α) 100% Confidence Interval (CI) Estimate for ๐
Suppose we have a random sample (X1, X2, …, Xn) taken from a normally distributed
population with mean, μ, and variance, σ2. This means that ALL Xi’s are independent and
normally distributed random variables with the same μ and σ2.
Cases
Case 1: σ2 is known
Case 2: σ2 is unknown and n ≤ 30
Case 3: σ2 is unknown and n > 30
Confidence Interval Estimators
๐
๐
๐เดค − ๐๐ผ ∗
, ๐เดค + ๐๐ผ ∗
๐
๐
2
2
๐
๐
๐เดค − ๐ก๐ผ,๐−1 ∗
, ๐เดค + ๐ก๐ผ,๐−1 ∗
๐
๐
2
2
๐
๐
๐เดค − ๐๐ผ ∗
, ๐เดค + ๐๐ผ ∗
๐
๐
2
2
Remarks
• The first two formulas were derived using the sampling
distributions discussed in Chapter 7.
• Formula 3 is based on the fact that as the degrees of freedom
approaches infinity, the t-distribution will approach the standard
normal distribution. This formula is useful only when the values of
t are not available for large n. In fact, most statistical software will
use formula 2 whenever ๏ณ2 is unknown since these software can
determine the value of t for any degrees of freedom.
Remarks
• All 3 formulas will still provide us with good approximate (1๏ก)100% confidence intervals for ๏ญ even when the parent
population is not normal (including those that are badly skewed
and those that are discrete), provided that the sample size is
sufficiently large. In many cases, n>30 works well. This result is
attributed to the Central Limit Theorem.
Example
We have the price of brown sugar per kilo based on a sample of 8
grocery stores:
20.50 21.25 19.95 22.50 20.00 22.75 23.50 21.75
Assuming that the price of brown sugar is normally distributed and
that we have a random sample, compute for a 95% confidence
interval estimate for ๏ญ=mean price of brown sugar.
Compute for a 99% confidence interval as well.
(1-α) 100% Confidence Interval (CI) Estimate for ๐
If the population proportion is not expected to be too close to 0 or 1,
and the sample size n is large, then an approximate 1 − α 100%
confidence interval estimator for the population proportion, p, is
given by
๐เท − ๐ง๐ผ/2
เท − ๐)
เท
เท − ๐)
เท
๐(1
๐(1
, ๐เท + ๐ง๐ผ/2
๐
๐
where ๐ง๐ผΤ2 is the 100 1 − ๐ผ Τ2 th percentile of the standard normal
distribution, ๐เท is the sample proportion, and ๐ is the sample size.
Notes
The sample size n must be large because this formula is based on the
Central Limit Theorem, where the population proportion is viewed as
the mean of the Xis where
1 if ith element possesses characteristic of interest
๐๐ = แ
th
0 if i element does not possess characteristic of interest
Clearly, Xi is discrete and cannot come from a normal distribution.
As the sample size n goes to infinity, the length of the interval goes to
0.
Illustration
Suppose we have 10 students. Define ๐๐ as follows:
1, if the ith student passed Stat 101 on his or her first take
Xi = แ
0, if the ith student did not pass Stat 101 on his or her first take
We have the following dataset
๐
1
2
3
4
5
๐๐ ๐ ๐๐
1 6 1
1 7 0
0 8 1
1 9 1
1 10 1
σ10
๐๐
8
๐=1
๐เดค = ๐เท =
=
= 0.8 = 80%
10
10
Notes
๐
σ
• if we define ๐ = ๐=1 ๐๐ , where the ๐๐ s are independent, then
๐~๐ต๐๐๐๐๐๐๐(๐, ๐)
• By the Central Limit Theorem,
๐ 1−๐
๐เท ≈ ๐๐๐๐๐๐(๐,
) if ๐๐ ≥ 5 and ๐(1 − ๐) ≥ 5
๐
Example
According to a 1984 American study, about one in three individuals feels
shopping is an unpleasant experience (Journal of Marketing Research,
February/March 1984). Suppose we take a national sample of 4,100 Filipino
male and female adults, and we determine each respondent’s opinion on the
pleasantness of shopping. The survey produced the following results:
Sample Size
Number who think shopping is an unpleasant
experience
Males
2,015
850
Females
2,085
570
Compute a 90% confidence interval for the proportion of males in the
sample who think shopping is an unpleasant experience.
Example
We are 90% confident that the interval 40.4% to 44.0% contains the
population proportion of males who find shopping an unpleasant
experience.
Can we say that less than half of the men find shopping unpleasant?
Margin of Error
The margin of error, denoted by e, is the upper bound on the
absolute difference between the estimator and the parameter called
the error of estimation, though there is an associated risk ๏ก of
selecting a sample that yields an estimate whose error of estimation
is greater than this upper bound, e.
Margin of Error
• By definition, when we use ๐แ to estimate ๏ญ, the margin of error, e,
satisfies the condition: ๐(|๐แ − ๐| > ๐) = ๐ผ, or equivalently, ๐(|๐แ −
๐| ≤ ๐) = 1 − ๐ผ . Likewise, when we use ๐เท to estimate p, the
margin of error, e, satisfies the condition: ๐(|๐เท − ๐| > ๐) = ๐ผ
•
๐
๐
๐
๐(๐แ − ๐ง๐ผ/2 < ๐ < ๐แ + ๐ง๐ผ/2 ) = 1 − ๐ผ means that ๐ = ๐ง๐ผ/2
๐
๐
๐
• ๐ ๐เท − ๐ง๐ผ
2
๐ 1−๐
๐
2
๐ 1−๐
๐
๐ง๐ผ/2
๐(1−๐)
๐
< ๐ < ๐เท + ๐ง๐ผ
= 1 − ๐ผ means that ๐ =
Remarks
• We can use the margin of error to describe the “goodness” of the
point estimate. The smaller the margin of error, the better.
• The margin of error usually involves unknown parameters. In this
case, we use sample data to estimate these unknown parameters.
• In estimating the mean or proportion, the margin of error is the
term that we add/subtract to the point estimate to compute
the (1-α)100% confidence interval estimate. It is a function of 2
factors: a) standard error and b) the risk ๐ผ.
Example
Based on a multistage probability sample of 1,800 likely voters 18 years old
and above, Pulse Asia’s nationwide survey has a ± 2.3% margin of error at
95% confidence.
Poe is “statistically tied” with
Cayetano. Cayetano is “statistically
tied” with Go and Poe. That is, their
respective CIs overlap. In other
words, their respective differences
are within the margin of error.
Table of contents
2
3
Properties of
Point and Interval
Estimators
Estimation for
Single Population
(Mean and
Proportion)
1
Basic
Concepts
4
5
Independent
vs Related
Sampling
Estimation for
Two Populations
(Difference
between Means
and Proportions)
Independent vs Related Sampling
Independent
Sampling
Related or
Paired
Sampling
Independent Sampling
If the selection of the sample from the first population is
independent of the selection of the sample from the second
population, then we are taking independent samples from the two
populations.
Population 1
๐๐ , ๐๐2
Sample 1 of size n1
(X1 , X2 , ..., Xn1 )
เดค ๐ ๐2
๐,
Use these
samples
to infer on
μX –μY
Population 2
๐๐ , ๐๐2
Sample 2 of size n2
(X1 , X2 , ..., Xn2 )
เดค ๐ ๐2
๐,
Method 1:
random samples are taken
separately from two
populations and the same
response variable is
recorded for everyone
Example: We want to know whether boys
are taller than girls on the average.
We randomly selected 10 boys and 10
girls from an elementary school, and we
get the height of the 20 participants.
Experimental unit: child
Response variable: height of a child
1 Treatment: measuring the height of the
children
Xi = height of the girls
Yi = height of the boys
Parameter of interest: ๏ญX - ๏ญY
Extraneous variables: age, year level
Method 2:
participants are randomly
assigned to one of two
treatment conditions and
the same response variable
is recorded for each
individual unit
Example: A researcher wants to determine the
effect of music in the growth of plants by
subjecting a sample of plants to music twice a
day and another sample receives no music.
Experimental unit: plant
Response variable: height of the plant
2 Treatments: playing music twice a day
Xi = height of the plants that received music
twice a day
Yi = height of the plants that did not receive
music
Parameter of interest: ๏ญX - ๏ญY
Extraneous variables: type of soil, amount of
sunlight
Related / Paired Sampling
If the selection of the sample from the first population is related (in
any of its forms) to the selection of the sample from the second
population, then we are taking related or paired samples from the
two populations.
Population 1
๐๐ , ๐๐2
X1
X2
…
Xn
Sample
D1 = X1 – Y1
D2 = X2 – Y2
...
Dn = Xn – Yn
Population 2
๐๐ , ๐๐2
Y1
Y2
…
Yn
Methods of Generating Paired Data
Paired data: {(X1,Y1), (X2,Y2), …, (Xn,Yn)}
Forming paired data will be beneficial when the two measures in
the ith pair, Xi and Yi, exhibit strong direct relationship so that when
Xi is high then so is Yi as a result of sharing the same values on the
extraneous variable/s.
Method 1:
all experimental units in
the sample receive both
treatments
Example: Two formulations of a new whitening soap
are to be compared as to their whitening effect. A
random sample of 40 potential users of the soap is
selected.
Each person uses a randomization
mechanism to determine which formulation is
applied on the left arm, so that the other formulation
is applied on the right arm. After two weeks, they
measured the effect of each formulation.
Experimental unit: person
Response variable: degree of fairness of a person
2 Treatments: Formulation A and Formulation B of
whitening soap
Xi = degree of fairness of arm of ith person where
Formulation A was applied
Yi = degree of fairness of arm of ith person where
Formulation B was applied
Parameter of interest: ๏ญX - ๏ญY
Extraneous variables: original degree of fairness of
person, biological characteristics that affect person’s
reaction to any treatment
Method 2:
taking measurements
before and after the
treatment is applied to
the experimental units
(can be viewed as a
special case of Method 1)
Example: A police department wants to assess
the effects of an obvious radar trap on the
speeds of cars. Ten cars are randomly selected
on a highway, and their speeds are measured
just before a radar trap comes into view and
right after they pass the obvious radar trap.
Experimental unit: car
Response variable: speed of car
2 Treatments: visible radar trap
Xi = speed of ith car before seeing radar trap
Yi = speed of ith car after seeing radar trap
Parameter of interest: ๏ญX - ๏ญY
Extraneous variables: driver, type of car, age of
car, etc.
Method 3:
use naturally occurring
pairs such as twins, or
husbands and wives, or
siblings, etc.
Example: A gym instructor measures the effect
of an exercise in lowering blood pressure
among twins by making one twin exercise four
times a week while the other twin has no
exercise.
Experimental unit: person
Response variable: blood pressure
2 Treatments: exercise
Xi = blood pressure of ith person with exercise
Yi = blood pressure of ith person without
exercise
Parameter of interest: ๏ญX - ๏ญY
Method 4:
form pairs of
experimental units that
have the same values or
levels of the extraneous
variable
Example: A science teacher has developed new teaching
materials and wants to evaluate the effectiveness of these
materials in improving the students’ comprehension. Prior
to sampling, the teacher formed pairs of students so that
students belonging in the same pair received about the
same final grade in science the previous term. The
teacher then selected a sample of pairs of students. The
teacher randomly selects which student in each pair will
be taught using the new materials so that the other one
will be taught using the old materials. At the end of the
term, all the students in the sample were given a
standardized test.
Experimental unit: student
Response variable: score in standardized test
2 Treatments: old and new teaching materials
Xi = score of ith student using the old teaching materials
Yi = score of ith student using the new teaching
materials
Parameter of interest: ๏ญX - ๏ญY
Extraneous variables: aptitude in science
Example #1
Identify whether the samples are independent or related:
The principal of a school wishes to determine if the Grade 6 boys are
better in mathematics than the Grade 6 girls. A random sample of
boys were selected. Then a random sample of girls were selected. All
of the students in the two random samples were asked to take a
standardized test in mathematics and their scores were determined.
Example #2
Identify whether the samples are independent or related:
A tire manufacturer is testing two new tread designs in terms of
stopping distance. To do this, the company uses two test cars driving
side by side at the same speed. Both cars have automatic braking
systems so that both sets of brakes engage simultaneously on a
signal. Then the stopping distances for both cars are measured after
repeating the experiment 10 times.
Example #3
Identify whether the samples are independent or related:
A company which does a large volume of business by mail decides to
test whether there is a difference in mail delivery between those
items brought to a post office as compared to those put in a corner
mailbox. A random sample of 100 customers from the same city were
selected and their letters were mailed from the post office. Another
random sample of 100 customers were then selected but their letters
were sent from the corner mailbox.
Table of contents
2
3
Properties of
Point and Interval
Estimators
Estimation for
Single Population
(Mean and
Proportion)
1
Basic
Concepts
4
5
Independent
vs Related
Sampling
Estimation for
Two Populations
(Difference
between Means
and Proportions)
Notations
1st Population (X) 2nd Population (Y)
Population mean
๐๐
๐๐
Population Standard
Deviation
๐๐
๐๐
Sample mean
๐เดค
๐เดค
Sample Standard
Deviation
๐๐
๐๐
Proportion
๐1
๐2
Common Point Estimators for the Difference of Two
Parameters under Random Sampling from an Infinite
Population
Parameter
µX - µY
P1 – P2
Estimator
๐แ − ๐แ
๐ฦธ1 − ๐ฦธ 2
(1-α) 100% CI Estimate for ๐๐ฟ − ๐๐ for Two Independent Samples
Let ๐1 , ๐2 , … , ๐๐1 be a random sample from a Normal population with mean ๐๐ and variance ๐๐2
Let ๐1 , ๐2 , … , ๐๐2 be a random sample from a Normal population with mean ๐๐ and variance ๐๐2
เดฅ and ๐
เดฅ denote the sample mean and ๐๐2 and ๐๐2 denote the sample variance of the two random samples, respectively.
Let ๐ฟ
Cases
2
2
Case 1: ๐๐ and ๐๐ are
known
2
2
Case 2: ๐๐ and ๐๐ are
2
2
unknown but ๐๐ = ๐๐
Confidence Interval Estimators
๐เดค − ๐เดค − ๐๐ผ
2
๐เดค − ๐เดค − ๐ก๐ผ,๐ +๐ −2
2 1
2
๐๐2
๐๐2 ๐๐2
๐๐2 ๐๐2
+
, ๐เดค − ๐เดค + ๐๐ผ
+
๐1 ๐2
๐2
2 ๐1
1
1
1
1
2
+
, ๐เดค − ๐เดค + ๐ก๐ผ,๐ +๐ −2 ๐๐
+
๐1 ๐2
๐1 ๐2
2 1 2
2
2
๐
−
1
๐
+
๐
−
1
๐
1
2
๐
๐
2
๐๐ =
๐1 + ๐2 − 2
(1-α) 100% CI Estimate for ๐๐ฟ − ๐๐ for Two Independent Samples
Let ๐1 , ๐2 , … , ๐๐1 be a random sample from a Normal population with mean ๐๐ and variance ๐๐2
Let ๐1 , ๐2 , … , ๐๐2 be a random sample from a Normal population with mean ๐๐ and variance ๐๐2
เดฅ and ๐
เดฅ denote the sample mean and ๐๐2 and ๐๐2 denote the sample variance of the two random samples, respectively.
Let ๐ฟ
Cases
Confidence Interval Estimators
๐เดค − ๐เดค − ๐ก๐ผ,๐ฃ
2
2
2
Case 3: ๐๐ and ๐๐ are
2
2
unknown but ๐๐ ≠ ๐๐
๐ ๐2 ๐ ๐2
๐ ๐2 ๐ ๐2
+ , ๐เดค − ๐เดค + ๐ก๐ผ,๐ฃ
+
๐1 ๐2
๐1 ๐2
2
๐ ๐2เต
๐ฃ=
๐1
๐ ๐2เต
๐2
2
๐ ๐2เต
๐1
Case 4: ๐๐2 and ๐๐2 are
unknown but ๐1 >
30 ๐๐๐ ๐2 > 30
๐1 − 1
๐เดค − ๐เดค − ๐๐ผ
2
2
๐ ๐2เต
+
2
๐2
+
๐2 − 1
๐ ๐2 ๐ ๐2
๐ ๐2 ๐ ๐2
+ , ๐เดค − ๐เดค + ๐๐ผ
+
๐1 ๐2
๐2
2 ๐1
(1-α) 100% CI Estimate
for ๐๐ฟ − ๐๐ for Two
Independent Samples
Remarks
• The formulas hold for random samples from a normal
distribution. However, they provide good approximate (1−๐ผ)100%
confidence intervals even when the distributions are not that
different from the normal distribution so long as the sample size is
sufficiently large.
• By Central Limit Theorem, you can also use the Case 4 when the
sample sizes are sufficiently large.
• Even if the population variances are considerably different, Case 2
will still provide a good estimate provided that n1=n2 and both
populations are normal. Therefore, in a planned experiment, one
should make every effort to equalize the size of the samples.
Example
Estimate the mean difference of wages between those who work in
an urban setting and those who work in a rural area. Use a 95%
confidence level. Do not assume equal variances between the two
populations.
Example
We are 95% confident that the mean difference of wages between
those who work in an urban setting and those who work in a rural
area is between $92.6 and $188.
Can we say that those who work in an urban area earn more?
Interpretations
(−, +)
(+, +)
(−, −)
If the computed interval estimate contains 0, then we
do not have sufficient evidence to conclude that the
two means are different from each other.
Sometimes positive, sometimes negative…
If the computed interval estimate contains positive
values only then we can conclude with (1-α)100%
confidence that μX is greater than μY.
๐๐ − ๐๐ > 0 → ๐๐ > ๐๐
If the computed interval estimate contains negative
values only then we can conclude with (1-α)100%
confidence that μX is less than μY
๐๐ − ๐๐ < 0 → ๐๐ < ๐๐
Example
Suppose that a random sample of 12 plots planted with pechay were
selected from each of two types of plants in a farm in Nueva Ecija. The yields,
in kilograms, of pechay are measured from each of the plots. The
measurements generated are given to be:
Type I
Type II
10.100
8.000
8.700
7.700
7.850
5.400
9.500
3.300
4.900
7.550
9.200
8.300
5.705
7.250
6.450
7.800
5.625
5.750
10.350
6.150
7.450
4.575
8.100
5.000
Obtain a 99% confidence interval estimate for the difference in mean yield of
pechay between the two types of plots. Assume equal variances and the
normality of yield for both types of plots.
Example
We are 99% confident that the mean difference between Type I and
Type II plots is in the interval -1.23 and 2.96.
Does one Type I yield more than the Type II plot?
(1-α) 100% CI Estimate for ๐๐ฟ − ๐๐ for Two Paired Samples
Let {(๐1 , ๐1 ), (๐2 , ๐2 ), … , (๐๐ , ๐๐ )} be your sample data. Denote ๐ท๐ = ๐๐ − ๐๐ for
i=1, 2, …, n
๐
1
เดฅ = เท ๐ท๐ = ๐เดค − ๐เดค
๐ท
๐
๐=1
๐๐ท =
เดฅ )2
σ๐๐=1(๐ท๐ − ๐ท
๐−1
A 100(1-α)% Confidence Interval Estimator for the Mean of the Differences
๐๐ท
๐๐ท
เดฅ − ๐ก๐ผ
เดฅ + ๐ก๐ผ
๐ท
,
๐ท
,๐−1 ๐
,๐−1 ๐
2
2
Example
Twenty first year college students were divided into 10 pairs, each member of the
pair having approximately the same IQ. One of each pair was selected at random
and assigned to a mathematics section using programmed materials only. The
other member of each pair was assigned to a section in which the professor
lectured. At the end of the semester each group was given the same examination
and the following results were recorded.
Pair
Programmed
Materials
Lectures
๐๐
1
2
3
4
5
6
7
8
9
10
76
60
85
58
91
75
82
64
79
88
81
-5
52
8
87
-2
70
-12
86
5
77
-2
90
-8
63
1
85
-6
83
5
Find the 98% confidence interval estimate for the true difference in the two
learning procedures. Assume normality.
Example
We are 98% confident that the mean difference between the grades
is in the interval -4.09 and 7.29.
Is one method more effective than the other?
Approximate (1-α) 100% CI Estimate for ๐ท๐ − ๐ท๐
Given two independent random samples of sizes n1 and n2,
a point estimator for ๐1 – ๐2 is ๐ฦธ1 − ๐ฦธ 2
(๐ฦธ1 −๐ฦธ2 ) − ๐๐ผ
2
๐ฦธ1 1 − ๐ฦธ1
๐ฦธ 2 1 − ๐ฦธ 2
๐ฦธ1 (1 − ๐ฦธ1 ) ๐ฦธ 2 (1 − ๐ฦธ 2 )
+
, (๐ฦธ1 −๐ฦธ 2 ) + ๐๐ผ
+
๐1
๐2
๐1
๐2
2
This approximation will only hold when the sample sizes are large.
Thus, we require the sample sizes n1 ≥ 30 and n2 ≥ 30.
Furthermore, we have the condition that both
P1 and P2 are not expected to be too close to 0 or 1.
Example
In a random sample of 80 females, 40 sleeps in Stat 101. In another
random sample of 120 males, 108 sleeps in Stat 101. Construct a 95%
confidence interval estimate for PM – PF where PF and PM are the
true proportions of females and males, respectively, who sleeps in
Stat 101.
Who sleeps more in class, males or females?
Exercises
Lengths of Children’s Animated Films
The lengths (in minutes) of a random selection of popular children’s
animated films are listed below. Estimate the true mean length of all
children’s animated films with 95% confidence
93 83 76 92 77 81 78 78 76 75 100
Exercises
Television Set Ownership
A survey of 90 families showed that 40 owned at least one television
set. Find the 95% confidence interval of the true proportion of
families who own at least one television set.
Exercises
Length of Life of Light Bulbs
Suppose an electrical firm manufactures light bulbs that have a
length of life that is normally distributed, with a standard deviation of
55 hours.
If a random sample of 27 bulbs has a mean length of life of 1,320
hours, find a 99% confidence interval for the population mean length
of life of all bulbs produced by this firm. Interpret the interval.
Exercises
Running Time of Films
The following data represent the running time of a random sample of
films produced by two motion picture companies:
A
B
103
97
94
82
Time (in minutes)
110
87
98
123
92
175
88
118
Compute a 90% confidence interval for the difference between the
mean running time of films produced by the two companies. Assume
that the running times for each of the companies are approximately
normally distributed with equal variances.
End of Chapter 8
Next: Hypothesis Testing
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )