Skip to content

Commit ffbd4eb

Browse files
committed
Merge pull request sux13#5 from LukeBrumfield/master
Statistical Inference Notation Correction
2 parents e41d994 + 66b1aa2 commit ffbd4eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

6_STATINFERENCE/Statistical Inference Course Notes.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ ggplot(dat, aes(x = x, y = y, color = factor)) + geom_line(size = 2)
310310
* **standard deviation** $= \sqrt{Var(X)}$ --> has same units as X
311311
* ***example***
312312
* for die roll, $E[X] = 3.5$
313-
* $E[X^2] = 12 \times 1/6 + 22 \times 1/6 + 32 \times 1/6 + . + 62 \times 1/6 = 15.17$
313+
* $E[X^2] = 1^2 \times 1/6 + 2^2 \times 1/6 + 3^2 \times 1/6 + 4^2 \times 1/6 + 5^2 \times 1/6 + 6^2 \times 1/6 = 15.17$
314314
* $Var(X) = E[X^2] - E[X]^2 \approx 2.92$
315315
* ***example***
316316
* for coin flip, $E[X] = p$

6_STATINFERENCE/Statistical_Inference_Course_Notes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ <h2>Variance</h2>
528528
<li><strong><em>example</em></strong>
529529
<ul>
530530
<li>for die roll, <span class="math">\(E[X] = 3.5\)</span></li>
531-
<li><span class="math">\(E[X^2] = 12 \times 1/6 + 22 \times 1/6 + 32 \times 1/6 + . + 62 \times 1/6 = 15.17\)</span></li>
531+
<li><span class="math">\(E[X^2] = 1^2 \times 1/6 + 2^2 \times 1/6 + 3^2 \times 1/6 + 4^2 \times 1/6 + 5^2 \times 1/6 + 6^2 \times 1/6 = 15.17\)</span></li>
532532
<li><span class="math">\(Var(X) = E[X^2] - E[X]^2 \approx 2.92\)</span></li>
533533
</ul></li>
534534
<li><strong><em>example</em></strong>

0 commit comments

Comments
 (0)