Chi distribution¶
- mpsci.distributions.chi.cdf(x, k)¶
CDF for the chi distribution.
- mpsci.distributions.chi.entropy(k)¶
Differential entropy of the chi distribution.
- mpsci.distributions.chi.logpdf(x, k)¶
Logarithm of the PDF for the chi distribution.
- mpsci.distributions.chi.mean(k)¶
Mean of the chi distribution.
- mpsci.distributions.chi.mode(k)¶
Mode of the chi distribution.
The mode is \(\sqrt{k - 1}\) for \(k \ge 1\).
For \(0 < k < 1\), 0 is returned.
- mpsci.distributions.chi.noncentral_moment(n, k)¶
n-th noncentral moment of the chi distribution.
n must be a nonnegative integer.
- mpsci.distributions.chi.pdf(x, k)¶
PDF for the chi distribution.
The PDF is
\[f(x; k) = \frac{x^{k-1}e^{-x^2/2}}{2^{k/2-1}\Gamma\left(\frac{k}{2}\right)}\]for \(x \ge 0\).
- mpsci.distributions.chi.sf(x, k)¶
Survival function for the chi distribution.
- mpsci.distributions.chi.support(k)¶
Support for the chi distribution.
- mpsci.distributions.chi.var(k)¶
Variance of the chi distribution.