Given numbers \{x_i\}_{i=1}^n drawn from a half-normal distribution, the unknown parameter \sigma of that distribution can be estimated by the method of maximum likelihood, giving .
\hat \sigma = \sqrt{\frac 1 n \sum_{i=1}^n x_i^2} .