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|=2vowels4C2consonants=26=12
Case 2 - contains exactly two vowels
|B|=14=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|=4C22=62=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.631012

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)=620=120
Case 2 - 3 women players
|B|=(43)(62)=415=60
Case 3 - 4 women players
|C|=(44)(61)=16=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.761016
Case 2 - 8 STEM
|B|=(1508)(1002)=2.601016
Case 3 - 9 STEM
|C|=(1507)(1003)=8.291015
Case 4 - 10 STEM
|D|=(1507)(1003)=1.171015
Total - |A|+|B|+|C|+|D|=8.301016

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+131we 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 AB is equal to number of outcomes which are in A or B summed, subtracted by AB

|AB|=|A|+|B||AB|

Consider drawing two cards from a deck of carts
A red card first and a black card second
2626=262
Two face cards
1211=132
Cards of opposite color
Case 1 - black first
|B|=2626=262
Case 2 - red first
|R|=2626=262
Total - |B|+|R|=2262
Same suit
5212=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

|AB|=|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|=110109=11990
What is the probability of:
Two quarters - 171611990=27211990=0.023=2.3%
Unusual event, as the probability <5%
It can be shown as 1716110109=17110P(Qfirst)16109P(Qsecond)
Quarter and then a nickle
Case 1 (QN) - 1713110109
Case 2 (NQ) - 1317110109
Total - 1713+1317110109=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) - 1734110109=0.048
Case 3 (DQ) - 1734110109=0.048
Case 4 (QN) - 0.018
Case 5 (NQ) - 0.018
Total = 0.023+20.048+20.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)toast32sauce=215536=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) - 21414112=2192=196
Case 2 (EOE) - 214112112=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 - 120.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+200010224000=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%