Note3 CHAPTER2
Note3 CHAPTER2
Chapter 2
Estimation Techniques
2.1 Introduction
Suppose that a population has an unknown parameter, such as the mean, or the
variance, or the proportion of ‘successes’. Then an estimate of the unknown
parameter can be made from the information supplied by a random sample (or
samples) taken from the population.
Estimate : The numerical value taken by the estimator and is denoted by a small
letter ( e.g. u, t,…)
There are two type types of estimation, point estimation and interval estimation.
There are many estimators which could be formed, but the best (or most efficient)
estimator is the one which
i) is unbiased
ii) has the smallest variance
iii) consistent
E(W)= θ
∧
Sometimes the estimator of θ also written as θ .
@Copyright is Prohibited: 1
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example: 2
If X has the binomial distribution with the parameter n and θ , show that the
sample proportion , X/n is an unbiased estimator of θ .
Example:1
X1 + X 2 + X 3
i) T1 =
3
X1 + 2 X 2
ii) T2 =
3
X1 + 2 X 2 + 3X 3
iii) T3 =
3
∧ _ _
the most efficient estimator for μ , which will write as μ is X , where X is
∧ _
the sample mean and written as μ=X
@Copyright is Prohibited: 2
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
_
NOTE: X is an unbiased and consistent estimator for μ .
From a population with unknown variance σ 2 take a random sample of size n, and
_
let S2 =
∑ (X i − X )2
=
n ∑ x 2 − (∑ x) 2 2
X 1 np
Proof: E(P s )=E( )= E ( X ) = =p
n n n
pq pq
The estimator also consistent, since Var(P s )= where q=1-p and → 0 as n → ∞ .
n n
Example: 5
A random sample of 50 children from a large school is chosen and the number who
are left handed is noted. It is found that 6 are left handed. Obtain an unbiased
estimate of the proportion of children in the school who are left handed.
@Copyright is Prohibited: 3
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
From a population with unknown mean μ and unknown variance σ 2 we take two
random samples :
Size Mean Variance
−
n1
Sample I 1 x S1 2
−
Sample II n2 x 2 S2
2
_ _
∧
n X +n X
Then μ = 11 1 2 2
n1 + n2
∧
where μ is an unbiased estimator for the population mean μ .
Also
∧
(n1 − 1)S1 + (n2 − 1)S2
2 2
σ2 =
n1 + n2 − 2
∧2
where σ is an unbiased estimator for the population variance σ 2 .
@Copyright is Prohibited: 4
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example : 6
Two samples, size 40 and 50 respectively, are taken from a population with unknown
mean μ and unknown variance σ 2 . Using the data from the two samples, obtain
unbiased estimates of μ and σ 2 .
Sample I Sample 2
x1 18 19 20 21 22 x 2 18 19 20 21 22 23
f 3 17 5 10 5 f 10 21 8 6 3 5
Size Proportion
Sample 1 n1 P s1
Sample 2 n2 P s2
∧
Then p , an unbiased estimator for the population proportion p, is given by
∧ n1Ps1 + n2 Ps 2
P=
n1 + n2
Example 7 :
An opinion poll in a certain city indicated that 69 people in random sample of 120
said that they would vote for Encik Firdaus, while in a second random sample of 160,
93 said that they would vote for Encik Firdaus. Find an unbiased estimate of the
proportion of people in the city who will vote for Encik Firdaus.
Consider a population with unknown parameter θ . If we can find interval (a,b) such
that P(a< θ )=0.95, we say that (a,b) is a 95% confidence interval for θ .
In this case, 0.95 is the probability that the interval includes θ .
NOTE:
To begin determining the confidence interval for the parameter, it is important for
you to know :
Consider a population with mean μ and variance σ 2 . Now take random sample
_
from the population, X 1 , X 2 , . . . , X n and consider the distribution of X where
_
∑X
1
X= i i = 1,2, . . . , n.
n
a) Using Z-distribution:
_
σ _
σ
X− Z α < μ < X+ Z α
2 n 2 n
_
σ _
σ
lower limit: X− Z α upper limit : X+ Z α
2 n 2 n
@Copyright is Prohibited: 6
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
_ σ
Formula: This can be written as X ± Zα / 2
n
Example 8:
A certain medication is known to increase the pulse rate of its users. The standard
deviation of the pulse rate is known to be 5 beats per minute. A sample of 20 users
had an average pulse rate of 104 beats per minute. Find the 99% confidence interval
of the true mean.
Case II: With unknown Population Variance σ 2 but large sample (n ≥ 30).
For this case, the unknown population variance is replaced by its point estimated
value, the sample variance s 2 . The sample standard deviation is s.
_ s
Formula: This can be written as X ± Zα / 2
n
Example 9:
A random sample of size 40 is taken from a normal population. The sample mean
_
and the standard deviation are as follows; x = 60.5 and s = 8 . Construct a 95%
confidence interval for the unknown population mean. Interpret its meaning.
b) Using t-distribution:
Case: T –distribution will be used if there is unknown value for population variance σ 2
and the sample size is small (n<30).
_ s
Formula: This can be weitten as X ± tα / 2 where x ~ t (v) v=n-1
n
@Copyright is Prohibited: 7
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example 10:
Ten randomly selected automobiles were stopped and the tread depth of the right
front tire was measured. The mean was 0.32 inch and the standard deviation was
0.08 inch. Find the 95% confidence interval of the mean depth. (Assume that the
variable is approximately normally distributed).
Example 11:
Ten packets of a particular brand of biscuits are chosen at random and their masses
noted. The results in grams are:
Assuming that the sample is taken from a normal population with mean mass μ .
Calculate the 95% confidence interval for μ . Interpret the interval.
2.3.2 Confidence Interval For The Difference Between Two Population Means
The (1- α )% confidence interval for the difference between two population means(
μ1 − μ 2 ) :
− − σ 12 σ 22
Formula: ( ( x1 − x 2 ) ± Z α / 2 +
n1 n2
− − s12 s 22
Formula: ( ( x1 − x 2 ) ± Z α / 2 +
n1 n 2
Example 12:
@Copyright is Prohibited: 8
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
mileage for engine A was 36 miles per gallon and the average for engine B was 42
miles per gallon. Assuming that the population standard deviation are 6 and 8 for
engine A and B, respectively;
a) Determine the 95% confidence interval for the mean difference of gas mileage
between engine A and engine B.
Example 13:
a) Obtain the 90% confidence interval for the mean difference of starting salaries
between education and social science major.
b) Do you think that the difference for the two groups in the general population is
significant?
The (1- α )% confidence interval for the difference between two population means (
μ1 − μ 2 ):
− − 1 1
Formula: ( x1 − x 2 ) ± tα / 2 . S p. + t distribution with d.f=v= n1 + n 2 − 2
n1 n 2
The difference follows t distribution with degree of freedon v= n1 + n 2 − 2 .
Where the the unknown common variance can be obtained by pooling the
sample variances such as follows:
(n1 − 1) s12 + (n 2 − 1) s 22
S 2p =
n1 + n 2 − 2
@Copyright is Prohibited: 9
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example 14:
The following data, recorded in days represent the length of time to recovery for
patients randomly treated with one of two medications to clear up severe bladder
infections:
Medication A Medication B
n1 =14 n 2 =16
− −
x1 =17 x 2 =19
s12 = 1.5 s 22 =1.8
Find the 99% confidence interval for μ1 − μ 2 in the mean recovery time for the two
medications, assuming normal populations with equal variances.
Example 15:
The following results are the weights (in grams) of 52 and 63 eggs produced by hens
fed on ordinary corn and vitamins enriched corn respectively. The allocation of hens
to type of corn was done randomly.
Assume that the weight of eggs is normally distributed for both populations and
having equal variances ( σ 21 = σ 2 2 ).Is there a significant difference between the two
population mean weights? Use a 95% confidence interval. Draw your conclusion
based on the confidence interval.
− − s12s2
Formula: ( x 1 − x 2 ) ± tα / 2 + 2 Use t distribution.
n1 n 2
v=degree of freedom
( s12 / n1 + s 22 / n 2 ) 2
v=
[( s12 / n1 ) 2 /(n1 − 1) + ( s 22 / n2 ) 2 /(n2 − 1)]
@Copyright is Prohibited: 10
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example 16:
Observations are taken from a very special experimental situation where the two
population are not randomly assigned to experimental units. The observations in a
pair have something in common. The samples taken are related and the variances
of the two populations are not necessarily equal.
The (1- α )% confidence interval for the difference between two population means (
μ D = μ1 − μ 2 ) :
_ sd
Formula: d m t α/2 t- distribution with v= n d -1 degree of freedom
nd
@Copyright is Prohibited: 11
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example 17:
Veteran 1 2 3 4 5 6 7 8 9 10
TCDD
levels In 2.5 3.1 2.1 3.5 3.1 1.8 6.0 3.0 36.0 4.7
Plasma
TCDD
levels In
4.9 5.9 4.4 6.9 7.0 4.2 10.0 5.5 41.0 4.4
Fat
Tissue
Find the 95% confidence interval for the difference in the means between TCDD
levels in plasma and TCDD levels in tissue. Draw your conclusion.
( n − 1) s 2 ( n − 1) s 2
Formula: <σ2 <
χα2 / 2,v χ12−α / 2,v
Example 18:
The following are the weights in decagrams of 10 packages of grass seed distributed
by a certain company: 46.4, 46.1, 45.8, 47.0, 46.1, 45.9, 45.8, 46.9, 45.2 and 46.0.
Find the 95% confidence interval for the variance of all such packages of grass seed
distributed by this company, assuming a normal population.
@Copyright is Prohibited: 12
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
2.5.1 Confidence interval For The Ratio Between Two Population Variances
s12 1 σ 1 s2
Formula: < 1 < 1 f α / 2 (v2 ,v1 )
s 22 f α / 2 (v1 , v2 ) σ 22 s 22
Example 19:
Two independent random samples are chosen from two normal populations with the
following information:
Population 1 Population 2
n1 = 13 n2 = 25
s1 = 5 s2 = 8
σ 12
i. Construct the 95% confidence interval for the ratio of the variances .
σ 22
ii. Based on your answer in (i) can we conclude that σ 21 ≠ σ 2 2 ? Give your reasons.
2.6 Confidence Interval for a population proportion
∧ pq
p ± zα / 2
n
Example 20:
A random sample of 50 children from a large school is chosen and the number who
is left-handed is noted. It is found that 6 of them are left-handed. Find a 95%
confidence interval for proportion of children in the school who are left-handed.
Example 21:
In a market survey 25 people out of a random sample of 100 from a certain area said
that they used a particular brand of soap. Find 90% confidence interval for the
population proportion.
@Copyright is Prohibited: 13
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
2.6.1 Confidence interval for the difference between two population proportions.
Assumptions:
• The two samples are taken from independent populations
• The samples taken from each population are sufficiently large.
p 1 q1 p2 q2
( p 1 − p 2 ) ± zα / 2 +
n1 n2
Example 22:
In a sample of 200 surgeons, 15% thought the government should control healthcare.
In a sample of 200 general practitioners, 21% felt this way. Find the 95% confidence
interval for the difference in the proportion. Is there a difference in the proportions?
Formula:
_
If x is used as an estimate of μ , we can be 100(1- α )% confident that the error will
not exceed a specified amount e when the sample size is
⎛Z σ ⎞
2
n = ⎜ α /2 ⎟
⎝ e ⎠
Discus:
Deduce the formula using a confidence interval for a population mean with z-
distribution.
@Copyright is Prohibited: 14
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam
QMT220: Statistical Methods Estimation techniques
Example 23:
A research is done to determine the average zinc concentration in a river. How large
a sample of locations is required if we want to be 95% confident that our estimate of
μ is off by less than 0.05. From previous research, it is known that the population
standard deviation is 0.3.
Formula:
∧
Case 1: If the estimate of population proportion p is known
∧
If p is used as an estimate of P, we can be 100(1- α )100% confident that the error will
be less than a specified amount e when the sample size is approximately
∧ ∧
Z2 pq
n = α / 22
e
Discussion:
Deduce the formula using the confidence interval for a single population proportion.
Example 24:
For a test market, find the sample size needed to estimate the true proportion of
consumers satisfied with a certain new product within ± 0.04
∧
Case 2: If the estimate of population proportion p is unknown
Sometimes, there are cases where the estimate of p is unknown. The following
formula can be employed.
Z α2 / 2
n=
4e 2
@Copyright is Prohibited: 15
Prepared By:Norshahida Shaadan; Statistics Department , FSKM Shah Alam