3.3 - Compound Events

Compound Events

Events as Disctinct Cases

It is ofter helpful for understanding the problem and computation to think of events as mutually exclusive and exhaustive subsets - distinct cases

Conducting Inferential Statistics

Population - {A,B,C,D,E,F}
Interest - proportion of vowels in population
Sampling method - SRS with n=3

Identify Cases

Sample contains vowels
Case 1 - contains exactly one vowel
|A|=2vowels⋅4C2consonants=2⋅6=12
Case 2 - contains exactly two vowels
|B|=1⋅4=4
Case 3 - contains 3 vowels ← not needed, there are only 2 vowels in set

Probability of the sample

P(has vowels)=|A|+|B|6C3=12+420=80%

Sample contains at least 2 consonants
Case 1 - contains 2 consonants
|M|=4C2⋅2=6⋅2=12
Case 2 - contains 3 consonants
|N|=4C3=4

Probability

P(≥2 consonants)=12+420=80%
Examples

A small population of 100 members. 3 strata - size of 20, 30, and 50. A cluster random sample of size 10 preserves the population proportions.
From strata n=20
|A|=(202)=190
From strata n=30
|B|=(303)=4060
From strata n=50
|C|=(505)=2118760
Total - |A|⋅|B|⋅|C|=1.63⋅1012

A coed basketball league requires 2 of 5 players to be women. Team has 6 men and 4 women. How many different sets of plays could they have on the court.
Case 1 - 2 women players
|A|=(42)⋅(63)=6⋅20=120
Case 2 - 3 women players
|B|=(43)⋅(62)=4⋅15=60
Case 3 - 4 women players
|C|=(44)⋅(61)=1⋅6=6
Case 4 - 5 women players ← not possible
Total - |A|+|B|+|C|=120+60+6=186

A small university of 250 students has 150 STEM majors. A SRS of 10 students. How many samples will over-represent STEM majors
Base - p=150250=0.6
To overrepresent:
Case 1 - 7 STEM
|A|=(1507)⋅(1003)=4.76⋅1016
Case 2 - 8 STEM
|B|=(1508)⋅(1002)=2.60⋅1016
Case 3 - 9 STEM
|C|=(1507)⋅(1003)=8.29⋅1015
Case 4 - 10 STEM
|D|=(1507)⋅(1003)=1.17⋅1015
Total - |A|+|B|+|C|+|D|=8.30⋅1016

Definitions

An event is understood as compound when described using multiple events

Counting Compound Events

Consider a single card from a standard deck of cards Determine the number of outcomes
Drawing a red card
|R|=13+13=26
Drawing a face card
|F|=4+4+4=12
Drawing a queen or a heard
|A|=4+13−1we counted queen of hearts twice=16
Drawing an even or a multiple of 5
|B|=20+4=24

Counting with OR

The number of outcomes in the compound event A∪B is equal to number of outcomes which are in A or B summed, subtracted by A∩B

|A∪B|=|A|+|B|−|A∩B|

Consider drawing two cards from a deck of carts
A red card first and a black card second
26⋅26=262
Two face cards
12⋅11=132
Cards of opposite color
Case 1 - black first
|B|=26⋅26=262
Case 2 - red first
|R|=26⋅26=262
Total - |B|+|R|=2⋅262
Same suit
52⋅12=624

Counting with And Then

The number of outcomes of event A and then B, is equal to number of outcomes in A times B|A

|A∩B|=|A|⋅|B|A|
Adding vs Multiplying Events

When we're dealing with events in sequence (Fundamental Counting Principle), we multiply values

When we're dealing with cases, or A or B, we add values

Probability of Compound Events

Unusual Event

When the probability of an event happening is <5%, we call it an unusual event

Probability Rules and Definition

Let A and B are events

P(A and B)=P(A)⋅P(B|A)P(A or B)=P(A)+P(B)−P(A and B)
Definition

If P(A|B)=P(A) then A and B are independent

Exercises

A bag of coins has 17 quarters, 34 dimes, 13 nickels and 46 pennies. Draw two coins randomly.
Total coins - 110
|S|=110⋅109=11990
What is the probability of:
Two quarters - 17⋅1611990=27211990=0.023=2.3%
Unusual event, as the probability <5%
It can be shown as 17⋅16110⋅109=17110P(Qfirst)⋅16109P(Qsecond)
Quarter and then a nickle
Case 1 (QN) - 17⋅13110⋅109
Case 2 (NQ) - 13⋅17110⋅109
Total - 17⋅13+13⋅17110⋅109=0.037=3.7%
Still an unusual event
Coins valuing at least 3 cents in total
Case 1 (QQ) - 0.023 (calculated previously)
Case 2 (QD) - 17⋅34110⋅109=0.048
Case 3 (DQ) - 17⋅34110⋅109=0.048
Case 4 (QN) - 0.018
Case 5 (NQ) - 0.018
Total = 0.023+2⋅0.048+2⋅0.018=0.156=15.6%

A BBQ joint offers 7 types of meat, 11 sides, 3 types of toast, and 3 sauces. If a 2 meat combo comes with 2 different meats, 2 different sides, 1 piece of toast, and 2 sauces (can be the same)
How many different 2 meat combos can be made
(72)meat⋅(112)sides⋅(31)toast⋅32sauce=21⋅55⋅3⋅6=20790
To choose sauces, we have 3 cases of the same sauces, and (32)=3 of the different sauces, so 6 in total
What is the probability that a randomly selected 2 meat combo will have two of the same BBQ sauces
We only really care about the sauces, so it's 36=50%

Six sided die is biased towards odd numbers, so that each odd number has a probability of 0.25. Even numbers have equal probability.
determine the probability that when rolling the die three times in a row, the rolls land on three consecutive numbers in increasing order
Possible outcomes - 123,234,345,456
Case 1 (OEO) - 2⋅14⋅14⋅112=2192=196
Case 2 (EOE) - 2⋅14⋅112⋅112=2576=1288
Total - 196+1288=4288=172=0.0139=1.39%

Assuming male and female children are equally likely, determine the probability of family with 4 children having at least 1 boy and and least 1 girl
Compliment 1 (only girls) - 0.54=0.0625
Compliment 2 (only boys) - 0.54=0.0625
Total - 1−2⋅0.0625=0.875=87.5%

Two-Way Tables

A common way of presenting data

Rep. Dem. Ind.
Married Men 590 390 20
Unmarried Men 447 533 20
Married Women 500 450 50
Unmarried Women 378 572 50

Total number of people - 4000
Probability of selecting a married person - 1000+10004000=50%
Probability of selecting a democrat or a woman - 1945+2000−10224000=73%
Republican given that the person is a man - 10372000=51.85%
Democrat given the person is a woman - 10222000=51.1%
Unmarried given the person is a Democrat - 11051945=56.8%