File: continuous_loglaplace.rst

package info (click to toggle)
python-scipy 1.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,828 kB
  • sloc: python: 156,854; ansic: 82,925; fortran: 80,777; cpp: 7,505; makefile: 427; sh: 294
file content (38 lines) | stat: -rw-r--r-- 1,388 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
34
35
36
37
38

.. _continuous-loglaplace:

Log Double Exponential (Log-Laplace) Distribution
=================================================

Defined over :math:`x>0` with :math:`c>0`

.. math::
   :nowrap:

    \begin{eqnarray*}
        f\left(x;c\right) & = & \left\{
                                    \begin{array}{ccc}
                                        \frac{c}{2}x^{c-1} &  & 0 < x < 1 \\
                                        \frac{c}{2}x^{-c-1} &  & x \geq 1
                                    \end{array}
                                \right. \\
        F\left(x;c\right) & = & \left\{
                                    \begin{array}{ccc}
                                        \frac{1}{2}x^{c} &  & 0 < x < 1 \\
                                        1-\frac{1}{2}x^{-c} &  & x \geq 1
                                    \end{array}
                                \right. \\
        G\left(q;c\right) & = & \left\{
                                    \begin{array}{ccc}
                                        \left(2q\right)^{1/c} &  & 0 \leq q < \frac{1}{2} \\
                                        \left(2-2q\right)^{-1/c} &  & \frac{1}{2} \leq q \leq 1
                                    \end{array}
                                \right.
    \end{eqnarray*}

.. math::

     h\left[X\right]=\log\left(\frac{2e}{c}\right)


Implementation: `scipy.stats.loglaplace`