Professional Documents
Culture Documents
PowerPoint slides from Lombard C, van der Merwe L, Kele T & Mouton A also used
CONFIDENCE INTERVALS
i. Population mean
ii. Population proportion
iii. Population variance
2
CONFIDENCE INTERVALS
3
CONFIDENCE INTERVALS
Content
• CI for difference between two population means for large
(n1 ≥ 30 and n2 ≥ 30) and independent samples
4
CONFIDENCE INTERVALS
LEARNING OUTCOME
At the end of the lecture you will be able to:
5
CONFIDENCE INTERVALS
Confidence Interval for two populations
1 1 2
CI ( 1 − 2 )1− = x1 − x2 t sp + and 22 are unknown;
n1 + n2 − 2;1− n1 n2
1
2
n1 30 and n2 30
sp =
( n1 − 1) s12 + ( n2 − 1) s22
n1 + n2 − 2
6
CONFIDENCE INTERVALS
Confidence Interval for two populations
s12 s22
CI ( 1 − 2 )1− = x1 − x2 Z + 12 and 22 are unknown;
1− n1 n2
2
n1 30 and n2 30
12 22 2
CI ( 1 − 2 )1− = x1 − x2 Z + 1 and 22 are known; n1 30 and n2 30
1− n n
2 1 2
1 1 2
CI ( 1 − 2 )1− = x1 − x2 t sp + and 22 are unknown;
n1 + n2 − 2;1− n1 n2
1
2
n1 < 30 and n2 < 30
sp =
( n1 − 1) s12 + ( n2 − 1) s22
n1 + n2 − 2
7
CONFIDENCE INTERVALS
Confidence Interval
Examples:
Old Method
n1 = 75 x1 = 72.9 s1 = 5.5
New Method n2 = 60 x2 = 68.1 s2 = 5.1
Construct a 99% CI for the difference between the 2 population
means.
8
CONFIDENCE INTERVALS
Confidence Interval
s12 s22
Examples: CI ( 1 − 2 )0.99 = x1 − x2 Z +
1− n n
2 1 2
5.52 5.12
= 72.9 − 68.1 Z 0.995 +
75 60
= ( 4.8 2.575 0.9148 )
= ( 4.8 2.3556 )
= ( 2.4444;7.1556 )
At 99% confidence, the difference between the mean
accounting scores of the Old and New method for all
students is between 2.4444 and 7.1556 scores. 9
CONFIDENCE INTERVALS
Confidence Interval
CI – an interval estimate for the diff between two
population means for small and independent samples
1 1
CI ( 1 − 2 )1− = x1 − x2 t sp +
n1 + n2 − 2;1− n1 n2
2
Where sp =
( n1 − 1) s12 + ( n2 − 1) s22
n1 + n2 − 2
10
CONFIDENCE INTERVALS
Confidence Interval
Example
A manufacturing company is interested in buying one of two
different brands of machines. The company tested the two
machines for production purposes. The first machine run for 10
hours. It produced an average of 123 items/hour with a SD of 9
items. The second machine was run for 8 hours, it produced an
average of 114 items per hour with a SD of 6 items.
11
CONFIDENCE INTERVALS
Confidence Interval
Examples:
Machine 1
n1 = 10 x1 = 123 s1 = 9
Machine 2 n2 = 8 x2 = 114 s2 = 6
12
CONFIDENCE INTERVALS
Confidence Interval
Examples:
sp =
( n1 − 1) s12 + ( n2 − 1) s22 =
( 9 ) 92 + ( 7 ) 62 = 7.8302
n1 + n2 − 2 10 + 8 − 2
1 1
CI ( 1 − 2 )0.95 = x1 − x2 t sp +
n1 + n2 − 2;1− n1 n2
2
1 1
= 123 − 114 t16;0.975 7.8302 +
10 8
= ( 9 2.12 7.8302 0.4743)
= ( 9 7.8734 )
= (1.1266;16.8734 )
13
CONFIDENCE INTERVALS
Confidence Interval
Examples:
14
CONFIDENCE INTERVALS
Confidence Interval
CI – an interval estimate for the diff between two population
proportions for large and independent samples
p1 (1 − p1 ) p2 (1 − p2 )
CI ( 1 − )
2 1− = ( p1 − p2 ) Z +
1− n1 n2
2
x1 x2
p1 = p2 =
n1 n2
p1 (1 − p1 ) p2 (1 − p2 )
CI (1 − 2 )1− = ( p1 − p2 ) t +
n1+ n2 − 2;1− n1 n2
2
z – when n1 ≥ 30 & n2 ≥ 30
t – when n1 < 30 & n2 < 30 15
CONFIDENCE INTERVALS
Confidence Interval
16
CONFIDENCE INTERVALS
Confidence Interval
Examples:
Female households n2 = 1640 p2 = 0.66
17
CONFIDENCE INTERVALS
Confidence Interval
Examples:
p1 (1 − p1 ) p2 (1 − p2 )
CI ( 1 − 2 )1− = p1 − p2 Z +
1− n1 n2
2
0.819 (1 − 0.819 ) 0.66 (1 − 0.66 )
= 0.819 − 0.66 Z 0.995 +
1800 1640
(
= 0.159 2.575 0.0002 )
= ( 0.159 0.0363)
= ( 0.1209; 0.1971)
THANK YOU
19
REFERENCES
20