Slash distribution

See https://en.wikipedia.org/wiki/Slash_distribution for details.

According to the wikipedia article, the distribution was named in [1].

mpsci.distributions.slash.cdf(x)

Cumulative distribution function for the slash distribution.

mpsci.distributions.slash.invcdf(p)

Inverse of the CDF of the slash distribution.

Also known as the quantile function.

This function numerically inverts the CDF function so it may be slow, and in some cases it may fail to find a solution.

mpsci.distributions.slash.invsf(p)

Inverse of the survival function of the slash distribution.

This function numerically inverts the survival function so it may be slow, and in some cases it may fail to find a solution.

mpsci.distributions.slash.logpdf(x)

Natural logarithm of the PDF of the slash distribution.

mpsci.distributions.slash.pdf(x)

Probability density function of the slash distribution.

mpsci.distributions.slash.sf(x)

Survival function for the slash distribution.