Skip to content

Commit

Permalink
* DOC: stats: clarify burr/fisk distribution PDFs (#14003)
Browse files Browse the repository at this point in the history
* DOC: stats: clarify burr/fisk distribution PDFs

Co-authored-by: Matt Haberland <mhaberla@calpoly.edu>
  • Loading branch information
Mazensayed91 and mdhaber committed Feb 26, 2022
1 parent 2a03864 commit ce4b430
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions scipy/stats/_continuous_distns.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,11 +903,13 @@ class burr_gen(rv_continuous):
.. math::
f(x, c, d) = c d x^{-c - 1} / (1 + x^{-c})^{d + 1}
f(x; c, d) = c d \frac{x^{-c - 1}}
{{(1 + x^{-c})}^{d + 1}}
for :math:`x >= 0` and :math:`c, d > 0`.
`burr` takes :math:`c` and :math:`d` as shape parameters.
`burr` takes ``c`` and ``d`` as shape parameters for :math:`c` and
:math:`d`.
This is the PDF corresponding to the third CDF given in Burr's list;
specifically, it is equation (11) in Burr's paper [1]_. The distribution
Expand Down Expand Up @@ -1021,7 +1023,8 @@ class burr12_gen(rv_continuous):
.. math::
f(x, c, d) = c d x^{c-1} / (1 + x^c)^{d + 1}
f(x; c, d) = c d \frac{x^{c-1}}
{(1 + x^c)^{d + 1}}
for :math:`x >= 0` and :math:`c, d > 0`.
Expand Down Expand Up @@ -1099,10 +1102,19 @@ class fisk_gen(burr_gen):
.. math::
f(x, c) = c x^{-c-1} (1 + x^{-c})^{-2}
f(x, c) = \frac{c x^{c-1}}
{(1 + x^c)^2}
for :math:`x >= 0` and :math:`c > 0`.
Please note that the above expression can be transformed into the following
one, which is also commonly used:
.. math::
f(x, c) = \frac{c x^{-c-1}}
{(1 + x^{-c})^2}
`fisk` takes ``c`` as a shape parameter for :math:`c`.
`fisk` is a special case of `burr` or `burr12` with ``d=1``.
Expand Down

0 comments on commit ce4b430

Please sign in to comment.