SlideShare a Scribd company logo
INTRODUCTION TO CHAPTER 6

CONFIDENCE INTERVALS
 NOTION: (1 - α) CONFIDENCE INTERVAL

 CI FOR NORMAL POPULATION MEAN µ
 CI FOR ANY POPULATION MEAN :
LARGE SAMPLE
 CI FOR PROPORTION (OR PROBABILITY) p
 CI FOR NORMAL TWO POPULATION MEANS
 CI FOR NORMAL POPULATION VARIANCE σ 2
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

1
NOTION - DEFINITION
CONFIDENCE INTERVAL


Definition
 Consider

 Definition:
The Interval
is called to be the (1 - α ) CI for a
parameter θ
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

2
CI FOR NORMAL MEAN
WHEN VARIANCE IS KNOWN
The Key:

The (1- α) CI for the normal mean µ is:

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

3
Example 1:
Find 95% CI for µ of X: content (liters) of certain containers.
Suppose that X is normally distributed with standard deviation
σ = 0.3. A sample of 16 containers gives a mean of 15.124 liters.
Solution:
Problem: CI for the mean µ of X. X: Normally Distributed
Variance is known: Standard Deviation, σ = 0.3

• Apply [ X − ∆, X + ∆] , where ∆ = z (σ / n )
• Given: size n = 16, Standard Deviation, σ = 0.3, x = 15.124 liter.
• 1 -  = 0.95,  = 0.05,  / 2 = 0.025, z = 1.96
• Calculate: ∆ = z σ / n = 1.96(0.3) / 16 = 0.147
α
2

0.025

α /2

x − ∆ = 15.124 − 0.147 = 14.977
x + ∆ = 15.124 + 0.147 = 15.271

• Answer: The 95% CI for µ is

[14.977, 15.271] liters.

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

4
CI FOR NORMAL MEAN
WHEN VARIANCE UNKNOWN
 The key:

X−μ
T=
~ t(n − 1) , n < 30
S/ n

 The (1- α) CI for the normal mean µ is:

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

5
Example 2:
Find the 90%-CI for the mean of gas mileage, in (miles/gallon).
Suppose the mileage is normally distributed.A sample of size 25
gives a sample mean 36.524 and a standard deviation 2.41.
Solution:
Problem: CI for the mean µ of gas mileage, X.
X: Normally Distributed,Variance is unknown:

• Apply [ X −∆, X +∆] , where ∆=t ( S / n )
• Given: size n = 25, Standard Deviation, S = 2.41, x = 36.524
• 1 -  = 0.90,  = 0.10,  / 2 = 0.05, t = 1.711
• Calculate: ∆ = t (S / n ) = (1.711)(2.41 / 5) = 0.825 , X = 36.524
α , n−
1
2

0.05,24

α , n −1
2

x − ∆ = 36.524 − 0.825 = 35.699 ;
x + ∆ = 37.349
• Answer: The 90% CI for the mean of gas mileage is
[35.699, 37.349] miles/gallon
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

6
Example 3:
1. Suppose that the following data are observations from
N (µ, σ 2), σ 2 is unknown:
15 81 41 27 23 16 29 30 32 22 25 18
Find a 95% confidence interval for µ.
2. How large a sample is required if we want the length L
of a 95% confidence interval for the mean µ of a
normal population with standard deviation σ = 0.6 is
at most 0.2?
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

7
Solution:
1. Problem: CI for the mean µ of X.
X: Normally Distributed,Variance is unknown:

• Apply [ X −∆, X +∆] , where ∆=t ( S / n )
• Given: size n = 12, Standard Deviation, S = 17.68, x = 29.92
• 1 -  = 0.95,  = 0.05,  / 2 = 0.025, t = 2.201
• Calculate: ∆ = t (S / n ) = (2.201)(17.68 / 12 ) = 11.23 , x = 29.92
α , n−
1
2

0.025,11

α , n −1
2

x − ∆ = 29.92 − 11.23 = 18.69 ;

x + ∆ = 41.15

• Answer: The 95% CI for the mean µ is [18.69, 41.15]
2. The length of the (1- ) confidence interval for µ is L = 2.∆ =
2.z α .σ /

n

2

L ≤ 0.2,

2.z α .σ / n ≤ 0.2
2

or

n ≥ [2(1.96)(0.6) /(0.2)]2 = 138.3 ≈ 139

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

8
CI FOR THE MEAN
OF ANY DISTRIBUTION:
LARGE SAMPLE
 Key:

 Then



