Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chapters/part2/categorical/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<tr><td>Sunny</td><td>$\p(X = \text{Sunny) = 0.49}$</td></tr>
<tr><td>Cloudy</td><td>$\p(X = \text{Cloudy) = 0.30}$</td></tr>
<tr><td>Rainy</td><td>$\p(X = \text{Rainy) = 0.20}$</td></tr>
<tr><td>Rainy</td><td>$\p(X = \text{Snowy) = 0.01}$</td></tr>
<tr><td>Snowy</td><td>$\p(X = \text{Snowy) = 0.01}$</td></tr>
</table>

<p>Notice that the probabilities must sum to 1.0. This is because (in this version) the weather must be one of the four categories. Since the values are not numeric, this random variable will <b>not</b> have an expectation (values are not numbers) variance nor a PMF expressed as a function, as opposed to a table.</p>

<p>Note to your future self: A categorical distribution is a simplified version of a <a href="{{pathToRoot}}part3/multinomial/">multinomial distribution</a> (where the number of outcomes is 1) </p>
<p>Note to your future self: A categorical distribution is a simplified version of a <a href="{{pathToRoot}}part3/multinomial/">multinomial distribution</a> (where the number of outcomes is 1) </p>