Events and outcomes
02 - Coin flipping: counting subsets
There are
To count the number of possible subsets, consider that we have 32 distinct items, and a subset is uniquely determined by the binary information – for each item – of whether it is in or out. Thus there are
Conditional probability
07 - Simplifying conditionals
- Definition of ‘conditional’:
- The problem assumes that
. Therefore . - Therefore, answer:
.
- Definition of ‘conditional’:
- Definition of ‘conditional’:
- Since
, we know . - Therefore
and answer .
- Definition of ‘conditional’:
- Definition of ‘conditional’:
- Since
, we have . - Therefore, answer
.
- Definition of ‘conditional’:
- Definition of ‘conditional’:
- There is no way to simplify further.
- We could write
if desired.
- Definition of ‘conditional’:
09 - Division into Cases
Label events.
Event
Event
Event
Event
Answer will be
Division into Cases.
General formula:
We seek
Use
So we use:
Plug in data and compute the answer.
Know
Know
Know
Know
Therefore:
11 - Inferring bin from marble
Label events.
Event
Event
Event
Event
Answer will be
Identify knowns.
Know
Know
Know
Know
Know
Translate Bayes’ Theorem
Bayes’ Theorem for
Division into Cases for the denominator:
Plug in data and compute the answer.
Denominator:
Desired event:
12 - Independence and complements
(1) We show that
Assume
Divide
Apply the assumption:
Algebra:
Negation rule:
Assume
In the above sequence, apply this assumption to break up the second term instead.
(2)
Show that
In the first equivalence, replace
Counting
15 - Counting teams with Cooper
There are
18 - Counting out 3 teams
This is just the multinomial coefficient with this data:
| 17 | 4 | 4 | 4 | 5 |
So we have:
Expectation and variance
27 - Gambling game - tokens in bins
Setup.
Let
The possible values of
Find PDF
For
For
For
These add to 1, and
Find
Using the discrete formula:
Conclusion
Since
Challenge Q:
If you start with $200 and keep playing to infinity, how likely is it that you go broke?
Function on a random variable
36 - Probabilities via CDF
(a)
(b)
Same as (a) because
(c)
(d)