Confidence Interval Contd
Confidence Interval Contd
Department of Statistics,
University of Ibadan,
Nigeria.
1/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Introduction
Introduction
2/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Objectives
3/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
4/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
The general formula for the margin of error for a sample proportion is
given as:
p pq
±Z α2 n
5/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
1. pn ± Z α2 pqn , thus pn − Z 2
p p pq p pq
n ≤ p ≤ pn + Z 2
α α
n
2. pn ± Zα n , thus pn − Zα n ≤ p ≤ pn + Zα n
p pq p pq p pq
6/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
where Z( ) is standardized value from the standard normal table and α is the
signicance level. ⇒ If [α = 5%, 1 − α = 95%]
7/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Examples
Example:
In a community with 300 households, 123 ha colour TV. Obtain a 95%
condence interval for the (true population) proportion of households
with colour TV in the whole town.
for Practicals:
8/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Solution Cont'd
123
n = 300, p = 300 = 0.41, Z0.95 = 1.96
0.41(1 − 0.41)
r
S.E(p) =
300
0.41(0.59)
r
=
300
= 0.0284
Y
= p ± Z0.95 S.E(p)
= 0.41 ± 1.96(0.0284)
= 0.41 ± 0.05566
= (0.3543, 0.4657)
If 1.96 is appropriated to 2, we have
= 0.41 ± 2.00(0.0284)
Y
= 0.41 ± 0.0568
= (0.3532, 0.4668)
9/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Solution Cont'd
Example I
Given a population of size N = 4 as (3, 5, 8, 2)
The population mean is:
N
P
Xi
i=1
µ=
N
3+5+8+2
=
4
= 4.5
And the population variance is:
(3 − 4.4)2 + (5 − 4.5)2 + (8 − 4.5)2 + (2 − 4.5)2
σX2 =
4
21
=
4
= 5.25
10/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Class Work
Class work
1. Suppose that UI admission oce latest statistics shows that out of
every 3500 students that apply for undergraduate admissions, only
1500 are qualied. At 95% and 99% condence level,
a. what is the percentage of admission intake based on the
statistics?
b. what is the margin of errors of the qualied candidates?
c. construct the condence limit and interval of the qualied
candidates.
2. Suppose 80% out of every `n' that enrol in a military course
graduated. Given that the margin error is ±1.43% at 95%
condence level. What is
a. the value of `n'?
b. construct the condence limit and interval for the given
information.
11/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Exercises
Exercises
Exercise 1: If 450 out of every 500 iron rods produced by a Steel
Manufacturing Company are non-defective. Construct
(a) the percentage of defective iron rods
(b) the margin of errors of non-defective l and obtain
(c) condence limits and intervals for the proportion of non-defective iron rods
at 99% and 95% condence leve.
Exercise 2: The recent US presidential pre-election poll shows that, 2000 out of
every 5000 American voters will vote the Republican candidate in the
forthcoming election at 99% condence level. Construct,
(i) the percentage of voters not in favour of Republican candidate
(ii) the margin of error of voters in support of Republican candidate
(iii) the margin of error of voters that will oppose the Republican candidate
(iv) the condence limit and interval of voters for and against the Republican
candidate.
12/13
Prof. O.E. Olubusoye C.I%
Lecture Eight
Q&A
Q&A
13/13
Prof. O.E. Olubusoye C.I%