Spaces:
Running
Running
Update to open link in playground directly
Browse files
probability/07_law_of_total_probability.py
CHANGED
@@ -67,7 +67,7 @@ def _(mo):
|
|
67 |
&= P(E|F)P(F) + P(E|F^c)P(F^c)
|
68 |
\end{align}
|
69 |
|
70 |
-
This two-part version generalizes to any number of [mutually exclusive](https://github.com/marimo-team/learn/blob/main/probability/03_probability_of_or.py) events that cover the sample space:
|
71 |
|
72 |
$P(A) = \sum_{i=1}^n P(A|B_i)P(B_i)$
|
73 |
|
|
|
67 |
&= P(E|F)P(F) + P(E|F^c)P(F^c)
|
68 |
\end{align}
|
69 |
|
70 |
+
This two-part version generalizes to any number of [mutually exclusive](marimo.app/https://github.com/marimo-team/learn/blob/main/probability/03_probability_of_or.py) events that cover the sample space:
|
71 |
|
72 |
$P(A) = \sum_{i=1}^n P(A|B_i)P(B_i)$
|
73 |
|