Skip to content

Commit 90db84e

Browse files
authored
Merge pull request #432 from QuantEcon/update_heavy_tail
[heavy_tails] Update references and titles of figures
2 parents 3c5585a + 735bf78 commit 90db84e

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
@@ -134,7 +134,7 @@ too much from the mean.
134134
Putting this another way, light-tailed distributions are those that
135135
rarely generate extreme values.
136136

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

139139
Many statisticians and econometricians
140140
use rules of thumb such as "outcomes more than four or five
@@ -308,7 +308,7 @@ like
308308
* forecasting
309309
* taxation (across a heavy-tailed income distribution), etc.
310310

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

313313

314314
## Visual comparisons
@@ -541,6 +541,8 @@ fig, ax = plt.subplots()
541541
alpha = 1.0
542542
ax.plot(x, np.exp(- alpha * x), label='exponential', alpha=0.8)
543543
ax.plot(x, x**(- alpha), label='Pareto', alpha=0.8)
544+
ax.set_xlabel('X value')
545+
ax.set_ylabel('CCDF')
544546
ax.legend()
545547
plt.show()
546548
```
@@ -559,6 +561,8 @@ fig, ax = plt.subplots()
559561
alpha = 1.0
560562
ax.loglog(x, np.exp(- alpha * x), label='exponential', alpha=0.8)
561563
ax.loglog(x, x**(- alpha), label='Pareto', alpha=0.8)
564+
ax.set_xlabel('log value')
565+
ax.set_ylabel('log prob')
562566
ax.legend()
563567
plt.show()
564568
```
@@ -996,6 +1000,7 @@ The sequence shows no sign of converging.
9961000
We return to this point in the exercises.
9971001

9981002

1003+
(heavy-tail:application)=
9991004
## Why do heavy tails matter?
10001005

10011006
We have now seen that
@@ -1073,6 +1078,7 @@ nonnegative random variables and their distributions.
10731078
The definitions for
10741079
left hand tails are very similar and we omit them to simplify the exposition.
10751080

1081+
(heavy-tail:formal-definition)=
10761082
### Light and heavy tails
10771083

10781084
A distribution $F$ with density $f$ on $\mathbb R_+$ is called [heavy-tailed](https://en.wikipedia.org/wiki/Heavy-tailed_distribution) if

0 commit comments

Comments
 (0)