X −µ
P − z α ≤
 2 σ / n ≤ z α  ≅ 1 −α
2 



 Therefore the Approximate (1 - α) CI for µ is

 σ will be replaced by S if σ is unknown
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

9
Example 4:
Find the 99% CI for the mean µ of certain chemical substance (in
grams/liter) in a river, based on measurements in 36 randomly
selected locations: sample mean = 2.45, S = 0.3
Solution:
Problem: CI for the mean µ of X. X: Not normally distributed,

[Variance is unknown,wheren ∆ = zα / 2 ( S / n )
X − ∆ , X + ∆ ] , Large (n = 36),

• Apply
x
• Given: size n = 36, Standard Deviation, S = 0.3, = 2.45
• 1 -  = 0.99,∆ == z0.01,/  /n2 = (0.005,)(z .3 / =)2.576 , x = 2.45
(S
) = 2.576 0 6 = 0.129
• Calculate: x − ∆ = 2.45 − 0.129 = 2.321 ; x + ∆ = 2.579
• Answer: The 99% CI for the mean µ of the chemical
α
2

0.005

substance in a river is [2.321, 2.579] mg/l
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

10
CI FOR PROPORTION p
 Key: X: number of S-items in an n- sample

 Condition:

ˆ
ˆ
np = X ≥ 5, n(1 − p ) = n − X ≥ 5



ˆ
p −p
≤ zα  ≅1−α
 Then P − z α ≤

2
2 
ˆ
ˆ
p(1 − p ) / n


 Therefore the Approximate (1 - α) CI for p is:

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

11
Example 5:
Find the 90% CI for the proportion p of defective items produced
by a manufacturer if in a random sample of 250 items there are 12
defectives.
Solution:
Problem: CI for the proportion p of defective items.
Large sample.
ˆ
ˆ
• Apply [ p −∆, p +∆] , where ∆ = z
• Given Sample Data: n = 250, X = 12
• 1 -  = 0.90,  = 0.10,  / 2 = 0.05, z = 1.645
• Calculations:
α
2

ˆ
ˆ
p (1 − p ) / n

0.05

ˆ
p = X / n = 12 / 250 = 0.048 ,

ˆ
ˆ
∆ = z0.05 p(1 − p ) / n = 0.0222

ˆ
ˆ
p − ∆ = 0.048 − 0.0222 = 0.0258 ; p + ∆ = 0.048 + 0.0222 = 0.0702
• Answer: The 90% CI for the proportion p of defective items
produced by the manufacturer is [0.0258; 0.0702]
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

12
CI FOR TWO NORMAL MEANS
- VARIANCES ARE KNOWN The Key:

The (1- α) CI for the normal mean µ1− µ2 is:

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

13
Example 6:
A random of 20 specimens of cold-rolled steel yield a sample average strength
30.2 , and a sample of 25 galvanized steel specimens gave a sample average
strength 35.1. Assume these two strength distributions are normal with σ 1 =
4.0 and σ 2 = 5.0. Find the 99% CI for the difference in mean µ1- µ2.

Solution: Problem: CI for the difference in mean µ1- µ2
of two normal random variables, known variances
Apply
σ
σ
2

[ (X1 − X 2 ) − Δ , (X1 − X 2 ) + Δ ] , where Δ = z α

2

1

n1

2

+

2

n2

1-  = 0.99,  = 0.01, /2 = 0.005 z /2 = z 0.005 = 2.576
x1 = 30.2,
x 2 = 35.1 , σ 1 = 4.0, σ 2 = 5.0, n1 = 20, n2 = 25
Calculate

2

Δ =zα
2

2

σ1
σ2
4.0 2 5.0 2
+
= (2.576)
+
= 3.456
n1
n2
20
25

(X1 − X 2 ) − Δ = (30.2 − 35.1) − 3.456 = −8.356, (X1 − X 2 ) + Δ = (30.2 − 35.1) + 3.456 = −1.444

Answer: The 99% CI for the difference in mean µ1- µ2 of
cold-rolled steel strength is [-8.356, -1.444]
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

14
CI FOR ANY TWO MEANS
- VARIANCES ARE UNKNOWN –
LARGE SAMPLES

 The Key:

The (1- α) CI for the normal mean µ1− µ2 is:

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

15
Example 7:
60 pieces of each type of thread are tested under similar conditions. Type A
thread had an average tensile strength of 86.7 kgs with a SD of 6.15 kgs, while
type B had an average tensile strength of 77.8 kgs with a SD of 5.82 kgs. Find
the 90% CI for the difference in mean µA- µB.

