From 015edcd645e479a567be1a2ff4d86bb87aeecdce Mon Sep 17 00:00:00 2001 From: Gavin Crooks Date: Wed, 24 Nov 2021 08:20:03 -0800 Subject: [PATCH] * Fix Pareto parametirization --- .github/workflows/create_release.yml | 2 +- CHANGELOG.md | 5 +++++ ChPowerFn.tex | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 87e824f..7b58a6c 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -2,7 +2,7 @@ on: push: # Sequence of patterns matched against refs/tags tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + - 'v[0-9]*' # Push events to matching 'v[0-9]*', i.e. v1.0, v20.15.10, ect name: Create Release diff --git a/CHANGELOG.md b/CHANGELOG.md index 835d1b4..648c6d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog +## v1.0.3 (2021-11-24) +- Fixed parameterization of Pareto distribution. Kudos: Marijan Smetko + + + ## v1.0.2 (2021-01-21) - Added an Oxford comma - Added font resources diff --git a/ChPowerFn.tex b/ChPowerFn.tex index 91c457e..70adaba 100644 --- a/ChPowerFn.tex +++ b/ChPowerFn.tex @@ -95,7 +95,7 @@ \begin{center} \includegraphics[width=\textwidth]{pdfPareto} \end{center} -\caption[Pareto distributions]{Pareto distributions, $\opr{Pareto}(x\given 0,1,\bar\beta)$, $\bar\beta$ left axis.} +\caption[Pareto distributions]{Pareto distributions, $\opr{Pareto}(x\given 0,1,\gamma)$, $\gamma$ left axis.} \end{figure} @@ -126,7 +126,7 @@ \checked \\ \notag & \qquad x > a+s, \ s>0 \\ \notag & \qquad x < a+s, \ s<0 - \\ \notag &= \opr{PowerFn}(x\given a, s, \bar{\beta}) \checked + \\ \notag &= \opr{PowerFn}(x\given a, s, -\gamma) \checked \end{align} The most important special case is the Pareto distribution, which has a semi-infinite support with a power-law tail. The Zipf distribution \index{Zipf distribution} is the discrete analog of the Pareto distribution.