@@ -134,7 +134,7 @@ too much from the mean.
134134Putting this another way, light-tailed distributions are those that
135135rarely 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
139139Many statisticians and econometricians
140140use rules of thumb such as "outcomes more than four or five
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()
541541alpha = 1.0
542542ax.plot(x, np.exp(- alpha * x), label='exponential', alpha=0.8)
543543ax.plot(x, x**(- alpha), label='Pareto', alpha=0.8)
544+ ax.set_xlabel('X value')
545+ ax.set_ylabel('CCDF')
544546ax.legend()
545547plt.show()
546548```
@@ -559,6 +561,8 @@ fig, ax = plt.subplots()
559561alpha = 1.0
560562ax.loglog(x, np.exp(- alpha * x), label='exponential', alpha=0.8)
561563ax.loglog(x, x**(- alpha), label='Pareto', alpha=0.8)
564+ ax.set_xlabel('log value')
565+ ax.set_ylabel('log prob')
562566ax.legend()
563567plt.show()
564568```
@@ -996,6 +1000,7 @@ The sequence shows no sign of converging.
9961000We return to this point in the exercises.
9971001
9981002
1003+ (heavy-tail: application )=
9991004## Why do heavy tails matter?
10001005
10011006We have now seen that
@@ -1073,6 +1078,7 @@ nonnegative random variables and their distributions.
10731078The definitions for
10741079left 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
10781084A distribution $F$ with density $f$ on $\mathbb R_ +$ is called [ heavy-tailed] ( https://en.wikipedia.org/wiki/Heavy-tailed_distribution ) if
0 commit comments