Académique Documents
Professionnel Documents
Culture Documents
DISTRIBUTIONS
& CONFIDENCE
INTERVAL
CHAPTER 2
BKU2032
1
CONTENT
2.1 Sampling Distribution
2.2 Estimate, Estimation and Estimator
2.3 Confidence Interval for the Mean μ
2.4 Confidence Interval for the Difference
between Two Means
2.5 Confidence Interval for the Proportion
2.6 Confidence Interval for the Difference
between Two Proportions
2.7 Confidence Interval for Variances and
Standard Deviations
2.8 Confidence Interval for Ratio of Two Variances
and Standard Deviations 2
2.1 Sampling Distributions
OBJECTIVE
3
Introduction
Focus on sampling from distributions or
populations & study the important
characteristics of the populations.
4
Sampling Distribution of X
Suppose we have a set of independence random variable
X 1 , X 2 ,..., X n where E X and Var ( X ) 2 for i 1,2,..., n.
i i
For this random sample, the sampling distribution of a single
mean is
2
X ~ N ,
n
Notes:
• If the population is normally distributed, the sampling distribution is
normal regardless of sample size.
• By using the Central Limit Theorem, if the population distribution is not
necessarily normal, and has mean μ and standard deviation σ , then, for
sufficiently large n n 30 , the sampling distribution of X is
approximately normal, with mean X and standard deviation X
n
X X
• The relationship between X and Z : Z
X
nX 5
Sampling Distribution for Difference
between Two Means
12 22
For X 1 ~ N 1 , and X 2 ~ N 2 ,
n1 n2
12 2 2
X 1 X 2 ~ N 1 2 ,
n1 n2
12 2 2
X 1 X 2 ~ N 1 2 ,
n1 n2
Z
X X 2 1 2
Relationship between X 1 X 2 and Z :
1
12 22
n1 n2 6
Sampling Distribution of Proportion, p̂
p - population proportion, or Percent of successes for population
X - sample proportion (percent of successes in a sample) of
pˆ
n X successes in a sample of size n
p1 1 p1 p2 1 p2
pˆ1 pˆ 2 ~ N p1 p2 ,
n1 n 2
p1 1 p1 p2 1 p2
pˆ1 pˆ 2 ~ N p1 p2 ,
n1 n2
with Z
pˆ1 pˆ 2 p1 p2
p1 1 p1 p2 1 p2
n1 n2
8
2.2 Estimate, Estimation,
Estimator
OBJECTIVE
9
Estimator
Sufficient
–
Consistent
–
11
Estimations & Estimate
Estimation – Is the entire process of using an estimator to
produce an estimate of the parameter
2 types of estimation
1. Point Estimate
• A single number used to estimate a population parameter
Parameter, Point estimator, ˆ
X
2
S2
p p̂
2. Interval Estimate
• A spread of values used to estimate a population
parameter
• The interval is usually written (a, b) where a and b are
known as confidence limit
12
• a – lower confidence limit b – upper confidence limit
Definitions
Confidence Interval
– Range of numbers that have a high probability
of containing the unknown parameter as an
interior point.
– By looking at the width of a confidence interval,
we can get a good sense of the estimator
precision.
– Width = b – a
1 %
14
Definitions
OR
(1- α) 100% confidence interval for θ
16
Confidence Interval for the Mean
X z , X z
2 n 2 n
s s s s
X z , X z X t , n 1 , X t , n 1
2 n 2 n 2 n 2 n
17
t- Distributions
18
Rounding Rule
When you are computing a confidence
interval for a population mean by using raw
data, round off to one more decimal place
than the number of decimal places in the
original data.
19
Example 2.1
Bonding strength of hydrocarbon is normally
distributed with a standard deviation of 2.18039 105 .
A sample of 16 specimens has been randomly
selected which gives the sample mean of 2.49978 10 7
.
Construct a 95% confidence interval on the mean
bonding strength.
20 20
Example 2.2
A random sample of 35 items was selected and the
specified brightness was evaluated for each item
by measuring the amount of current required. The
sample mean of current required is 280.3
microamps and the sample standard deviation is
10.3 microamps. Construct a 90% confidence
interval on the mean current required.
21 21
Example 2.3
A random sample of 12 wafers was drawn from a
slider fabrication process which gives the following
photoresist thickness in micrometer:
10 11 9 8 10 10 11 8 9 10 11 12
Assume that the thickness is normally distributed.
Construct a 95% confidence interval for mean of all
wafers thickness produced by this factory.
22 22
Example 2.4
23
2.4 Confidence Interval for the
Difference Between 2 Means
OBJECTIVES
25
Example 2.5
In a random samples of 49 Silver Tyres and 36 Dun
Tyre were selected. The sample mean mileage the
tyre lasts for Silver Tyres is 119 000 km and the
standard deviation is 7700 km, meanwhile the
sample mean mileage the tyre lasts for Dun Tyres is
118 000 km and the standard deviation is 6000 km.
Construct a 90% confidence interval of the two
population means.
26 26
Example 2.6
A process engineer is comparing two different
etching solution for removing silicon from the
backs of wafers. The etch rates are follow the
normal distribution and have the same population
variances. Below are the observed each rates from
10 wafers for each solution.
Solution 1 9.7 9.3 9.1 9.5 10.0 10.5 10.2 9.9 10.3 10.1
Solution 2 10.1 10.5 10.6 10.3 10.3 9.9 10.1 10.2 10.3 10.1
27 27
Example 2.7
A biotechnology company produces a therapeutic drug whose
concentration is normally distributed. Two new methods of
producing this drug have been proposed, and the method that
produces more drugs will be chosen by management. The researchers
chose a sample of size 15 from each method and obtained the
following data in grams per liter.
28
Answer: (-1.90,-0.48) or (0.48,1.90)
2.5 Confidence Interval
for the Proportion
OBJECTIVE
29
The ( 1 – α ) 100 % confidence interval for proportion p
pq pq
p z , p z
2 n 2 n
NOTES:
Number of successes in a given sample size
Sample
proportion X
p and q 1 p
n
Sample size
where npˆ 5 and nqˆ 5
30
Example 2.8
1) The fraction of defective integrated circuits produced in a
photolithography process is being studied. A random sample
of 200 circuits is tested, revealing 13 defectives.
i) Calculate a 95% confidence interval on the fraction of
defective circuits produced by this particular tool.
ii) How large the sample be if we wish to be at least 95%
confident that the error in estimating p is less than 0.02,
regardless of the true value of p?
31
2.6 Confidence Interval for the
Difference between
Two Proportions
OBJECTIVE
After completing this chapter, you should be able to
32
The ( 1 – α ) 100 % confidence interval for the difference
proportions p1 – p2
p1q1 p2 q2
p1 p2 z
2 n1 n2
33
Example 2.9
Two different types of injection-molding
machines are used to form plastic parts. A
part is considered defective if it has excessive
shrinkage or is discolored. Two random
samples, each of size 300, are selected, and
15 defective parts are found in the sample
from machine 1 while 8 defective parts are
found in the sample from machine 2.
Construct a 95% confidence interval on the
difference in the two proportions defective.
34
2.7 Confidence Interval
for Variances and
Standard Deviation
OBJECTIVE
After completing this chapter, you should be able to
35
The ( 1 – α ) 100 % confidence interval for the variance, 2
n 1 s 2 n 1 s 2
, 2
,n 1 1 ,n 1
2
2 2
n 1 s 2 , n 1 s 2
2 12
2
, n 1
2
, n 1
Where
n 1 s 2
37
Example 2.11
A factory has a machine that’s designed to filled
boxes with an average of 24 ounces of cereal, and
the population standard deviation for this filling
process is expected to be 0.1 ounce.
Thus, if the machine is working properly, the
population variance should be 0.01 squared ounce.
To estimate the value of population variance, an
employee selected a random sample of 15 boxes
from a supply filled by the machine and found that
the sample variance was 0.008 squared ounce.
What is the 98% confidence interval for the
population variance and standard deviation?
38
2.8 Confidence Interval
for the Ratio of Two Variances
and
Standard Deviations
OBJECTIVE
After completing this chapter, you should be able to
39
The ( 1 – α ) 100 % confidence interval
12
for the ratio of variance, 2
2
2 2
s1 1 s1
2 , 2 F ,n 1,n 1
s2 F ,n 1,n 1 s2 2 2 1
2 1 2
Where
s12 12
~ Fn1 1,n2 1 (F distribution)
s2 2
2 2
1
F1 , n1 1, n2 1
2 F , n2 1, n1 1
2
40
Example 2.12
The machine in Example 2.10 is serviced. A
random sample of 12 rulers produced by the
machine after the serviced made give a set
of data below.
100.03, 100.01, 100.02, 100.04,
99.90, 99.96, 100.04, 100.06,
100.08, 99.98, 100.11, 100.05
Find the 95% confidence interval for ratio of
variance for all rulers produced by the
machine before and after the service.
41
Conclusion
An important aspect of inferential statistics is
estimation
Thank You
NEXT: CHAPTER 3 HYPOTHESIS TESTING 42