Solution: Problem: CI for the difference in mean µ1- µ2 of two
random variables, unknown variances, large samples
Apply [ (X − X ) − Δ , (X − X ) + Δ ] , where Δ = z S + S
2

A

B

A

B

2

A

α
2

B

nA

nB

1-  = 0.90,  = 0.10, /2 = 0.05 z /2 = z 0.05 = 1.645
x A = 86.7,
x B = 77.8 , sA = 6.15, sB = 5.82, nA = 60, nB = 60
Calculate

2

Δ =zα
2

2

SA
SB
6.15 2 5.82 2
+
= (1.645)
+
= 1.798
nA
nB
60
60

(X A − X B ) − Δ = (86.7 − 77.8) − 1.798 = 7.102, (X A − X B ) + Δ = (86.7 − 77.8) + 1.798 = 10.698

Answer: The 90% CI for the difference in mean µA- µB of
cold-rolled steel strength is [7.102, 10.698]
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

16
CI FOR ANY TWO MEANS
- VARIANCES ARE UNKNOWN –
SMALL SAMPLES
2

σ1 = σ 2

The Key:

2

( X1 − X 2 ) −(μ 1 −μ 2 )
T=
~ t(n1 + n 2 − 2)
S p 1/n 1 +1/n 2
2

Sp =

2

S 1 (n1 −1) + S 2 (n 2 −1)
, n 1 , n 2 < 30
n1 +n 2 − 2

The (1- α) CI for the normal mean µ1− µ2 is:
[ (X1 − X 2 ) − Δ , (X1 − X 2 ) + Δ ] , where Δ = t α ,n1 + n 2 − 2 S p
2

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

1 1
+
n1 n 2
17
CI FOR ANY TWO MEANS
- VARIANCES ARE UNKNOWN –
SMALL SAMPLES
2

σ1 ≠ σ 2

 The Key:

T=

( X1 − X 2 ) − (μ 1 − μ 2 )
2

~ t(v)

2

S1 /n 1 + S 2 /n 2
2

2

2

(S1 /n1 + S 2 /n 2 ) 2
v=
, n1 , n 2 < 30
2
2
2
2
(S1 /n1 ) /(n1 − 1) + (S 2 /n 2 ) /(n 2 − 1)

The (1- α) CI for the normal mean µ1− µ2 is:
2

[ (X1 − X 2 ) − Δ , (X1 − X 2 ) + Δ ] , where Δ = t α , v
2

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

2

S1 S 2
+
n1 n 2

18
CI FOR VARIANCE
OF NORMAL R V
 Key:

 Therefore the (1- α) CI for σ2 is:

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

19
Example 8:
A hardware manufacturer produces 10-mm bolts. The diameters
(mm) of a sample of 12 bolts, give a sample variance 0.0026 &
sample mean 9.975. Find a 90% CI for σ2 and for µ. Suppose the
bold diameter is normally distributed.
Solution:
Problem: CI for σ 2 of bolt diameters. The diameters are
Normally S 2 (n −1) S 2 
 ( n −1) Distributed

,
• Apply  2
2

•
•
•
•




χα ,n −1
2

χ1− α ,n −1 

2

Given Sample Data: n = 12, S2 = 0.0026
1 -  = 0.90,  = 0.10,  /2 = 0.05, 1 -  /2 = 0.95
X 20.05,11 = 19.675;
X 20.95,11 = 4.575
Calculations: (n − 1) S 2 / χ α2, n − 1 = 0.00145 , (n − 1) S 2 / χ12− α , n − 1 = 0.00625
Answer: The 90% CI for the proportion variance of bolt
2

2

diameters is [0.00145; 0.00625] mm2
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

20
Problem: CI for the mean µ of diameters, X. X: Normally Distributed
Variance is unknown

• Apply [ X −∆, X +∆] , where ∆=t ( S / n )
• Given: size n = 12, Standard Deviation, S = 0.0510, x = 9.975 mm
• 1 -  = 0.90,  = 0.10,  / 2 = 0.05, t = 1.796
• Calculate:
α , n−
1
2

0.05, 11

∆ = t α ,n −1 ( S / n ) = (1.796)(0.0510 / 12 ) = 0.0264 , x = 9.975
2

x − ∆ = 9.975 − 0.0264 = 9.949 ;

• Answer: The 90% CI for µ is

x + ∆ = 10.001

[9.949, 10.001] mm.

Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

21
SUMMARY OF CHAPTER 6

