Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chipbell4/gamma-distribution
The PDF and CDFs for the gamma distribution
https://github.com/chipbell4/gamma-distribution
Last synced: 9 days ago
JSON representation
The PDF and CDFs for the gamma distribution
- Host: GitHub
- URL: https://github.com/chipbell4/gamma-distribution
- Owner: chipbell4
- Created: 2015-02-02T02:14:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-03T01:39:07.000Z (almost 10 years ago)
- Last Synced: 2024-04-14T18:27:14.776Z (7 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gamma-Distribution
A module with the PDF and CDF functions for the gamma distribution. Also has maximum likelihood fitting capabilities.
An example:
`
var dist = require('gamma-distribution');var x = 2, k = 1, theta = 3;
dist.pdf(x, k, theta);
dist.cdf(x, k, theta);
dist.fit([1, 2, 2, 2, 2, 3, 3, 4, 6]); // returns an object with k and theta
`