Processing math: 100%
SciPy

This is documentation for an old release of SciPy (version 0.18.1). Search for this page in the documentation of the latest stable release (version 1.15.1).

Folded Normal Distribution

If Z is Normal with mean L and σ=S , then |Z| is a folded normal with shape parameter c=|L|/S , location parameter 0 and scale parameter S . This is a special case of the non-central chi distribution with one- degree of freedom and non-centrality parameter c2. Note that c0 . The standard form of the folded normal is

f(x;c)=2πcosh(cx)exp(x2+c22)F(x;c)=Φ(xc)Φ(xc)=Φ(xc)+Φ(x+c)1G(α;c)=F1(x;c)
M(t)=exp[t2(t2c)](1+e2ct)
k=erf(c2)p=exp(c22)μ=2πp+ckμ2=c2+1μ2γ1=2πp3(4πp2(2c2+1))+2ck(6p2+3cpk2π+πc(k21))πμ3/22γ2=c4+6c2+3+6(c2+1)μ23μ44pμ(2π(c2+2)+ckp(c2+3))μ22

Implementation: scipy.stats.foldnorm