Logit-normal distribution
{{Probability distribution Logit-normal distribution is an encyclopedia record, sourced from en.wikipedia.org, last updated 2025-06-20, source revision https://en.wikipedia.org/w/index.php?oldid=1296557204. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
{{Probability distribution | name = Logit-normal | type = continuous | pdf_image = | cdf_image = | notation = P( \mathcal{N}(\mu,\,\sigma^2) ) | parameters= σ 2 > 0 — squared scale (real), μ ∈ R — location | support = x ∈ (0, 1) | pdf = \frac{1}{\sigma \sqrt{2 \pi}}\, e^{-\frac{(\operatorname{logit}(x) - \mu)^2}{2\sigma^2}}\frac{1}{x (1-x)} | cdf = \frac12\Big[1 + \operatorname{erf}\Big( \frac{\operatorname{logit}(x)-\mu}{\sqrt{2\sigma^2}}\Big)\Big] | mean = no analytical solution | median = P(\mu)\, | mode = no analytical solution | variance = no analytical solution | skewness = | kurtosis = | entropy = | mgf = no analytical solution | char = | fisher = }} In probability theory, a logit-normal distribution is a probability distribution of a random variable whose logit has a normal distribution. If Y is a random variable with a normal distribution, and t is the standard logistic function, then X = t(Y) has a logit-normal distribution; likewise, if X is logit-normally distributed, then Y = logit(X)= log (X/(1-X)) is normally distributed. It is also known as the logistic normal distribution, which often refers to a multinomial logit version (e.g. ). A variable might be modeled as logit-normal if it is a proportion, which is bounded by zero and one, and where values of zero and one never occur. f_X(x;\mu,\sigma) = \frac{1}{\sigma\sqrt{2 \pi}}\,\frac{1}{x (1-x)}\, e^{-\frac{(\operatorname{logit}(x) - \mu)^2}{2\sigma^2}} where μ and σ are the mean and standard deviation of the variable’s logit (by definition, the variable’s logit is normally distributed). The density obtained by changing the sign of μ is symmetrical, in that it is equal to f(1-x;-μ,σ), shifting the mode to the other side of 0.5 (the midpoint of the (0,1) interval). The moments of the logit-normal distribution have no analytic solution. The moments can be estimated by numerical integration, however numerical integration can be prohibitive when the values of \mu, \sigma^2 are such that the density function diverges to infinity at the end points zero and one. An alternative is to use the observation that the logit-normal is a transformation of a normal random variable. This allows us to approximate the n -th moment via the following quasi Monte Carlo estimate E[X^n] \approx \frac{1}{K-1} \sum_{i=1}^{K-1} \left( P\left(\Phi^{-1}_{\mu,\sigma^2}(i/K)\right) \right)^n, where P is the standard logistic function, and \Phi^{-1}_{\mu,\sigma^2} is the inverse cumulative distribution function of a normal distribution with mean and variance \mu, \sigma^2 . When n=1 , this corresponds to the mean. \operatorname{logit}(x) = \sigma^2(2x-1)+\mu . For some values of the parameters there are two solutions, i.e. the distribution is bimodal. == Multivariate generalization== The logistic normal distribution is a generalization of the logit–normal distribution to D-dimensional probability vectors by taking a logistic transformation of a multivariate normal distribution. f_X( \mathbf{x}; \boldsymbol{\mu} , \boldsymbol{\Sigma} ) = \frac{1}{ (2 \pi)^{D-1} |\boldsymbol{\Sigma} |^\frac{1}{2} } \, \frac{1}{ \prod\limits_{i=1}^D x_i } \, e^{- \frac{1}{2} \left\{ \log \left( \frac{ \mathbf{x}_{-D} }{ x_D } \right) - \boldsymbol{\mu} \right\}^\top \boldsymbol{\Sigma}^{-1} \left\{ \log \left( \frac{ \mathbf{x}_{-D} }{ x_D } \right) - \boldsymbol{\mu} \right\} } \quad , \quad \mathbf{x} \in \mathcal{S}^D \;\; , where \mathbf{x}_{-D} denotes a vector of the first (D-1) components of \mathbf{x} and \mathcal{S}^D denotes the simplex of D-dimensional probability vectors. This follows from applying the additive logistic transformation to map a multivariate normal random variable \mathbf{y} \sim \mathcal{N} \left( \boldsymbol{\mu} , \boldsymbol{\Sigma} \right) \; , \; \mathbf{y} \in \mathbb{R}^{D-1} to the simplex: \mathbf{x} = \left[ \frac{ e^{ y_1 } }{ 1 + \sum_{i=1}^{D-1} e^{ y_i } } , \dots , \frac{ e^{ y_{D-1} } }{ 1 + \sum_{i=1}^{D-1} e^{ y_i } } , \frac{ 1 }{ 1 + \sum_{i=1}^{D-1} e^{ y_i } } \right]^\top The unique inverse mapping is given by: \mathbf{y} = \left[ \log \left( \frac{ x_1 }{ x_D } \right) , \dots , \log \left( \frac{ x_{D-1} }{ x_D } \right) \right]^\top . This is the case of a vector x which components sum up to one. In the case of x with sigmoidal elements, that is, when \mathbf{y} = \left[ \log \left( \frac{ x_1 }{ 1-x_1 } \right) , \dots , \log \left( \frac{ x_D }{ 1-x_D } \right) \right]^\top we have f_X( \mathbf{x}; \boldsymbol{\mu} , \boldsymbol{\Sigma} ) = \frac{1}{ (2 \pi)^{D-1} |\boldsymbol{\Sigma} |^\frac{1}{2} } \, \frac{1}{ \prod\limits_{i=1}^D \left(x_i(1-x_i)\right) } \, e^{- \frac{1}{2} \left\{ \log \left( \frac{ \mathbf{x} }{ 1-\mathbf{x} } \right) - \boldsymbol{\mu} \right\}^\top \boldsymbol{\Sigma}^{-1} \left\{ \log \left( \frac{ \mathbf{x}}{ 1-\mathbf{x} } \right) - \boldsymbol{\mu} \right\} } where the log and the division in the argument are taken element-wise. This is because the Jacobian matrix of the transformation is diagonal with elements \frac{ 1 }{ x_i(1-x_i)} . K(p,q) = \int_{\mathcal{S}^D} p \left( \mathbf{x} \mid \boldsymbol{\alpha} \right) \log \left( \frac{ p \left( \mathbf{x} \mid \boldsymbol{\alpha} \right) }{ q \left( \mathbf{x} \mid \boldsymbol{\mu} , \boldsymbol{\Sigma} \right) } \right) \, d \mathbf{x} This is minimized by: \boldsymbol{\mu}^* = \mathbf{E}_p \left[ \log \left( \frac{ \mathbf{x}_{-D} }{ x_D } \right) \right] \quad , \quad \boldsymbol{\Sigma}^* = \textbf{Var}_p \left[ \log \left( \frac{ \mathbf{x}_{-D} }{ x_D } \right) \right] Using moment properties of the Dirichlet distribution, the solution can be written in terms of the digamma \psi and trigamma \psi' functions: \mu_i^* = \psi \left( \alpha_i \right) - \psi \left( \alpha_D \right) \quad , \quad i = 1 , \ldots , D-1 \Sigma_{ii}^* = \psi' \left( \alpha_i \right) + \psi' \left( \alpha_D \right) \quad , \quad i = 1 , \ldots , D-1 \Sigma_{ij}^* = \psi' \left( \alpha_D \right) \quad , \quad i \neq j This approximation is particularly accurate for large \boldsymbol{\alpha} . In fact, one can show that for \alpha_i \rightarrow \infty , i = 1 , \ldots , D , we have that p \left( \mathbf{x} \mid \boldsymbol{\alpha} \right) \rightarrow q \left( \mathbf{x} \mid \boldsymbol{\mu}^* , \boldsymbol{\Sigma}^* \right) . ==External links== logitnorm package for R
Cite this
"Logit-normal distribution". 1750436664. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1296557204 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy