File: continuous_cauchy.rst

package info (click to toggle)
scipy 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 132,464 kB
  • sloc: python: 207,830; ansic: 92,105; fortran: 76,906; cpp: 68,145; javascript: 32,742; makefile: 422; pascal: 421; sh: 158
file content (26 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

.. _continuous-cauchy:

Cauchy Distribution
===================

The support is :math:`x\in\mathbb{R}`.

.. math::
   :nowrap:

    \begin{eqnarray*} f\left(x\right) & = & \frac{1}{\pi\left(1+x^{2}\right)}\\
    F\left(x\right) & = & \frac{1}{2}+\frac{1}{\pi}\tan^{-1}x\\
    G\left(q\right) & = & \tan\left(\pi q-\frac{\pi}{2}\right)\\
    m_{d} & = & 0\\
    m_{n} & = & 0\end{eqnarray*}

No finite moments. This is the :math:`t` distribution with one degree of
freedom.

.. math::
   :nowrap:

    \begin{eqnarray*} h\left[X\right] & = & \log\left(4\pi\right)\\  & \approx & 2.5310242469692907930.\end{eqnarray*}

Implementation: `scipy.stats.cauchy`