Skip to content

Commit 418a891

Browse files
committed
[heavy_tails] Update references and titles of figures
1 parent 5c01d23 commit 418a891

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lectures/heavy_tails.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ too much from the mean.
118118
Putting this another way, light-tailed distributions are those that
119119
rarely generate extreme values.
120120

121-
(A more formal definition is given [below](https://intro.quantecon.org/heavy_tails.html#light-and-heavy-tails).)
121+
(A more formal definition is given {ref}`below <heavy-tail:formal-definition>`.)
122122

123123
Many statisticians and econometricians
124124
use rules of thumb such as "outcomes more than four or five
@@ -262,7 +262,7 @@ like
262262
* forecasting
263263
* taxation (across a heavy-tailed income distribution), etc.
264264

265-
We return to these points [below](https://intro.quantecon.org/heavy_tails.html#why-do-heavy-tails-matter).
265+
We return to these points {ref}`below <heavy-tail:application>`.
266266

267267

268268

@@ -467,6 +467,8 @@ fig, ax = plt.subplots()
467467
alpha = 1.0
468468
ax.plot(x, np.exp(- alpha * x), label='exponential', alpha=0.8)
469469
ax.plot(x, x**(- alpha), label='Pareto', alpha=0.8)
470+
ax.set_xlabel('X value', fontsize=12)
471+
ax.set_ylabel('CCDF', fontsize=12)
470472
ax.legend()
471473
plt.show()
472474
```
@@ -479,6 +481,8 @@ fig, ax = plt.subplots()
479481
alpha = 1.0
480482
ax.loglog(x, np.exp(- alpha * x), label='exponential', alpha=0.8)
481483
ax.loglog(x, x**(- alpha), label='Pareto', alpha=0.8)
484+
ax.set_xlabel('log value', fontsize=12)
485+
ax.set_ylabel('log prob', fontsize=12)
482486
ax.legend()
483487
plt.show()
484488
```
@@ -848,6 +852,7 @@ The sequence shows no sign of converging.
848852
We return to this point in the exercises.
849853

850854

855+
(heavy-tail:application)=
851856
## Why do heavy tails matter?
852857

853858
We have now seen that
@@ -925,6 +930,7 @@ nonnegative random variables and their distributions.
925930
The definitions for
926931
left hand tails are very similar and we omit them to simplify the exposition.
927932

933+
(heavy-tail:formal-definition)=
928934
### Light and heavy tails
929935

930936
A distribution $F$ with density $f$ on $\mathbb R_+$ is called **heavy-tailed** if

0 commit comments

Comments
 (0)