Skip to content

Commit c4e47c7

Browse files
authored
Merge pull request chiphuyen#9 from pelovett/patch-1
Fix typo in 5.2.1.1
2 parents e35b204 + 09e4064 commit c4e47c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_book/contents/5.2.1.1-basic-concepts-to-review.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ <h6 id="geometric-random-variable">Geometric random variable</h6>
17881788
<h6 id="beta-random-variable">Beta random variable</h6>
17891789
<p>Beta is my favorite distribution (what do you mean you don&apos;t have a favorite distribution?). It&apos;s a random variable that estimates another random variable.</p>
17901790
<p>Say, we have a coin with an unknown probability of turning heads. Let <script type="math/tex; ">p</script> represent this probability. After <script type="math/tex; ">n + m</script> flips, we get <script type="math/tex; ">n</script> heads and <script type="math/tex; ">m</script> tails. We might want to estimate that <script type="math/tex; ">p = \frac{n}{n+m}</script>. However, this is unreliable, especially if <script type="math/tex; ">n+m</script> is small. We&apos;d like to say something like this: <script type="math/tex; ">p</script> can also be more than, less than, or equal to <script type="math/tex; ">\frac{n}{n+m}</script>, the values further away from <script type="math/tex; ">\frac{n}{n+m}</script> having a smaller probability. And the higher the value of <script type="math/tex; ">n+m</script>, the higher the probability of <script type="math/tex; ">p</script> being <script type="math/tex; ">\frac{n}{n+m}</script>. The beta distribution allows you to do that.</p>
1791-
<p>The beta random variable is represented using two variables: <script type="math/tex; ">\alpha</script> to represent the number of successes and <script type="math/tex; ">\beta</script> to represent the number of failures. The beta distribution can represent beyond coin flips. In fact, <script type="math/tex; ">\alpha</script> and <script type="math/tex; ">\beta</script> can rerepsent continuous value (though they can&apos;t be non-positive).</p>
1791+
<p>The beta random variable is represented using two variables: <script type="math/tex; ">\alpha</script> to represent the number of successes and <script type="math/tex; ">\beta</script> to represent the number of failures. The beta distribution can represent beyond coin flips. In fact, <script type="math/tex; ">\alpha</script> and <script type="math/tex; ">\beta</script> can represent continuous value (though they can&apos;t be non-positive).</p>
17921792
<p><script type="math/tex; mode=display">
17931793
x \sim \text{Beta}(\alpha, \beta) \text{ with } 0 < \alpha, \beta \\
17941794
f(x; \alpha, \beta) = \frac{\Gamma(\alpha + \beta)}{\Gamma(\alpha)\Gamma(\beta)}x^{\alpha-1}(1-x)^{\beta-1} \text{ with } 0 \leq x \leq 1

0 commit comments

Comments
 (0)