normalDistribution
normalDistribution(
mean?,standardDeviation?):Distribution
Defined in: normal-distribution.ts:22
The normal (Gaussian) distribution.
Both tails go through erfc rather than through one another: cdf uses the
reflected argument so the lower tail stays exact, and survival the direct
one. Computing either as 1 − the other loses the whole answer beyond about
four standard deviations, which is where a p-value lives.
Parameters
Section titled “Parameters”number = 0
Centre of the distribution.
standardDeviation?
Section titled “standardDeviation?”number = 1
Spread; must be positive.
Returns
Section titled “Returns”The distribution.
Throws
Section titled “Throws”When standardDeviation is not positive.