Files
Probability-and-Statistics-…/knowl/xref/example-EV-die.html
T
2026-01-11 13:24:27 -05:00

44 lines
2.6 KiB
HTML
Executable File

<!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.2</span><span class="period heading-divison-mark heading-divison-mark__period">.</span>
</h4>
<div class="para logical">
<div class="para">If <span class="process-math">\(X\)</span> takes on the values <span class="process-math">\(x_1, x_2, \dotsc, x_n\)</span> uniformly (i.e., each value having probability <span class="process-math">\(\frac{1}{n}\)</span>), then the expected value is the usual average:</div>
<div class="displaymath process-math">
\begin{align*}
\E(X) \amp = x_1 \cdot \frac{1}{n} + x_2\cdot \frac{1}{n} + \dotsb + x_n \cdot \frac{1}{n} \\
\amp = \frac{x_1 + x_2 + \dotsb + x_n}{n}
\end{align*}
</div>
<div class="para">For example, the expected value of a fair 6-sided die roll <span class="process-math">\(R\)</span> is:</div>
<div class="displaymath process-math">
\begin{align*}
\E(R) \amp = 1 \left(\frac{1}{6}\right) + 2 \left(\frac{1}{6}\right) + 3 \left(\frac{1}{6}\right) + 4 \left(\frac{1}{6}\right) + 5 \left(\frac{1}{6}\right) + 6 \left(\frac{1}{6}\right) \\
\amp = \frac{1 + 2 + \dotsb + 6}{6} = \frac{21}{6} = \frac{7}{2}.
\end{align*}
</div>
<div class="autopermalink" data-description="Paragraph"><a href="#example-EV-die-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.2"><a href="#example-EV-die" title="Copy heading and permalink for Example 3.1.2" aria-label="Copy heading and permalink for Example 3.1.2">🔗</a></div></article><span class="incontext"><a class="internal" href="sec-Expected-Value.html#example-EV-die">in-context</a></span>
</body>
</html>