


How could we play this “game” using just two 6-sided dice?
Let:

We learned some in the game
…Consider this: probability of speciation \(\nu = 1/12\)
Consider this: probability of speciation \(\nu = 1/12\)
Can achieve this with sum of two dice = 4
1 + 3 = 4 (prob = 1/36)
2 + 2 = 4 (prob = 1/36)
3 + 1 = 4 (prob = 1/36)
Total prob = 3/23 = 1/12
Consider this: probability of speciation \(\nu = 1/12\)
A probability tree can help

Count up the ways to get sum of two dice = 4, divide by total number of combinations
Consider this: probability of speciation \(\nu = 1/12\)
Imagine: speciation occurred! What is the probability the first dice was 2 or less?

This is conditional probability: probability of first die \(\leq2\) given sum of two dice is 4
\[ \mathbb{P}(die_1 \leq 2 \mid sum = 4) \]
Consider this: probability of speciation \(\nu = 1/12\)
Imagine: speciation occurred! What is the probability the first dice was 2 or less?
\[ \mathbb{P}(die_1 \leq 2 \mid sum = 4) = \frac{2}{3} \]
Counting still works, but the condition changes the space over which we count

Consider this: probability of speciation \(\nu = 1/12\)
We can also use math to help us “count” given a condition
\[ \begin{align} &\mathbb{P}(die_1 \leq 2 \mid sum = 4) \\ &= \frac{\mathbb{P}(die_1 \leq 2~\&~sum = 4)}{\mathbb{P}(sum = 4)} \\ &= \frac{2/36}{3/36} \\ &= \frac{2}{3} \end{align} \]

Just a note:
Don’t confuse \(\mathbb{P}(A \mid B)\) notation (which means “A given B”) with code notation A|B (which means “A or B”)
We have already seen that probability can result from counting

Probability also can result from long term frequency:
If I ran our “game” 10,000 times and recorded 831 dispersal events, what would you guess would be \(\mathbb{P}(\text{dispersal}) = m\)?
Probability also can result from long term frequency:
If I ran our “game” 10,000 times and recorded 831 dispersal events, what would you guess would be \(\mathbb{P}(\text{dispersal}) = m\)?
So maybe I was playing with the rules \(m = 1/12\) (which is about 0.0833)
Random variables can be described with probability distributions

Here is an example for 100 iterations and \(m = \frac{1}{12}\)
Technically the \(r.v.\) could go all the way to 100 on the x-axis, but the probability of that many dispersal events is vanishingly small

Here is an example for 100 iterations and \(m = 1/12\)
This is a probability mass function because the height of the bars really are probabilities

We can add heights of bars to calculate probabilities over ranges of values:
\[ \begin{align} \mathbb{P}(n \leq 10) &= \sum_{i = 0}^{10} \mathbb{P}(n = i) \\ &= 0.79 \end{align} \]

We emphasized this is a probability mass function (PMF) because heights of bars are actual probabilities
This applies when the r.v. is discrete (e.g. an integer)

For a continuous r.v. like diameter at breast height, the y-axis is not equal to probability because \(\mathbb{P} \rightarrow 0\) for a continuous value with infinite precision
Instead we think of probability density and thus a probability density function (PDF)

If we “add up” (technically integrate) the area under the PDF curve we again arrive at a real probability
e.g., according to this PDF \(\mathbb{P}(\log_{10}(DBH) \leq 1.75) = 0.309\)
