pymc.Cauchy#

class pymc.Cauchy(name, *args, rng=None, dims=None, initval=None, observed=None, total_size=None, transform=UNSET, **kwargs)[source]#

Cauchy log-likelihood.

Also known as the Lorentz or the Breit-Wigner distribution.

The pdf of this distribution is

\[f(x \mid \alpha, \beta) = \frac{1}{\pi \beta [1 + (\frac{x-\alpha}{\beta})^2]}\]

(Source code, png, hires.png, pdf)

../../../_images/pymc-Cauchy-1.png

Support

\(x \in \mathbb{R}\)

Mode

\(\alpha\)

Mean

undefined

Variance

undefined

Parameters
alphatensor_like of float

Location parameter.

betatensor_like of float

Scale parameter > 0.

Methods

Cauchy.__init__(*args, **kwargs)

Cauchy.dist(alpha, beta, *args, **kwargs)

Creates a tensor variable corresponding to the cls distribution.

Cauchy.logcdf(alpha, beta)

Compute the log of the cumulative distribution function for Cauchy distribution at the specified value.

Cauchy.moment(size, alpha, beta)

Attributes

rv_op