Logistic distribution
{{Probability distribution| name =Logistic distribution| type =density| pdf_image = | cdf_image = | parameters = \mu, location (real) s > 0, scale (real)| support = x \in (-\infty, \infty) | pdf = \frac{e^{-(x-\mu)/s}} {s\left(1+e^{-(x-\mu)/s}\right)^2} | cdf = \frac{1}{1+e^{-(x-\mu)/s}} = \frac{1 + \tanh \frac{x-\mu}{2s}}{2} | quantile = \mu+s \log\left(\frac{p}{1-p}\right) | mean = \mu | median = \mu | mode = \mu | variance = \frac{s^2 \pi^2}{3} | skewness = 0 | kurtosis = 6/5 | entropy = \ln s + 2 | mgf = e^{\mu t}\Beta(1-st, 1+st) for t \in (-1/s,1/s) and \Beta is the Beta function| char = e^{it\mu}\frac{\pi st}{\sinh(\pi st)} | ES = \mu + \frac{sH(p)}{1-p} where H(p) is the binary entropy function H(p) = -p \ln(p) - (1-p) \ln (1-p) }} In probability theory and statistics, the logistic distribution is a continuous probability distribution. Its cumulative distribution function is the logistic function, which appears in logistic regression and feedforward neural networks. It...
{{Probability distribution| name =Logistic distribution| type =density| pdf_image = | cdf_image = | parameters = \mu, location (real) s > 0, scale (real)| support = x \in (-\infty, \infty) | pdf = \frac{e^{-(x-\mu)/s}} {s\left(1+e^{-(x-\mu)/s}\right)^2} | cdf = \frac{1}{1+e^{-(x-\mu)/s}} = \frac{1 + \tanh \frac{x-\mu}{2s}}{2} | quantile = \mu+s \log\left(\frac{p}{1-p}\right) | mean = \mu | median = \mu | mode = \mu | variance = \frac{s^2 \pi^2}{3} | skewness = 0 | kurtosis = 6/5 | entropy = \ln s + 2 | mgf = e^{\mu t}\Beta(1-st, 1+st) for t \in (-1/s,1/s) and \Beta is the Beta function| char = e^{it\mu}\frac{\pi st}{\sinh(\pi st)} | ES = \mu + \frac{sH(p)}{1-p} where H(p) is the binary entropy function H(p) = -p \ln(p) - (1-p) \ln (1-p) }} In probability theory and statistics, the logistic distribution is a continuous probability distribution. Its cumulative distribution function is the logistic function, which appears in logistic regression and feedforward neural networks. It resembles the normal distribution in shape but has heavier tails (higher kurtosis). The logistic distribution is a special case of the Tukey lambda distribution. F(x; \mu, s) = \frac{1}{1+e^{-(x-\mu)/s}} = \frac12 + \frac12 \operatorname{tanh} \left(\frac{x-\mu}{2s}\right). In this equation is the mean, and is a scale parameter proportional to the standard deviation. f(x; \mu,s) & = \frac{\partial F(x; \mu, s)}{\partial x} = \frac{e^{-(x-\mu)/s}} {s\left(1+e^{-(x-\mu)/s}\right)^2} \\[4pt] & =\frac{1}{s\left(e^{(x-\mu)/(2s)}+e^{-(x-\mu)/(2s)}\right)^2} \\[4pt] & =\frac{1}{4s} \operatorname{sech}^2\left(\frac{x-\mu}{2s}\right). \end{align} When the location parameter is 0 and the scale parameter is 1, then the probability density function of the logistic distribution is given by \begin{align} f(x; 0,1) & = \frac{e^{-x}}{(1+e^{-x})^2} \\[4pt] & = \frac 1 {(e^{x/2} + e^{-x/2})^2} \\[5pt] & = \frac 1 4 \operatorname{sech}^2 \left(\frac x 2 \right). \end{align} Because this function can be expressed in terms of the square of the hyperbolic secant function "sech", it is sometimes referred to as the sech-square(d) distribution or hyperbolic secant square(d) distribution. This should not be confused with the hyperbolic secant distribution. Q(p;\mu,s) = \mu + s \ln\left(\frac{p}{1-p}\right). Q'(p;s) = \frac{s}{p(1-p)}. An alternative parameterization of the logistic distribution can be derived by expressing the scale parameter, s , in terms of the standard deviation, \sigma , using the substitution s\,=\,q\,\sigma , where q\,=\,\sqrt{3}/{\pi}\,=\,0.551328895\ldots . The alternative forms of the above functions are reasonably straightforward. If X \sim U(0, 1) then \mu + s \cdot \text{logit}(X) \sim \mathrm{Logistic}(\mu, s) , where \text{logit}(X)=\log X-\log(1-X) is the logit function. If X \sim \mathrm{Gumbel}(\mu_X, \beta) and Y \sim \mathrm{Gumbel}(\mu_Y, \beta) independently then X-Y \sim \mathrm{Logistic}(\mu_X-\mu_Y,\beta) \, . If X and Y \sim \mathrm{Gumbel}(\mu, \beta) then X+Y \nsim \mathrm{Logistic}(2 \mu,\beta) \, (The sum is not a logistic distribution). E(X+Y) = 2\mu+2\beta\gamma \neq 2\mu = E\left(\mathrm{Logistic}(2 \mu,\beta) \right) . If X ~ Logistic(μ, s) then exp(X) ~ LogLogistic \left( \alpha = e^\mu, \beta = \frac 1 s \right) , and exp(X) + γ ~ shifted log-logistic \left( \alpha = e^\mu, \beta = \frac 1 s, \gamma \right) . If X ~ Exponential(1) then \mu+s\log(e^X -1) \sim \operatorname{Logistic}(\mu,s). If X, Y ~ Exponential(λ) independently then \mu+s\log\left(\frac X Y \right) \sim \operatorname{Logistic}(\mu,s). The metalog distribution is generalization of the logistic distribution, in which power series expansions in terms of p are substituted for logistic parameters \mu and \sigma . The resulting metalog quantile function is highly shape flexible, has a simple closed form, and can be fit to data with linear least squares. \operatorname{E}[(X-\mu)^n] & = \int_{-\infty}^\infty (x-\mu)^n \, dF(x) \\ & = \int_0^1\big(Q(p)-\mu\big)^n \, dp = s^n \int_0^1 \left[\ln\!\left(\frac p {1-p} \right)\right]^n \, dp. \end{align} This integral is well-known and can be expressed in terms of Bernoulli numbers: \operatorname{E}[(X-\mu)^n] = s^n\pi^n(2^n-2)\cdot|B_n|.
Cite this
"Logistic distribution". 1765243534. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1326457699