pymc.HalfCauchy#
- class pymc.HalfCauchy(name, *args, rng=None, dims=None, initval=None, observed=None, total_size=None, transform=UNSET, **kwargs)[source]#
Half-Cauchy log-likelihood.
The pdf of this distribution is
\[f(x \mid \beta) = \frac{2}{\pi \beta [1 + (\frac{x}{\beta})^2]}\](Source code, png, hires.png, pdf)
Support
\(x \in [0, \infty)\)
Mode
0
Mean
undefined
Variance
undefined
- Parameters
- betatensor_like of
float
Scale parameter (beta > 0).
- betatensor_like of
Methods
HalfCauchy.__init__
(*args, **kwargs)HalfCauchy.dist
(beta, *args, **kwargs)Creates a tensor variable corresponding to the cls distribution.
HalfCauchy.logcdf
(loc, beta)HalfCauchy.logp
(loc, beta)HalfCauchy.moment
(size, loc, beta)Attributes
rv_op