Home - estebanz01/ruby-statistics GitHub Wiki
Statistics gem documentation
Here you will find the documentation for each of the possible functions and classes needed to work with the gem.
Notes:
- If you are using
BigDecimal
, keep in mind that this gem will coerce it toRational
, for speed and accuracy.
Categories
Distributions
- Bernoulli distribution
- Beta distribution
- Binomial distribution
- Chi-squared distribution
- F distribution
- Geometric distribution
- LogSeries distribution
- Negative Binomial distribution
- Normal distribution
- Standard Normal distribution
- Inverse Standard Normal distribution (Also known as quantile function for standard normal distribution).
- Poisson distribution
- T-Student distribution
- Continuous Uniform distribution
- Weibull distribution
- Empirical distribution function (ECDF)
- Gamma distribution
Tables
Statistical tests
A note about p-values
It's important to keep in mind this bug #13 conditioned by the way ruby calculates the decimal values. I hope to find a solution to that. (Fixed in version 2.0.1).
- Student's T-test
- One way ANOVA and F-Test
- Goodness of fit test (Chi squared Distribution).
- Wilcoxon Rank-Sum test (Also known as Mann-Whitney U test).
- Kolmogorov-Smirnov test (KS Test).