A small javascript module for working with normal distributions
npm install normal-distributionA small javascript module for working with normal distributions.
The class can be instantiated like so:
``javascript`
const normDist = new NormalDistribution(mean, standardDeviation);mean = 0
With no arguments the distribution will be a standard normal distribution with and standardDeviation = 1`.
___
The four main methods that can be called are:
Note: the z-table used in this module gives probabilities for up to 3.5 standard deviations from the mean