Risk analysis through the half-normal distribution