CONFIDENCE INTERVALS
 NOTION: (1 - α) CONFIDENCE INTERVAL

 CI FOR NORMAL POPULATION MEAN µ
 CI FOR ANY POPULATION MEAN :
LARGE SAMPLE
 CI FOR PROPORTION (OR PROBABILITY) p
 CI FOR NORMAL TWO POPULATION MEANS
 CI FOR NORMAL POPULATION VARIANCE σ 2
Prepared by Narinderjit Singh
Confidence Interval
Probability & Statistics

22

More Related Content

What's hot

test & measuement
test & measuementtest & measuement
test & measuement
suresh kumar
 
Variance & standard deviation
Variance & standard deviationVariance & standard deviation
Variance & standard deviation
Faisal Hussain
 
Chapter09
Chapter09Chapter09
Chapter09
rwmiller
 
Mba i qt unit-2.1_measures of variations
Mba i qt unit-2.1_measures of variationsMba i qt unit-2.1_measures of variations
Mba i qt unit-2.1_measures of variations
Rai University
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
nszakir
 
Measure of Central Tendency
Measure of Central TendencyMeasure of Central Tendency
Measure of Central Tendency
Kaushik Deb
 
measure of dispersion
measure of dispersion measure of dispersion
measure of dispersion
som allul
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Long Beach City College
 
Statistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciStatistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ci
Selvin Hadi
 
Sriram seminar on introduction to statistics
Sriram seminar on introduction to statisticsSriram seminar on introduction to statistics
Sriram seminar on introduction to statistics
Sriram Chakravarthy
 
Standard deviation (3)
Standard deviation (3)Standard deviation (3)
Standard deviation (3)
Sonali Prasad
 
Properties of Standard Deviation
Properties of Standard DeviationProperties of Standard Deviation
Properties of Standard Deviation
Rizwan Sharif
 
Dispersion stati
Dispersion statiDispersion stati
Dispersion stati
Lanka Praneeth
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
Mai Ngoc Duc
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
Rica Joy Pontilar
 
Mean deviation (2018)
Mean deviation (2018)Mean deviation (2018)
Mean deviation (2018)
sumanmathews
 
The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...
The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...
The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...
Muhammad Amir Sohail
 
3.2 Measures of variation
3.2 Measures of variation3.2 Measures of variation
3.2 Measures of variation
Long Beach City College
 
Measure of dispersion statistics
Measure of dispersion statisticsMeasure of dispersion statistics
Measure of dispersion statistics
Tanvirkhan164
 
Help on frequency distributions
Help on frequency distributionsHelp on frequency distributions
Help on frequency distributions
Brent Heard
 

What's hot (20)

test & measuement
test & measuementtest & measuement
test & measuement
 
Variance & standard deviation
Variance & standard deviationVariance & standard deviation
Variance & standard deviation
 
Chapter09
Chapter09Chapter09
Chapter09
 
Mba i qt unit-2.1_measures of variations
Mba i qt unit-2.1_measures of variationsMba i qt unit-2.1_measures of variations
Mba i qt unit-2.1_measures of variations
 
Density Curves and Normal Distributions
Density Curves and Normal DistributionsDensity Curves and Normal Distributions
Density Curves and Normal Distributions
 
Measure of Central Tendency
Measure of Central TendencyMeasure of Central Tendency
Measure of Central Tendency
 
measure of dispersion
measure of dispersion measure of dispersion
measure of dispersion
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Statistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ciStatistik 1 7 estimasi & ci
Statistik 1 7 estimasi & ci
 
Sriram seminar on introduction to statistics
Sriram seminar on introduction to statisticsSriram seminar on introduction to statistics
Sriram seminar on introduction to statistics
 
Standard deviation (3)
Standard deviation (3)Standard deviation (3)
Standard deviation (3)
 
Properties of Standard Deviation
Properties of Standard DeviationProperties of Standard Deviation
Properties of Standard Deviation
 
Dispersion stati
Dispersion statiDispersion stati
Dispersion stati
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
 
Mean deviation (2018)
Mean deviation (2018)Mean deviation (2018)
Mean deviation (2018)
 
The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...
The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...
The commonly used measures of absolute dispersion are: 1. Range 2. Quartile D...
 
3.2 Measures of variation
3.2 Measures of variation3.2 Measures of variation
3.2 Measures of variation
 
Measure of dispersion statistics
Measure of dispersion statisticsMeasure of dispersion statistics
Measure of dispersion statistics
 
Help on frequency distributions
Help on frequency distributionsHelp on frequency distributions
Help on frequency distributions
 

