Skip to content

norm_dist

Normal-distribution PDF or CDF.

v = norm_dist(x, mean, standard_dev, cumulative)

With cumulative = true, returns the CDF; with false, returns the PDF of the normal distribution N(mean, standard_dev²) at x.

norm_dist(1.96, 0, 1, true) % ≈ 0.975 (95th percentile)
norm_dist(0, 0, 1, false) % 0.3989 (peak of standard normal)