Half-Normal Distribution — Definition, Formula & Example
The half-normal distribution is what you get when you take a normal distribution centered at 0 and fold the negative half onto the positive half. It models the size of a random error and ignores its direction, so it never takes negative values.
If , then has a half-normal distribution with scale parameter . Its support is and its CDF is , where is the standard normal CDF. Its mean is and its variance is . Unlike the normal distribution, it is right-skewed, and its density peaks at (the mode) rather than in the middle. The normal distribution allows any real value and is symmetric about its mean.
Key Formula
Where:
- = The value of the half-normal variable, such as the size of an error (never negative)
- = Scale parameter: the standard deviation of the original normal variable X, not of Y
- = Probability density at y. It is exactly twice the N(0, σ²) density for y ≥ 0
Worked Example
Problem: A digital thermometer's reading error X is normally distributed with mean 0°F and standard deviation 2°F. Let Y = |X| be the size of the error. Find the mean error size E[Y] and the probability that the error is at most 4°F.
Step 1: The error size is the absolute value of a mean-zero normal variable, so Y is half-normal with scale σ = 2.
Step 2: Apply the mean formula. Note that the mean is not 0, because Y cannot be negative.
Step 3: Use the CDF. Then read Φ(2) ≈ 0.97725 from a standard normal table.
Answer: The average error size is about 1.60°F. The probability that the error is at most 4°F is about 0.9545. That leaves about a 4.55% chance that the error exceeds 4°F.
Why It Matters
In Bayesian statistics courses and software such as Stan, half-normal distributions are a standard prior for standard-deviation parameters, which must be nonnegative. Economists use them in stochastic frontier models to describe how far a firm falls below its maximum possible output. Engineers use them for the magnitude of positioning or measurement errors.
Common Mistakes
Mistake: Treating σ as the standard deviation of the half-normal variable Y.
Correction: σ is the standard deviation of the original normal variable X. The standard deviation of Y is σ√(1 − 2/π) ≈ 0.603σ. In the thermometer example, that is about 1.21°F, not 2°F.
