import { cumulativeStdNormalProbability } from "https://deno.land/x/simplestatistics@v7.7.5/index.js";
Cumulative Standard Normal Probability
Since probability tables cannot be printed for every normal distribution, as there are an infinite variety of normal distributions, it is common practice to convert a normal to a standard normal and then use the standard normal table to find probabilities.
You can use .5 + .5 * errorFunction(x / Math.sqrt(2))
to calculate the probability
instead of looking it up in a table.