mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 03:59:11 +00:00
Statistical refactoring - Confidence() and Trend() (#1898)
- Move TREND() functions into the Statistical Trends class - Unit tests for TREND() - Create Confidence class for Statistical Confidence functions, and the CONFIDENCE() method
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
[
|
||||
[133953.33333333334],
|
||||
[134971.51515151517],
|
||||
[135989.69696969696],
|
||||
[137007.87878787878],
|
||||
[138026.0606060606],
|
||||
[139044.24242424243],
|
||||
[140062.42424242425],
|
||||
[141080.60606060608],
|
||||
[142098.78787878787],
|
||||
[143116.9696969697],
|
||||
[144135.15151515152],
|
||||
[145153.33333333334],
|
||||
],
|
||||
[133890, 135000, 135790, 137300, 138130, 139100, 139900, 141120, 141890, 143230, 144000, 145290],
|
||||
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
||||
],
|
||||
[
|
||||
[
|
||||
[146171.51515151517],
|
||||
[147189.69696969696],
|
||||
[148207.87878787878],
|
||||
[149226.0606060606],
|
||||
[150244.24242424243],
|
||||
],
|
||||
[133890, 135000, 135790, 137300, 138130, 139100, 139900, 141120, 141890, 143230, 144000, 145290],
|
||||
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
||||
[13, 14, 15, 16, 17],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user