Similar to Confidence intervals (probabilty and statistics

Estimation part II
Estimation part IIEstimation part II
Estimation part II
Nadeem Uddin
 
Student t t est
Student t t estStudent t t est
Student t t est
Ashok Reddy
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Long Beach City College
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
Long Beach City College
 
Douglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdf
Douglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdfDouglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdf
Douglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdf
LeonardoPassos39
 
09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt
Pooja Sakhla
 
Solutions. Design and Analysis of Experiments. Montgomery
Solutions. Design and Analysis of Experiments. MontgomerySolutions. Design and Analysis of Experiments. Montgomery
Solutions. Design and Analysis of Experiments. Montgomery
Byron CZ
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
J. García - Verdugo
 
Estimation by c.i
Estimation by c.iEstimation by c.i
Estimation by c.i
Shahab Yaseen
 
BUS173 Lecture 5.pdf
BUS173 Lecture 5.pdfBUS173 Lecture 5.pdf
BUS173 Lecture 5.pdf
SusantoSaha1
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Statistical ppt
Statistical pptStatistical ppt
Statistical ppt
feminaargonza09
 
227_ch7-hw-soln.pdf
227_ch7-hw-soln.pdf227_ch7-hw-soln.pdf
227_ch7-hw-soln.pdf
CamilaTinampay
 
Chapter11
Chapter11Chapter11
Chapter11
Richard Ferreria
 
Statistics assignment 8
Statistics assignment 8Statistics assignment 8
Statistics assignment 8
Ishaq Ahmed
 
Tables and Formulas for Sullivan, Statistics Informed Decisio.docx
Tables and Formulas for Sullivan, Statistics Informed Decisio.docxTables and Formulas for Sullivan, Statistics Informed Decisio.docx
Tables and Formulas for Sullivan, Statistics Informed Decisio.docx
mattinsonjanel
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
Long Beach City College
 
2
22
Statistics for qc 2
Statistics for qc 2Statistics for qc 2
S7 pn
S7 pnS7 pn

Similar to Confidence intervals (probabilty and statistics (20)

Estimation part II
Estimation part IIEstimation part II
Estimation part II
 
Student t t est
Student t t estStudent t t est
Student t t est
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or VarianceEstimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Douglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdf
Douglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdfDouglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdf
Douglas C. Montgomery - Design and Analysis of Experiments, solutions manual.pdf
 
09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt09 test of hypothesis small sample.ppt
09 test of hypothesis small sample.ppt
 
Solutions. Design and Analysis of Experiments. Montgomery
Solutions. Design and Analysis of Experiments. MontgomerySolutions. Design and Analysis of Experiments. Montgomery
Solutions. Design and Analysis of Experiments. Montgomery
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
 
Estimation by c.i
Estimation by c.iEstimation by c.i
Estimation by c.i
 
BUS173 Lecture 5.pdf
BUS173 Lecture 5.pdfBUS173 Lecture 5.pdf
BUS173 Lecture 5.pdf
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Statistical ppt
Statistical pptStatistical ppt
Statistical ppt
 
227_ch7-hw-soln.pdf
227_ch7-hw-soln.pdf227_ch7-hw-soln.pdf
227_ch7-hw-soln.pdf
 
Chapter11
Chapter11Chapter11
Chapter11
 
Statistics assignment 8
Statistics assignment 8Statistics assignment 8
Statistics assignment 8
 
Tables and Formulas for Sullivan, Statistics Informed Decisio.docx
Tables and Formulas for Sullivan, Statistics Informed Decisio.docxTables and Formulas for Sullivan, Statistics Informed Decisio.docx
Tables and Formulas for Sullivan, Statistics Informed Decisio.docx
 
Estimating a Population Mean
Estimating a Population MeanEstimating a Population Mean
Estimating a Population Mean
 
2
22
2
 
Statistics for qc 2
Statistics for qc 2Statistics for qc 2
Statistics for qc 2
 
S7 pn
S7 pnS7 pn
S7 pn
 

Recently uploaded

Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
Sease
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
Vadym Kazulkin
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
LizaNolte
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 

Recently uploaded (20)

Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
From Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMsFrom Natural Language to Structured Solr Queries using LLMs
From Natural Language to Structured Solr Queries using LLMs
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham HillinQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
inQuba Webinar Mastering Customer Journey Management with Dr Graham Hill
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 

Confidence intervals (probabilty and statistics

  • 1. INTRODUCTION TO CHAPTER 6 CONFIDENCE INTERVALS  NOTION: (1 - α) CONFIDENCE INTERVAL  CI FOR NORMAL POPULATION MEAN µ  CI FOR ANY POPULATION MEAN : LARGE SAMPLE  CI FOR PROPORTION (OR PROBABILITY) p  CI FOR NORMAL TWO POPULATION MEANS  CI FOR NORMAL POPULATION VARIANCE σ 2 Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 1
  • 2. NOTION - DEFINITION CONFIDENCE INTERVAL  Definition  Consider  Definition: The Interval is called to be the (1 - α ) CI for a parameter θ Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 2
  • 3. CI FOR NORMAL MEAN WHEN VARIANCE IS KNOWN The Key: The (1- α) CI for the normal mean µ is: Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 3
  • 4. Example 1: Find 95% CI for µ of X: content (liters) of certain containers. Suppose that X is normally distributed with standard deviation σ = 0.3. A sample of 16 containers gives a mean of 15.124 liters. Solution: Problem: CI for the mean µ of X. X: Normally Distributed Variance is known: Standard Deviation, σ = 0.3 • Apply [ X − ∆, X + ∆] , where ∆ = z (σ / n ) • Given: size n = 16, Standard Deviation, σ = 0.3, x = 15.124 liter. • 1 -  = 0.95,  = 0.05,  / 2 = 0.025, z = 1.96 • Calculate: ∆ = z σ / n = 1.96(0.3) / 16 = 0.147 α 2 0.025 α /2 x − ∆ = 15.124 − 0.147 = 14.977 x + ∆ = 15.124 + 0.147 = 15.271 • Answer: The 95% CI for µ is [14.977, 15.271] liters. Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 4
  • 5. CI FOR NORMAL MEAN WHEN VARIANCE UNKNOWN  The key: X−μ T= ~ t(n − 1) , n < 30 S/ n  The (1- α) CI for the normal mean µ is: Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 5
  • 6. Example 2: Find the 90%-CI for the mean of gas mileage, in (miles/gallon). Suppose the mileage is normally distributed.A sample of size 25 gives a sample mean 36.524 and a standard deviation 2.41. Solution: Problem: CI for the mean µ of gas mileage, X. X: Normally Distributed,Variance is unknown: • Apply [ X −∆, X +∆] , where ∆=t ( S / n ) • Given: size n = 25, Standard Deviation, S = 2.41, x = 36.524 • 1 -  = 0.90,  = 0.10,  / 2 = 0.05, t = 1.711 • Calculate: ∆ = t (S / n ) = (1.711)(2.41 / 5) = 0.825 , X = 36.524 α , n− 1 2 0.05,24 α , n −1 2 x − ∆ = 36.524 − 0.825 = 35.699 ; x + ∆ = 37.349 • Answer: The 90% CI for the mean of gas mileage is [35.699, 37.349] miles/gallon Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 6
  • 7. Example 3: 1. Suppose that the following data are observations from N (µ, σ 2), σ 2 is unknown: 15 81 41 27 23 16 29 30 32 22 25 18 Find a 95% confidence interval for µ. 2. How large a sample is required if we want the length L of a 95% confidence interval for the mean µ of a normal population with standard deviation σ = 0.6 is at most 0.2? Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 7
  • 8. Solution: 1. Problem: CI for the mean µ of X. X: Normally Distributed,Variance is unknown: • Apply [ X −∆, X +∆] , where ∆=t ( S / n ) • Given: size n = 12, Standard Deviation, S = 17.68, x = 29.92 • 1 -  = 0.95,  = 0.05,  / 2 = 0.025, t = 2.201 • Calculate: ∆ = t (S / n ) = (2.201)(17.68 / 12 ) = 11.23 , x = 29.92 α , n− 1 2 0.025,11 α , n −1 2 x − ∆ = 29.92 − 11.23 = 18.69 ; x + ∆ = 41.15 • Answer: The 95% CI for the mean µ is [18.69, 41.15] 2. The length of the (1- ) confidence interval for µ is L = 2.∆ = 2.z α .σ / n 2 L ≤ 0.2, 2.z α .σ / n ≤ 0.2 2 or n ≥ [2(1.96)(0.6) /(0.2)]2 = 138.3 ≈ 139 Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 8
  • 9. CI FOR THE MEAN OF ANY DISTRIBUTION: LARGE SAMPLE  Key:  Then   X −µ P − z α ≤  2 σ / n ≤ z α  ≅ 1 −α 2     Therefore the Approximate (1 - α) CI for µ is  σ will be replaced by S if σ is unknown Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 9
  • 10. Example 4: Find the 99% CI for the mean µ of certain chemical substance (in grams/liter) in a river, based on measurements in 36 randomly selected locations: sample mean = 2.45, S = 0.3 Solution: Problem: CI for the mean µ of X. X: Not normally distributed, [Variance is unknown,wheren ∆ = zα / 2 ( S / n ) X − ∆ , X + ∆ ] , Large (n = 36), • Apply x • Given: size n = 36, Standard Deviation, S = 0.3, = 2.45 • 1 -  = 0.99,∆ == z0.01,/  /n2 = (0.005,)(z .3 / =)2.576 , x = 2.45 (S ) = 2.576 0 6 = 0.129 • Calculate: x − ∆ = 2.45 − 0.129 = 2.321 ; x + ∆ = 2.579 • Answer: The 99% CI for the mean µ of the chemical α 2 0.005 substance in a river is [2.321, 2.579] mg/l Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 10
  • 11. CI FOR PROPORTION p  Key: X: number of S-items in an n- sample  Condition: ˆ ˆ np = X ≥ 5, n(1 − p ) = n − X ≥ 5   ˆ p −p ≤ zα  ≅1−α  Then P − z α ≤  2 2  ˆ ˆ p(1 − p ) / n    Therefore the Approximate (1 - α) CI for p is: Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 11
  • 12. Example 5: Find the 90% CI for the proportion p of defective items produced by a manufacturer if in a random sample of 250 items there are 12 defectives. Solution: Problem: CI for the proportion p of defective items. Large sample. ˆ ˆ • Apply [ p −∆, p +∆] , where ∆ = z • Given Sample Data: n = 250, X = 12 • 1 -  = 0.90,  = 0.10,  / 2 = 0.05, z = 1.645 • Calculations: α 2 ˆ ˆ p (1 − p ) / n 0.05 ˆ p = X / n = 12 / 250 = 0.048 , ˆ ˆ ∆ = z0.05 p(1 − p ) / n = 0.0222 ˆ ˆ p − ∆ = 0.048 − 0.0222 = 0.0258 ; p + ∆ = 0.048 + 0.0222 = 0.0702 • Answer: The 90% CI for the proportion p of defective items produced by the manufacturer is [0.0258; 0.0702] Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 12
  • 13. CI FOR TWO NORMAL MEANS - VARIANCES ARE KNOWN The Key: The (1- α) CI for the normal mean µ1− µ2 is: Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 13
  • 14. Example 6: A random of 20 specimens of cold-rolled steel yield a sample average strength 30.2 , and a sample of 25 galvanized steel specimens gave a sample average strength 35.1. Assume these two strength distributions are normal with σ 1 = 4.0 and σ 2 = 5.0. Find the 99% CI for the difference in mean µ1- µ2. Solution: Problem: CI for the difference in mean µ1- µ2 of two normal random variables, known variances Apply σ σ 2 [ (X1 − X 2 ) − Δ , (X1 − X 2 ) + Δ ] , where Δ = z α 2 1 n1 2 + 2 n2 1-  = 0.99,  = 0.01, /2 = 0.005 z /2 = z 0.005 = 2.576 x1 = 30.2, x 2 = 35.1 , σ 1 = 4.0, σ 2 = 5.0, n1 = 20, n2 = 25 Calculate 2 Δ =zα 2 2 σ1 σ2 4.0 2 5.0 2 + = (2.576) + = 3.456 n1 n2 20 25 (X1 − X 2 ) − Δ = (30.2 − 35.1) − 3.456 = −8.356, (X1 − X 2 ) + Δ = (30.2 − 35.1) + 3.456 = −1.444 Answer: The 99% CI for the difference in mean µ1- µ2 of cold-rolled steel strength is [-8.356, -1.444] Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 14
  • 15. CI FOR ANY TWO MEANS - VARIANCES ARE UNKNOWN – LARGE SAMPLES  The Key: The (1- α) CI for the normal mean µ1− µ2 is: Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 15
  • 16. Example 7: 60 pieces of each type of thread are tested under similar conditions. Type A thread had an average tensile strength of 86.7 kgs with a SD of 6.15 kgs, while type B had an average tensile strength of 77.8 kgs with a SD of 5.82 kgs. Find the 90% CI for the difference in mean µA- µB. Solution: Problem: CI for the difference in mean µ1- µ2 of two random variables, unknown variances, large samples Apply [ (X − X ) − Δ , (X − X ) + Δ ] , where Δ = z S + S 2 A B A B 2 A α 2 B nA nB 1-  = 0.90,  = 0.10, /2 = 0.05 z /2 = z 0.05 = 1.645 x A = 86.7, x B = 77.8 , sA = 6.15, sB = 5.82, nA = 60, nB = 60 Calculate 2 Δ =zα 2 2 SA SB 6.15 2 5.82 2 + = (1.645) + = 1.798 nA nB 60 60 (X A − X B ) − Δ = (86.7 − 77.8) − 1.798 = 7.102, (X A − X B ) + Δ = (86.7 − 77.8) + 1.798 = 10.698 Answer: The 90% CI for the difference in mean µA- µB of cold-rolled steel strength is [7.102, 10.698] Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 16
  • 17. CI FOR ANY TWO MEANS - VARIANCES ARE UNKNOWN – SMALL SAMPLES 2 σ1 = σ 2 The Key: 2 ( X1 − X 2 ) −(μ 1 −μ 2 ) T= ~ t(n1 + n 2 − 2) S p 1/n 1 +1/n 2 2 Sp = 2 S 1 (n1 −1) + S 2 (n 2 −1) , n 1 , n 2 < 30 n1 +n 2 − 2 The (1- α) CI for the normal mean µ1− µ2 is: [ (X1 − X 2 ) − Δ , (X1 − X 2 ) + Δ ] , where Δ = t α ,n1 + n 2 − 2 S p 2 Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 1 1 + n1 n 2 17
  • 18. CI FOR ANY TWO MEANS - VARIANCES ARE UNKNOWN – SMALL SAMPLES 2 σ1 ≠ σ 2  The Key: T= ( X1 − X 2 ) − (μ 1 − μ 2 ) 2 ~ t(v) 2 S1 /n 1 + S 2 /n 2 2 2 2 (S1 /n1 + S 2 /n 2 ) 2 v= , n1 , n 2 < 30 2 2 2 2 (S1 /n1 ) /(n1 − 1) + (S 2 /n 2 ) /(n 2 − 1) The (1- α) CI for the normal mean µ1− µ2 is: 2 [ (X1 − X 2 ) − Δ , (X1 − X 2 ) + Δ ] , where Δ = t α , v 2 Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 2 S1 S 2 + n1 n 2 18
  • 19. CI FOR VARIANCE OF NORMAL R V  Key:  Therefore the (1- α) CI for σ2 is: Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 19
  • 20. Example 8: A hardware manufacturer produces 10-mm bolts. The diameters (mm) of a sample of 12 bolts, give a sample variance 0.0026 & sample mean 9.975. Find a 90% CI for σ2 and for µ. Suppose the bold diameter is normally distributed. Solution: Problem: CI for σ 2 of bolt diameters. The diameters are Normally S 2 (n −1) S 2   ( n −1) Distributed  , • Apply  2 2 • • • •   χα ,n −1 2 χ1− α ,n −1   2 Given Sample Data: n = 12, S2 = 0.0026 1 -  = 0.90,  = 0.10,  /2 = 0.05, 1 -  /2 = 0.95 X 20.05,11 = 19.675; X 20.95,11 = 4.575 Calculations: (n − 1) S 2 / χ α2, n − 1 = 0.00145 , (n − 1) S 2 / χ12− α , n − 1 = 0.00625 Answer: The 90% CI for the proportion variance of bolt 2 2 diameters is [0.00145; 0.00625] mm2 Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 20
  • 21. Problem: CI for the mean µ of diameters, X. X: Normally Distributed Variance is unknown • Apply [ X −∆, X +∆] , where ∆=t ( S / n ) • Given: size n = 12, Standard Deviation, S = 0.0510, x = 9.975 mm • 1 -  = 0.90,  = 0.10,  / 2 = 0.05, t = 1.796 • Calculate: α , n− 1 2 0.05, 11 ∆ = t α ,n −1 ( S / n ) = (1.796)(0.0510 / 12 ) = 0.0264 , x = 9.975 2 x − ∆ = 9.975 − 0.0264 = 9.949 ; • Answer: The 90% CI for µ is x + ∆ = 10.001 [9.949, 10.001] mm. Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 21
  • 22. SUMMARY OF CHAPTER 6 CONFIDENCE INTERVALS  NOTION: (1 - α) CONFIDENCE INTERVAL  CI FOR NORMAL POPULATION MEAN µ  CI FOR ANY POPULATION MEAN : LARGE SAMPLE  CI FOR PROPORTION (OR PROBABILITY) p  CI FOR NORMAL TWO POPULATION MEANS  CI FOR NORMAL POPULATION VARIANCE σ 2 Prepared by Narinderjit Singh Confidence Interval Probability & Statistics 22