Professional Documents
Culture Documents
JIM104 VC3 Chapter 4 (2015-16) PDF
JIM104 VC3 Chapter 4 (2015-16) PDF
INTRODUCTION TO
STATISTICS
Video Conference 3
Chapter 4
Probability and Counting Rules
BY
ASSOC. PROF. DR. NORAIDA ABDUL GHANI
McGraw-Hill, Bluman, 7th , 8th & 9th ed, Chapter 4
Outline
Sample Space and Probability
Addition Rules for Probability
Multiplication Rules and Conditional
Probability
Counting Rules
Probability and Counting Rules
* Probability- its meaning, how its computed & how to evaluate in terms of the likelihood of an
What is probability?
the chance of an event
occuring
a measure of your uncertainty
Probability experiment
a chance process that leads to
well defined results/outcomes
Outcome
the result of a single trial of a
probability experiment
Sample Space
Roll a die
1, 2, 3, 4, 5, 6
Answer a true/false
questions
Toss two coins
True, False
Head, Tail
TTT
H
T
TTH
THT
H
T
H
T
THH
HTT
H
T
HTH
HHT
HHH
1. Classical probability
Sample space : S = { 1, 2, 3, 4, 5, 6 }
Event : E = event of getting an odd no.
= { 1, 3, 5 }
3
6
Probability : P(E) =
In general :
n(E)
P(E)
n(S)
then P(E) 0
i.e., P(E) 1
Rule 4: The sum of the probabilities
of all the outcomes in the sample
space is 1.
If E = event, then
E = complement of E
P(E) P(E) 1
P(E) 1 P(E)
P(E) 1 P(E)
Why is this important?
Response
Yes
No
Undecided
Total
Frequency
15
8
2
----------25
=======
25 5
and evaluation.
1
2
3
5
6
1
2
3
4
5
6
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5
6
Die 2
6
Die 1
Sample space S:
1,1 ,
2,1
,
3,1 ,
4,1
,
5,1 ,
6,1 ,
1, 2 ,
2, 2 ,
3, 2 ,
4, 2 ,
5, 2 ,
6, 2 ,
1,3 ,
2,3 ,
3,3 ,
4,3 ,
5,3 ,
6,3 ,
1, 4 ,
2, 4 ,
3, 4 ,
4, 4 ,
5, 4 ,
6, 4 ,
1,5 ,
2,5 ,
3,5 ,
4,5 ,
5,5 ,
6,5 ,
1,6
2,6
3,6
4,6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10, $5
$10, $20
$5
$20, $1
$20, $5
$10
$20, $10
HH
T
1
HT
T2
T3
T4
T5
T6
T1
same time
Addition Rule 1
Addition Rule 2
A
A &B
(a)
NO
(b)
NO (c) YES
(d)
NO
(e)
NO (f) YES
(g) YES
Male
Female
Total
4746
4517
9263
Age 20
1625
1553
3178
Age 21
1679
1627
3306
Total
8050
7697
15747
Male
Female
Total
4746
4517
9263
Age 20
1625
1553
3178
Age 21
1679
1627
3306
Total
8050
7697
15747
4746
15747
Male
Female
Total
4746
4517
9263
Age 20
1625
1553
3178
Age 21
1679
1627
3306
Total
8050
7697
15747
Male
Female
Total
4746
4517
9263
Age 20
1625
1553
3178
Age 21
1679
1627
3306
Total
8050
7697
15747
6484
15747
Multiplication Rule 2
If A and B are dependent events, then
P (A and B) = P (A B)
= P (A) P B A
P(B)
P(A)
P(A & B)
10 9
10 9
Spade
A K
10 9
Clover
A K
10 9
Diamond
A
P (S1 S2 )
P (S1 )P(S2 S1 )
1
13 12
17
52 51
P K1 P K 2 K1
1
4 3
52 51 221
2
4
D
G
2 without replacement
P (5 buy at least 1)
90 89 88 87 86
90
0.2373
120
Outcome
H1
H2
H3
H4
H5
6
1
H6
2
T
3
4
5
6
Coin
Die
T1
T2
T3
T4
T5
T6
Total outcomes
= (6) (6) (6) (6) (6) (6)
= 66
impossible to draw a tree diagram
0! = 1
an arrangement of n objects in a
specific order.
Permutation Rule 1
n!
nPr
(n r)!
Total number of permutation of n
objects in a specific order using r objects
at a time.
n!
(n r)!r!
two letters.
total permutations = 6
BC CB
3!
3 P2
3 2 !
Using formula:
3! 3 2 1
6
1!
1
total combinations = 3
3!
3!
3C 2
3 2 !2! 1!2!
3 2 1
3
2 1
7!
7.6.5.4!
210
7 P3
4!
7 3 !
Exercise 14
10!
10.9.8.7.6.5.4!
151, 200
10 P6
4!
10 6 !
(i)
12C4
= 495
(4 person)
(ii)
7 C2 . 5 C 2
(2 women, 2 men)
(iii) 7C2.5C2
1
2 1
P W1W2
50 49 1225
2W
48W
216 72
Permutation Rule 2
Suppose we have n objects, r1 are the
same objects of type 1, r2 of type 2, ,
and rk of type k. The number of
permutation that can be obtained
using these objects is given by
n!
r1 !r2 ! rk !
Examples
(r1 , r2 ,
n!
, rk , n) :
r1 !r2 ! rk !
3!
3
2, 1, 3 :
2!1!
4!
6
2, 2, 4 :
2!2!
ways
ways