https://github.com/fullpipe/normal-distribution
Basic Normal distribution calculations
https://github.com/fullpipe/normal-distribution
Last synced: 4 months ago
JSON representation
Basic Normal distribution calculations
- Host: GitHub
- URL: https://github.com/fullpipe/normal-distribution
- Owner: fullpipe
- License: mit
- Created: 2016-06-13T12:28:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T12:28:09.000Z (about 9 years ago)
- Last Synced: 2025-01-20T17:36:14.342Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic Normal distribution calculations
Simple php lib for basic Normal distribution calculations```php
$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);
```