@@ -78,7 +78,7 @@ print(X)
78
78
```
79
79
80
80
In 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.
82
82
83
83
Let's check this:
84
84
@@ -286,7 +286,7 @@ as expected.
286
286
287
287
Let's vary ` n ` to see how the distribution of the sample mean changes.
288
288
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.
290
290
291
291
Each distribution in the violin plot represents the distribution of $X_n$ for some $n$, calculated by simulation.
292
292
@@ -357,7 +357,7 @@ This means that the distribution of $\bar X_n$ does not eventually concentrate o
357
357
358
358
Hence the LLN does not hold.
359
359
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.
361
361
362
362
+++
363
363
@@ -438,7 +438,7 @@ Here $\stackrel { d } {\to} N(0, \sigma^2)$ indicates [convergence in distributi
438
438
439
439
The striking implication of the CLT is that for ** any** distribution with
440
440
finite [ 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.
442
442
443
443
444
444
@@ -503,7 +503,7 @@ The fit to the normal density is already tight and can be further improved by in
503
503
``` {exercise}
504
504
:label: lln_ex1
505
505
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).
507
507
508
508
You can choose any $\alpha > 0$ and $\beta > 0$.
509
509
```
0 commit comments