Skip to content

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.

number = 0

Centre of the distribution.

number = 1

Spread; must be positive.

Distribution

The distribution.

When standardDeviation is not positive.