[{"@context":"http:\/\/schema.org\/","@type":"BlogPosting","@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/half-normal-distribution-wikipedia\/#BlogPosting","mainEntityOfPage":"https:\/\/wiki.edu.vn\/en\/wiki24\/half-normal-distribution-wikipedia\/","headline":"Half-normal distribution – Wikipedia","name":"Half-normal distribution – Wikipedia","description":"From Wikipedia, the free encyclopedia Probability distribution In probability theory and statistics, the half-normal distribution is a special case of","datePublished":"2022-06-13","dateModified":"2022-06-13","author":{"@type":"Person","@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/author\/lordneo\/#Person","name":"lordneo","url":"https:\/\/wiki.edu.vn\/en\/wiki24\/author\/lordneo\/","image":{"@type":"ImageObject","@id":"https:\/\/secure.gravatar.com\/avatar\/c9645c498c9701c88b89b8537773dd7c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c9645c498c9701c88b89b8537773dd7c?s=96&d=mm&r=g","height":96,"width":96}},"publisher":{"@type":"Organization","name":"Enzyklop\u00e4die","logo":{"@type":"ImageObject","@id":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","url":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","width":600,"height":60}},"image":{"@type":"ImageObject","@id":"https:\/\/wikimedia.org\/api\/rest_v1\/media\/math\/render\/svg\/68baa052181f707c662844a465bfeeb135e82bab","url":"https:\/\/wikimedia.org\/api\/rest_v1\/media\/math\/render\/svg\/68baa052181f707c662844a465bfeeb135e82bab","height":"","width":""},"url":"https:\/\/wiki.edu.vn\/en\/wiki24\/half-normal-distribution-wikipedia\/","about":["Wiki"],"wordCount":6318,"articleBody":"From Wikipedia, the free encyclopediaProbability distributionIn probability theory and statistics, the half-normal distribution is a special case of the folded normal distribution.Let X{displaystyle X} follow an ordinary normal distribution, N(0,\u03c32){displaystyle N(0,sigma ^{2})}. Then, Y=|X|{displaystyle Y=|X|} follows a half-normal distribution. Thus, the half-normal distribution is a fold at the mean of an ordinary normal distribution with mean zero.Table of ContentsProperties[edit]Applications[edit]Parameter estimation[edit]Related distributions[edit]See also[edit]References[edit]Further reading[edit]External links[edit]Properties[edit]Using the \u03c3{displaystyle sigma } parametrization of the normal distribution, the probability density function (PDF) of the half-normal is given byfY(y;\u03c3)=2\u03c3\u03c0exp\u2061(\u2212y22\u03c32)y\u22650,{displaystyle f_{Y}(y;sigma )={frac {sqrt {2}}{sigma {sqrt {pi }}}}exp left(-{frac {y^{2}}{2sigma ^{2}}}right)quad ygeq 0,}where E[Y]=\u03bc=\u03c32\u03c0{displaystyle E[Y]=mu ={frac {sigma {sqrt {2}}}{sqrt {pi }}}}.Alternatively using a scaled precision (inverse of the variance) parametrization (to avoid issues if \u03c3{displaystyle sigma } is near zero), obtained by setting \u03b8=\u03c0\u03c32{displaystyle theta ={frac {sqrt {pi }}{sigma {sqrt {2}}}}}, the probability density function is given byfY(y;\u03b8)=2\u03b8\u03c0exp\u2061(\u2212y2\u03b82\u03c0)y\u22650,{displaystyle f_{Y}(y;theta )={frac {2theta }{pi }}exp left(-{frac {y^{2}theta ^{2}}{pi }}right)quad ygeq 0,}where E[Y]=\u03bc=1\u03b8{displaystyle E[Y]=mu ={frac {1}{theta }}}.The cumulative distribution function (CDF) is given byFY(y;\u03c3)=\u222b0y1\u03c32\u03c0exp\u2061(\u2212x22\u03c32)dx{displaystyle F_{Y}(y;sigma )=int _{0}^{y}{frac {1}{sigma }}{sqrt {frac {2}{pi }}},exp left(-{frac {x^{2}}{2sigma ^{2}}}right),dx}Using the change-of-variables z=x\/(2\u03c3){displaystyle z=x\/({sqrt {2}}sigma )}, the CDF can be written asFY(y;\u03c3)=2\u03c0\u222b0y\/(2\u03c3)exp\u2061(\u2212z2)dz=erf\u2061(y2\u03c3),{displaystyle F_{Y}(y;sigma )={frac {2}{sqrt {pi }}},int _{0}^{y\/({sqrt {2}}sigma )}exp left(-z^{2}right)dz=operatorname {erf} left({frac {y}{{sqrt {2}}sigma }}right),}where erf is the error function, a standard function in many mathematical software packages.The quantile function (or inverse CDF) is written:Q(F;\u03c3)=\u03c32erf\u22121\u2061(F){displaystyle Q(F;sigma )=sigma {sqrt {2}}operatorname {erf} ^{-1}(F)}where 0\u2264F\u22641{displaystyle 0leq Fleq 1} and erf\u22121{displaystyle operatorname {erf} ^{-1}} is the inverse error functionThe expectation is then given byE[Y]=\u03c32\/\u03c0,{displaystyle E[Y]=sigma {sqrt {2\/pi }},}The variance is given byvar\u2061(Y)=\u03c32(1\u22122\u03c0).{displaystyle operatorname {var} (Y)=sigma ^{2}left(1-{frac {2}{pi }}right).}Since this is proportional to the variance \u03c32 of X, \u03c3 can be seen as a scale parameter of the new distribution.The differential entropy of the half-normal distribution is exactly one bit less the differential entropy of a zero-mean normal distribution with the same second moment about\u00a00. This can be understood intuitively since the magnitude operator reduces information by one bit (if the probability distribution at its input is even). Alternatively, since a half-normal distribution is always positive, the one bit it would take to record whether a standard normal random variable were positive (say, a 1) or negative (say, a 0) is no longer necessary. Thus,h(Y)=12log2\u2061(\u03c0e\u03c322)=12log2\u2061(2\u03c0e\u03c32)\u22121.{displaystyle h(Y)={frac {1}{2}}log _{2}left({frac {pi esigma ^{2}}{2}}right)={frac {1}{2}}log _{2}left(2pi esigma ^{2}right)-1.}Applications[edit]The half-normal distribution is commonly utilized as a prior probability distribution for variance parameters in Bayesian inference applications.[1][2]Parameter estimation[edit]Given numbers {xi}i=1n{displaystyle {x_{i}}_{i=1}^{n}} drawn from a half-normal distribution, the unknown parameter \u03c3{displaystyle sigma } of that distribution can be estimated by the method of maximum likelihood, giving\u03c3^=1n\u2211i=1nxi2{displaystyle {hat {sigma }}={sqrt {{frac {1}{n}}sum _{i=1}^{n}x_{i}^{2}}}}The bias is equal tob\u2261E\u2061[(\u03c3^mle\u2212\u03c3)]=\u2212\u03c34n{displaystyle bequiv operatorname {E} {bigg [};({hat {sigma }}_{mathrm {mle} }-sigma );{bigg ]}=-{frac {sigma }{4n}}}which yields the bias-corrected maximum likelihood estimator\u03c3^mle\u2217=\u03c3^mle\u2212b^.{displaystyle {hat {sigma ,}}_{text{mle}}^{*}={hat {sigma ,}}_{text{mle}}-{hat {b,}}.}Related distributions[edit]The distribution is a special case of the folded normal distribution with \u03bc\u00a0=\u00a00.It also coincides with a zero-mean normal distribution truncated from below at zero (see truncated normal distribution)If Y has a half-normal distribution, then (Y\/\u03c3)2 has a chi square distribution with 1 degree of freedom, i.e. Y\/\u03c3 has a chi distribution with 1 degree of freedom.The half-normal distribution is a special case of the generalized gamma distribution with d\u00a0=\u00a01, p\u00a0=\u00a02, a\u00a0=\u00a02\u03c3{displaystyle {sqrt {2}}sigma }.If Y has a half-normal distribution, Y -2 has a Levy distributionThe Rayleigh distribution is a moment-tilted and scaled generalization of the half-normal distribution.Modified half-normal distribution[3] with the pdf on (0,\u221e){displaystyle (0,infty )} is given as f(x)=2\u03b2\u03b12x\u03b1\u22121exp\u2061(\u2212\u03b2x2+\u03b3x)\u03a8(\u03b12,\u03b3\u03b2){displaystyle f(x)={frac {2beta ^{frac {alpha }{2}}x^{alpha -1}exp(-beta x^{2}+gamma x)}{Psi {left({frac {alpha }{2}},{frac {gamma }{sqrt {beta }}}right)}}}}, where \u03a8(\u03b1,z)=1\u03a81((\u03b1,12)(1,0);z){displaystyle Psi (alpha ,z)={}_{1}Psi _{1}left({begin{matrix}left(alpha ,{frac {1}{2}}right)\\(1,0)end{matrix}};zright)} denotes the Fox-Wright Psi function.See also[edit]References[edit]^ Gelman, A. (2006), “Prior distributions for variance parameters in hierarchical models”, Bayesian Analysis, 1 (3): 515\u2013534, doi:10.1214\/06-ba117a^ R\u00f6ver, C.; Bender, R.; Dias, S.; Schmid, C.H.; Schmidli, H.; Sturtz, S.; Weber, S.; Friede, T. (2021), “On weakly informative prior distributions for the heterogeneity parameter in Bayesian random\u2010effects meta\u2010analysis”, Research Synthesis Methods, 12 (4): 448\u2013474, arXiv:2007.08352, doi:10.1002\/jrsm.1475, PMID\u00a033486828, S2CID\u00a0220546288^ Sun, Jingchao; Kong, Maiying; Pal, Subhadip (22 June 2021). “The Modified-Half-Normal distribution: Properties and an efficient sampling scheme”. Communications in Statistics – Theory and Methods: 1\u201323. doi:10.1080\/03610926.2021.1934700. ISSN\u00a00361-0926. S2CID\u00a0237919587.Further reading[edit]External links[edit](note that MathWorld uses the parameter \u03b8=1\u03c3\u03c0\/2{displaystyle theta ={frac {1}{sigma }}{sqrt {pi \/2}}} "},{"@context":"http:\/\/schema.org\/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/#breadcrumbitem","name":"Enzyklop\u00e4die"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/half-normal-distribution-wikipedia\/#breadcrumbitem","name":"Half-normal distribution – Wikipedia"}}]}]