sampson
v0.2.8
Published
A statistical sampling and distribution library with a whole lot of horse-power.
Downloads
6,010
Readme
Sampson.js
A Statistical Sampling and Distribution Library. Named after the largest horse ever, it goes to show that small chances can lead to big things.
Currently has the following:
Distributions
- Bernoulli
- Binomial
- Cauchy
- Chi-Square
- Exponential
- Gamma
- Normal
- Student's T
- Weibull
- Uniform
- Pareto
- Poisson
Statistics
- Sample
- T-Tests
General Functions
- n Choose k
- Error Function
- Factorial
- Gamma
- Lower Incomplete Gamma Function
- Log-Gamma
- Mean
- Median
- Mode
- Percentile
- Quantile
- Range
- Select
- Standard Deviation
- Stirling's Approximation
- Summation
- Nth Power Deviation Summation
- Variance
- Z-Score
Major references:
- https://github.com/ampl/gsl
- https://github.com/jstat/jstat
- https://pomax.github.io/bezierinfo/
- https://github.com/simple-statistics/simple-statistics
- http://www.itl.nist.gov/div898/handbook/eda/section3/eda366.htm