You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 24, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: source/rst/heavy_tails.rst
+14-18Lines changed: 14 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,6 @@ Let's start with some imports:
77
77
import matplotlib.pyplot as plt
78
78
%matplotlib inline
79
79
80
-
from scipy.stats import cauchy
81
80
82
81
The following two lines can be added to avoid an annoying FutureWarning, and prevent a specific compatibility issue between pandas and matplotlib from causing problems down the line:
83
82
@@ -202,24 +201,25 @@ whether or not the LLN is still valid.
@@ -456,15 +456,11 @@ The Pareto distribution is assumed to take the form :eq:`pareto` with :math:`\ba
456
456
457
457
(The value the tail index :math:`\alpha` is plausible given the data :cite:`gabaix2016power`.)
458
458
459
-
To make the lognormal option as similar as possible to the Pareto option,
460
-
choose its parameters such that the mean and median of both distributions are
461
-
the same.
459
+
To make the lognormal option as similar as possible to the Pareto option, choose its parameters such that the mean and median of both distributions are the same.
462
460
463
-
Note that, for each distribution, your estimate of tax revenue will be random
464
-
because it is based on a finite number of draws.
461
+
Note that, for each distribution, your estimate of tax revenue will be random because it is based on a finite number of draws.
465
462
466
-
To take this into account, generate 100 draws in each case and compare the two
467
-
samples by
463
+
To take this into account, generate 100 replications (evaluations of tax revenue) for each of the two distributions and compare the two samples by
468
464
469
465
* producing a `violin plot <https://en.wikipedia.org/wiki/Violin_plot>`__ visualizing the two samples side-by-side and
0 commit comments