@@ -78,7 +78,7 @@ 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$. We use $n$ to represent the number of times the coin is flipped.
8282
8383Let's check this:
8484
@@ -286,7 +286,7 @@ as expected.
286286
287287Let's vary ` n ` to see how the distribution of the sample mean changes.
288288
289- We will use a violin plot to show the different distributions.
289+ We will use a [ violin plot] ( https://intro.quantecon.org/prob_dist.html#violin-plots ) to show the different distributions.
290290
291291Each distribution in the violin plot represents the distribution of $X_n$ for some $n$, calculated by simulation.
292292
@@ -357,7 +357,7 @@ This means that the distribution of $\bar X_n$ does not eventually concentrate o
357357
358358Hence the LLN does not hold.
359359
360- The LLN fails to hold here because the assumption $\mathbb E|X| = \infty$ is violated by the Cauchy distribution.
360+ The LLN fails to hold here because the assumption $\mathbb E|X| < \infty$ is violated by the Cauchy distribution.
361361
362362+++
363363
@@ -438,7 +438,7 @@ Here $\stackrel { d } {\to} N(0, \sigma^2)$ indicates [convergence in distributi
438438
439439The striking implication of the CLT is that for ** any** distribution with
440440finite [ second moment] ( https://en.wikipedia.org/wiki/Moment_(mathematics) ) , the simple operation of adding independent
441- copies ** always** leads to a Gaussian curve.
441+ copies ** always** leads to a Gaussian(Normal) curve.
442442
443443
444444
@@ -503,7 +503,7 @@ The fit to the normal density is already tight and can be further improved by in
503503``` {exercise}
504504:label: lln_ex1
505505
506- Repeat the simulation [above1 ](sim_one) with the [Beta distribution](https://en.wikipedia.org/wiki/Beta_distribution).
506+ Repeat the simulation [above ](sim_one) with the [Beta distribution](https://en.wikipedia.org/wiki/Beta_distribution).
507507
508508You can choose any $\alpha > 0$ and $\beta > 0$.
509509```
0 commit comments