This is documentation for an old release of SciPy (version 0.18.0). Search for this page in the documentation of the latest stable release (version 1.15.1).
HalfNormal Distribution¶
This is a special case of the chi distribution with L=a and S=b and ν=1. This is also a special case of the folded normal with shape parameter c=0 and S=S. If Z is (standard) normally distributed then, |Z| is half-normal. The standard form is
f(x)=√2πe−x2/2I(0,∞)(x)F(x)=2Φ(x)−1G(q)=Φ−1(1+q2)
M(t)=√2πet2/2Φ(t)
μ=√2πμ2=1−2πγ1=√2(4−π)(π−2)3/2γ2=8(π−3)(π−2)2md=0mn=Φ−1(34)
h[X]=log(√πe2)≈0.72579135264472743239.
Implementation: scipy.stats.halfnorm