Computes the pdf, cdf, value at risk and expected shortfall for Half normal distribution given by
$$\begin{array}{ll}
&\displaystyle
f (x) = \frac {2}{\sigma} \phi \left( \frac {x}{\sigma} \right),
\\
&\displaystyle
F (x) = 2 \Phi \left( \frac {x}{\sigma} \right) - 1,
\\
&\displaystyle
{\rm VaR}_p (X) = \sigma \Phi^{-1} \left( \frac {1 + p}{2} \right),
\\
&\displaystyle
{\rm ES}_p (X) = \frac {\sigma}{p} \int_0^p \Phi^{-1} \left( \frac {1 + v}{2} \right) dv
\end{array}$$
for \(x > 0\), \(0 < p < 1\), and \(\sigma > 0\), the scale parameter.