Skip to content

Commit 82204c7

Browse files
authored
Merge pull request #425 from QuantEcon/update_heavy_tail
[heavy_tail] Update editorial suggestions
2 parents 240e65f + a4ca83e commit 82204c7

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

lectures/heavy_tails.md

+25-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ register_matplotlib_converters()
3939

4040
## Overview
4141

42-
In this section we give some motivation for the lecture.
42+
Heavy-tailed distributions are a class of distributions that generate "extreme" outcomes.
43+
44+
In the natural sciences (and in more traditional economics courses), heavy-tailed distributions are seen as quite exotic and non-standard.
45+
46+
However, it turns out that heavy-tailed distributions play a crucial role in economics.
47+
48+
In fact many -- if not most -- of the important distributions in economics are heavy tailed.
49+
50+
In this lecture we explain what heavy tails are and why they are -- or at least
51+
why they should be -- central to economic analysis.
52+
4353

4454
### Introduction: light tails
4555

@@ -112,7 +122,7 @@ too much from the mean.
112122
Putting this another way, light-tailed distributions are those that
113123
rarely generate extreme values.
114124

115-
(A more formal definition is given below.)
125+
(A more formal definition is given [below](https://intro.quantecon.org/heavy_tails.html#light-and-heavy-tails).)
116126

117127
Many statisticians and econometricians
118128
use rules of thumb such as "outcomes more than four or five
@@ -196,9 +206,19 @@ The histogram also looks different to the histogram of the normal
196206
distribution:
197207

198208
```{code-cell} ipython3
209+
r = np.random.standard_t(df=5, size=1000)
210+
199211
fig, ax = plt.subplots()
200212
ax.hist(r, bins=60, alpha=0.4, label='bitcoin returns', density=True)
213+
214+
xmin, xmax = plt.xlim()
215+
x = np.linspace(xmin, xmax, 100)
216+
p = norm.pdf(x, np.mean(r), np.std(r))
217+
ax.plot(x, p, 'k', linewidth=2, label='normal distribution')
218+
201219
ax.set_xlabel('returns', fontsize=12)
220+
ax.legend()
221+
202222
plt.show()
203223
```
204224

@@ -246,14 +266,15 @@ like
246266
* forecasting
247267
* taxation (across a heavy-tailed income distribution), etc.
248268

249-
We return to these points below.
269+
We return to these points [below](https://intro.quantecon.org/heavy_tails.html#why-do-heavy-tails-matter).
250270

251271

252272

253273

254274

255275

256276
## Visual comparisons
277+
In this section, we will introduce important concepts such as the Pareto distribution, Counter CDFs, and Power laws, which aid in recognizing heavy-tailed distributions.
257278

258279
Later we will provide a mathematical definition of the difference between
259280
light and heavy tails.
@@ -523,7 +544,7 @@ plt.show()
523544
As with the CCDF, the empirical CCDF from the Pareto distributions is
524545
approximately linear in a log-log plot.
525546

526-
We will use this idea below when we look at real data.
547+
We will use this idea [below](https://intro.quantecon.org/heavy_tails.html#heavy-tails-in-economic-cross-sections) when we look at real data.
527548

528549

529550
### Power laws

0 commit comments

Comments
 (0)