Latest build deployed.

This commit is contained in:
2026-01-11 13:24:27 -05:00
parent 5f05bd0b9f
commit 63ce1d952b
674 changed files with 4797 additions and 562 deletions
+45
View File
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<!--******************************************-->
<!--* Authored with PreTeXt *-->
<!--* pretextbook.org *-->
<!--* Theme: boulder *-->
<!--* Palette: *-->
<!--******************************************-->
<!--********************************************-->
<!--* Generated from PreTeXt source *-->
<!--* *-->
<!--* https://pretextbook.org *-->
<!--* *-->
<!--********************************************-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
</head>
<body class="ignore-math">
<article class="example example-like"><h4 class="heading">
<span class="type">Example</span><span class="space heading-divison-mark heading-divison-mark__space"> </span><span class="codenumber">3.1.11</span><span class="period heading-divison-mark heading-divison-mark__period">.</span>
</h4>
<div class="para logical">
<div class="para">Suppose <span class="process-math">\(S \sim \Bin(n, p)\text{.}\)</span> <a href="sec-Discrete-RVs.html#def-binomial-distribution" class="xref" data-knowl="./knowl/xref/def-binomial-distribution.html" data-reveal-label="Reveal" data-close-label="Close" title="Definition 2.1.6">Definition 2.1.6</a> describes a binomially distributed random variable as counting the number of occurrences of some event, which either happens or not in each of <span class="process-math">\(n\)</span> independent trials. This leads us to a very natural idea: identify each individual possible occurrence of the event, and assign it an indicator random variable. In this case, let <span class="process-math">\(H_i\)</span> indicate that flip <span class="process-math">\(i\)</span> comes up heads. Then</div>
<div class="displaymath process-math" data-contains-math-knowls="./knowl/xref/def-binomial-distribution.html ./knowl/xref/example-indicator-EV.html">
\begin{gather*}
S = H_1 + H_2 + \dotsb + H_n.
\end{gather*}
</div>
<div class="para">We already know (<a href="sec-Expected-Value.html#example-indicator-EV" class="xref" data-knowl="./knowl/xref/example-indicator-EV.html" data-reveal-label="Reveal" data-close-label="Close" title="Example 3.1.5">Example 3.1.5</a>) that the expected value of each <span class="process-math">\(H_i\)</span> is the probability of the indicated event—that flip <span class="process-math">\(i\)</span> is heads. This is precisely the parameter <span class="process-math">\(p\text{.}\)</span> Therefore:</div>
<div class="displaymath process-math" data-contains-math-knowls="./knowl/xref/def-binomial-distribution.html ./knowl/xref/example-indicator-EV.html">
\begin{align*}
\E(S) \amp = \E(H_1 + H_2 + \dotsb + H_n) \\
\amp = \E(H_1) + \E(H_2) + \dotsb + \E(H_n) \\
\amp = \underbrace{p + p + \dotsb + p}_{n \text{ times}} \\
\amp = np.
\end{align*}
</div>
<div class="para">Remember this formula! Well make frequent use of it.</div>
<div class="autopermalink" data-description="Paragraph"><a href="#example-binomial-EV-1-1" title="Copy heading and permalink for Paragraph" aria-label="Copy heading and permalink for Paragraph">🔗</a></div>
</div>
<div class="autopermalink" data-description="Example 3.1.11"><a href="#example-binomial-EV" title="Copy heading and permalink for Example 3.1.11" aria-label="Copy heading and permalink for Example 3.1.11">🔗</a></div></article><span class="incontext"><a class="internal" href="sec-Expected-Value.html#example-binomial-EV">in-context</a></span>
</body>
</html>