fullpipe/normal-distribution

Simple php lib for basic Normal distribution calculations

Maintainers

Package info

github.com/fullpipe/normal-distribution

pkg:composer/fullpipe/normal-distribution

Statistics

Installs: 34

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2016-06-13 12:27 UTC

This package is auto-updated.

Last update: 2026-02-27 04:19:12 UTC


README

Simple php lib for basic Normal distribution calculations

$snd = new \Fullpipe\NormalDistribution\StandardNormalDistribution();
echo $snd->pdf(1);
echo $snd->cdf(1);
echo $snd->invCdf(0.5);

$gnd = new \Fullpipe\NormalDistribution\GeneralNormalDistribution(100, 9);
echo $gnd->pdf(50);
echo $gnd->cdf(50);
echo $gnd->invCdf(0.5);