File: continuous_cauchy.rst

package info (click to toggle)
scipy 1.16.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236,092 kB
  • sloc: cpp: 503,720; python: 345,302; ansic: 195,677; javascript: 89,566; fortran: 56,210; cs: 3,081; f90: 1,150; sh: 857; makefile: 792; pascal: 284; csh: 135; lisp: 134; xml: 56; perl: 51
file content (26 lines) | stat: -rw-r--r-- 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`