Skip to content

Logistic¤

distreqx.distributions.Logistic(distreqx.distributions.AbstractProbDistribution) ¤

Logistic distribution with location \(\mu\) and scale \(s\).

The probability density function is

\[ p(x) = \frac{\exp(-(x - \mu) / s)} {s \left(1 + \exp(-(x - \mu) / s)\right)^2}, \]

where \(s > 0\).

__init__(loc: Array, scale: Array) ¤

Initializes a Logistic distribution.

Arguments:

  • loc: Location parameter \(\mu\), equal to the mean, median, and mode.
  • scale: Positive scale parameter \(s\).