@@ -78,7 +78,9 @@ print(X)
7878```
7979
8080In this setting, the LLN tells us if we flip the coin many times, the fraction
81- of heads that we see will be close to the mean $p$.
81+ of heads that we see will be close to the mean $p$.
82+
83+ We use $n$ to represent the number of times the coin is flipped.
8284
8385Let's check this:
8486
@@ -286,7 +288,7 @@ as expected.
286288
287289Let's vary ` n ` to see how the distribution of the sample mean changes.
288290
289- We will use a violin plot to show the different distributions.
291+ We will use a [ violin plot] ( https://intro.quantecon.org/prob_dist.html#violin-plots ) to show the different distributions.
290292
291293Each distribution in the violin plot represents the distribution of $X_n$ for some $n$, calculated by simulation.
292294
@@ -357,7 +359,7 @@ This means that the distribution of $\bar X_n$ does not eventually concentrate o
357359
358360Hence the LLN does not hold.
359361
360- The LLN fails to hold here because the assumption $\mathbb E|X| = \infty$ is violated by the Cauchy distribution.
362+ The LLN fails to hold here because the assumption $\mathbb E|X| < \infty$ is violated by the Cauchy distribution.
361363
362364+++
363365
@@ -438,7 +440,7 @@ Here $\stackrel { d } {\to} N(0, \sigma^2)$ indicates [convergence in distributi
438440
439441The striking implication of the CLT is that for ** any** distribution with
440442finite [ second moment] ( https://en.wikipedia.org/wiki/Moment_(mathematics) ) , the simple operation of adding independent
441- copies ** always** leads to a Gaussian curve.
443+ copies ** always** leads to a Gaussian(Normal) curve.
442444
443445
444446
@@ -503,7 +505,7 @@ The fit to the normal density is already tight and can be further improved by in
503505``` {exercise}
504506:label: lln_ex1
505507
506- Repeat the simulation [above1 ](sim_one) with the [Beta distribution](https://en.wikipedia.org/wiki/Beta_distribution).
508+ Repeat the simulation [above ](sim_one) with the [Beta distribution](https://en.wikipedia.org/wiki/Beta_distribution).
507509
508510You can choose any $\alpha > 0$ and $\beta > 0$.
509511```
0 commit comments