3. Raghunath Chatterjee Probability Lecture
3. Raghunath Chatterjee Probability Lecture
Probability
Population Sample
Statistics
What is Probability?
• We used graphs and numerical measures to
describe data sets which were usually
samples.
• We measured “how often” using
Relative frequency = f/n
• As n gets larger,
Sample Population
And “How often”
= Relative frequency Probability
Basic Concepts
• Examples:
–Toss a fair coin. P(Head) = 1/2
– Suppose that 10% of the students in your class
are from chemistry background. Then for a
person selected at random, P(chemistry) = .10
Using Simple Events
• The probability of an event A is equal to the
sum of the probabilities of the simple events
contained in A
• If the simple events in an experiment are
equally likely, you can calculate
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
S
AC
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 = C
C
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(A∪B) = P(A) + P(B) – P(A∩B)
= 50/120 + 60/120 - 30/120
= 80/120 = 2/3 Check: P(A∪B)
= (20 + 30 + 30)/120
A Special Case
When two events A and B are
mutually exclusive, P(A∩B) = 0
and P(A∪B) = P(A) + P(B).
A: male with brown hair Brown Not Brown
P(A) = 20/120 Male 20 40
B: female with brown hair Female 30 30
P(B) = 30/120
A and B are mutually P(A∪B) = P(A) + P(B)
= 20/120 + 30/120
exclusive, so that
= 50/120
Calculating Probabilities AC
for Complements
A
P(AC) = 1 – P(A)
Example
“given”
Example: Two Dice
Toss a pair of fair dice. Define
– A: red die show 1
– B: green die show 1
P( A1 ) = 0.75 P( A2 ) = 0.25
P( B1 | A1 ) = 0.9 P( B2 | A1 ) = 0.1 P( B3 | A1 ) = 0
P( B1 | A2 ) = 0 P( B2 | A2 ) = 0.5 P( B3 | A2 ) = 0.5
P( B2 ) = P( B2 ∩ A1 ) + P( B2 ∩ A2 )
= P( B2 | A1 ) P( A1 ) + P( B2 | A2 ) P( A2 )
= 0.1× 0.75 + 0.5 × 0.25
= 0.2
Permutation and combination
Sometimes, we observe a specific pattern from a
large number of possible patterns.