Skip to content

Commit 4a818eb

Browse files
committed
fixed two typo
1 parent 64cacac commit 4a818eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chapter4_TheGreatestTheoremNeverTold/LawOfLargeNumbers.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
"\n",
213213
"$$ \\frac{1}{N}\\sum_{i=0}^N \\;(Z_i - \\mu)^2 \\rightarrow E[ \\;( Z - \\mu)^2 \\;] = Var( Z )$$\n",
214214
"\n",
215-
"### Expected values and probablities \n",
215+
"### Expected values and probabilities \n",
216216
"There is an even less explicit relationship between expected value and estimating probabilities. Define the *indicator function*\n",
217217
"\n",
218218
"$$\\mathbb{1}_A(x) = \n",
@@ -234,7 +234,7 @@
234234
"### What does this all have to do with Bayesian statistics? \n",
235235
"\n",
236236
"\n",
237-
"*Point estimates*, to be introduced in the next chapter, in Bayesian inference are computed using expected values. In more analytical Bayesian inference, we would of been required to evaluate complicated expected values represented as multi-dimensional integrals. No longer. If we can sample from the posterior distibution directly, we simply need to evaluate averages. Much easier. If accuracy is a priority, plots like the ones above show how fast you are converging. And if further accuracy is desired, just take more samples from the posterior. \n",
237+
"*Point estimates*, to be introduced in the next chapter, in Bayesian inference are computed using expected values. In more analytical Bayesian inference, we would have been required to evaluate complicated expected values represented as multi-dimensional integrals. No longer. If we can sample from the posterior distibution directly, we simply need to evaluate averages. Much easier. If accuracy is a priority, plots like the ones above show how fast you are converging. And if further accuracy is desired, just take more samples from the posterior. \n",
238238
"\n",
239239
"When is enough enough? When can you stop drawing samples from the posterior? That is the practioners decision, and also dependent on the variance of the samples (recall from above a high variance means the average will converge slower). \n",
240240
"\n",

0 commit comments

Comments
 (0)