A truncated normal distribution is a normal distribution conditioned to lie in a specified subset of the real line. Its density is the original Gaussian density divided by the probability of the retained set.
To draw restricted to a positive value, let and return for uniform . For restriction to a negative value use . These are inverse transform sampling constructions. Repeatedly drawing an untruncated normal until its sign agrees is also exact, but inefficient for rare signs.

Articles by others on the same topic (0)

There are currently no matching articles.