mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-23 17:33:55 +00:00
ec2531411d
* Start implementing Newton-Raphson for the inverse of Statistical Distributions, starting with the two-tailed Student-T * Additional unit tests and validations * Use the new Newton Raphson class for calculating the Inverse of ChiSquared * Extract Weibull distribution, and provide unit tests
49 lines
683 B
PHP
49 lines
683 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
0.929581390070,
|
|
105, 20, 100, true,
|
|
],
|
|
[
|
|
0.035588864025,
|
|
105, 20, 100, false,
|
|
],
|
|
[
|
|
1.10363832351433,
|
|
1, 3, 1, false,
|
|
],
|
|
[
|
|
0.985212776817482,
|
|
2, 5, 1.5, true,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
'NaN', 5, 1.5, true,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
2, 'NaN', 1.5, true,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
2, 5, 'NaN', true,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
2, 5, 1.5, 'NaN',
|
|
],
|
|
[
|
|
'#NUM!',
|
|
-2, 5, 1.5, true,
|
|
],
|
|
[
|
|
'#NUM!',
|
|
-2, 0, 1.5, true,
|
|
],
|
|
[
|
|
'#NUM!',
|
|
-2, 5, 0, true,
|
|
],
|
|
];
|