Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispiech committed Nov 18, 2023
1 parent f10ab93 commit 24274ac
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chapters/part3/multinomial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h3>Deriving Joint Probability</h3>
('R', 'C', 'S', 'S', 'S', 'S', 'S')</code></pre>

<p>First, note that each outcome for assignments to the weeks are mutually exclusive. Then note that the probability of any one outcome will be $(p_S)^5 \cdot p_C \cdot p_R$. The number of unique weeks with the chosen count of outcomes can be derived using the rule for <a href="{{pathToLang}}part1/combinatorics/#perm_indisctinct">Permutations with Indistinct Objects</a>. There are 7 objects, 5 are indistinct from one another:
$${ {7} \choose {5,1,1} } = \frac{7!}{5!1!1!}$$
$${ {7} \choose {5,1,1} } = \frac{7!}{5!1!1!} = 7 * 6 = 42$$
</p>

<p>Since the outcomes are mutually exclusive, we are going to be adding the probability of each case to itself $\frac{7!}{5!1!1!}$ times. Putting this all together we get the multinomial joint function for this particular case:
Expand Down
Binary file modified en/ProbabilityForComputerScientists.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion en/part3/multinomial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ <h3>Deriving Joint Probability</h3>
('R', 'C', 'S', 'S', 'S', 'S', 'S')</code></pre>

<p>First, note that each outcome for assignments to the weeks are mutually exclusive. Then note that the probability of any one outcome will be $(p_S)^5 \cdot p_C \cdot p_R$. The number of unique weeks with the chosen count of outcomes can be derived using the rule for <a href="../../part1/combinatorics/#perm_indisctinct">Permutations with Indistinct Objects</a>. There are 7 objects, 5 are indistinct from one another:
$${ {7} \choose {5,1,1} } = \frac{7!}{5!1!1!}$$
$${ {7} \choose {5,1,1} } = \frac{7!}{5!1!1!} = 7 * 6 = 42$$
</p>

<p>Since the outcomes are mutually exclusive, we are going to be adding the probability of each case to itself $\frac{7!}{5!1!1!}$ times. Putting this all together we get the multinomial joint function for this particular case:
Expand Down
2 changes: 1 addition & 1 deletion print/hash_values.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"../en/examples/curse_of_dimensionality/index.html": "fac70cbb46786f8792da2a807697b8a8",
"../en/examples/algorithmic_art/index.html": "107ed32a10cd20d14999fbf543f94b44",
"../en/part3/joint/index.html": "dbffbdcff9636a82dd909bb1466e9b41",
"../en/part3/multinomial/index.html": "338cd46acd6db622364b6f78b962c968",
"../en/part3/multinomial/index.html": "395687c4143d5009ee3df30c55d9a16f",
"../en/part3/continuous_joint/index.html": "8468ebeaa8c44eb7c2059cff4764cca5",
"../en/part3/inference/index.html": "8c26b53e77d8fdbff3379332ab9a4c04",
"../en/part3/bayesian_networks/index.html": "4e4c5711fbb7fa358080161e26612989",
Expand Down
Binary file modified print/pdfs/multinomial.pdf
Binary file not shown.
Binary file modified print/pdfs/separator_intro.pdf
Binary file not shown.
Binary file modified print/pdfs/separator_part1.pdf
Binary file not shown.
Binary file modified print/pdfs/separator_part2.pdf
Binary file not shown.
Binary file modified print/pdfs/separator_part3.pdf
Binary file not shown.
Binary file modified print/pdfs/separator_part4.pdf
Binary file not shown.
Binary file modified print/pdfs/separator_part5.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion searchIndex.json

Large diffs are not rendered by default.

0 comments on commit 24274ac

Please sign in to comment.