Soal
Soal
and Statistics
Thirteenth Edition
(n r )!
r
4!
The order of the choice is
important!
P 4(3)( 2) 24
3
4
1!
Contoh
Contoh: Kunci terdiri dari lima bagian
dan dapat dipasang dalam urutan apa
pun. Seorang insinyur kontrol kualitas
ingin menguji setiap pesanan untuk
efisiensi perakitan. Ada berapa pesanan?
The order of the choice is
important!
5!
P 5(4)(3)( 2)(1) 120
5
5
0!
Kombinasi
• Jumlah kombinasi berbeda dari n objek
berbeda yang dapat dibentuk, dengan
mengambilnya r sekaligus
n!
Cr
n
r!(n r )!
Contoh: Tiga anggota komite 5-orang harus dipilih
untuk membentuk subkomite. Berapa banyak
subkomite yang berbeda dapat dibentuk?
5! 5(4)(3)( 2)1 5(4)
The order of C
5
10
3!(5 3)! 3(2)(1)( 2)1 (2)1
3
the choice is
not
important!
Example m
m m
m mm
• A box contains six M&Ms®, four red
• and two green. A child selects two M&Ms at
random. What is the probability that exactly
one is red?
2!
C2
6 6! 6(5)
15
C
1
2
2
The order of 1!1!
2!4! 2(1)
the choice is ways to choose
not ways to choose 2 M & Ms.
1 green M & M.
important!
4!
C1
4
4 4 2 =8 ways to
1!3! choose 1 red and 1 P( exactly one
ways to choose green M&M. red) = 8/15
1 red M & M.
Event Relations
• The union of two events, A and B, is
the event that either A or B or both
occur when the experiment is performed.
We write
A B S
A B A B
Event Relations
• The intersection of two events, A and B, is
the event that both A and B occur when the
experiment is performed. We write A B.
S
A B A B
A
Example
• Select a student from the classroom and
record his/her hair color and gender.
– A: student has brown hair
– B: student is female
– C: student is male Mutually exclusive; B = CC
•What is the relationship between events B
and C? Student does not have brown hair
•AC: Student is both male and female =
•BC: Student is either male and female = all
•BC: students = S
Calculating Probabilities for
Unions and Complements
• There are special rules that will allow you to
calculate probabilities for composite events.
• The Additive Rule for Unions:
• For any two events, A and B, the
probability of their union, P(A B), is
P( A B) P( A) P( B) P( A B)
A B
Example: Additive Rule
Example: Suppose that there were 120
students in the classroom, and that
they could be classified as follows:
A: brown hair Brown Not Brown
P(A) = 50/120 Male 20 40
B: female Female 30 30
P(B) = 60/120
P(AB) = P(A) + P(B) – P(AB)
= 50/120 + 60/120 - 30/120
= 80/120 = 2/3 Check: P(AB)
= (20 + 30 + 30)/120
A Special Case
When two events A and B are
mutually exclusive, P(AB) = 0
and P(AB) = P(A) + P(B).
A: male with brown hair Brown Not
Brown
P(A) = 20/120
Male 20 40
B: female with brown hair
P(B) = 30/120 Female 30 30
P(AC) = 1 – P(A)
Example
Select a student at random
from the classroom. Define:
A: male Brown Not Brown
P(A) = 60/120 Male 20 40
B: female Female 30 30
“given”
Example 1
• Toss a fair coin twice.
Define
– A: head on second toss
– B: head on first toss P(A|B) = ½
HH
1/4 P(A|not B) = ½
HT 1/4
P(A) does not A and B are
TH 1/4
change, independent
1/4 whether B
TT !
happens or
not…
Example 2
• A bowl contains five M&Ms®, two red and
three blue. Randomly select two candies,
and define
– A: second candy is red.
– B: first candy is blue.
m P(A|B) =P(2nd red|1st blue)= 2/4 = 1/2
m m
P(A|not B) = P(2nd red|1st red) = 1/4
m m
A Sk
A
A S1
Sk
S2….
Standard deviation : s s 2
Example
• Toss a fair coin 3 times and
record x the number of
x heads.
p(x) 2
xp(x) (x-m) p(x) 12
0 1/8 0 (-1.5)2(1/8) m xp( x) 1.5
8
1 3/8 3/8 (-0.5)2(3/8)
2 3/8 6/8 (0.5)2(3/8)
3 1/8 3/8 (1.5)2(1/8) s ( x m ) p( x)
2 2
m
Key Concepts
I. Experiments and the Sample Space
1. Experiments, events, mutually exclusive events,
simple events
2. The sample space
3. Venn diagrams, tree diagrams, probability tables
II. Probabilities
1. Relative frequency definition of probability
2. Properties of probabilities
a. Each probability lies between 0 and 1.
b. Sum of all simple-event probabilities equals 1.
3. P(A), the sum of the probabilities for all simple events
in A
Key Concepts
III. Counting Rules
1. mn Rule; extended mn Rule
2. Permutations: P n n!
(n r )!
r
n!
3. Combinations: Crn
r!(n r )!
IV. Event Relations
1. Unions and intersections
2. Events
a. Disjoint or mutually exclusive: P(A B) 0
b. Complementary: P(A) 1 P(AC )
Key Concepts
P( A B)
3. Conditional probability: P( A | B)
P( B)
4. Independent and dependent events
5. Additive Rule of Probability:
P( A B) P( A) P( B) P( A B)