modified from statistics-distributions-js (Ben Tilly,2008); JavaScript library for calculating critical values and upper probabilities of common statistical distributions
The original version of this JavaScript library
https://github.com/YujiSODE/statistics-distributions-js_Ymdf
Copyright (c) 2008 Ben Tilly <btilly@gmail.com>
Formating, simplification and bug repair by Matthias Trautner Kromann <mtk@id.cbs.dk>.
And this program was modified by Yuji SODE <yuji.sode@gmail.com> on 2016-08.
For the original version of this JavaScript library,
see statistics-distributions-001.js or https://code.google.com/archive/p/statistics-distributions-js/This software is released under either the Perl Artistic License or the GPL v1 or later
See http://dev.perl.org/licenses/ and http://dev.perl.org/licenses/artistic.html or http://dev.perl.org/licenses/gpl1.html
Cited from statistics-distributions-js (Ben Tilly,2008);
This library calculates percentage points (5 significant digits) of the u (standard normal) distribution, the student's t distribution, the chi-square distribution and the F distribution. It can also calculate the upper probability (5 significant digits) of the u (standard normal), the chi-square, the t and the F distribution.
These critical values are needed to perform statistical tests, like the u test, the t test, the F test and the chi-squared test, and to calculate confidence intervals.
This is a direct port of the Perl module Statistics::Distributions.
The all modification was thanks to who reported and suggested bugs and modifications at Issues in statistics-distributions-js. and Dr. Gordon.