Files
PhpSpreadsheet/tests/data/Shared/Trend/ExponentialBestFit.php
Mark Baker 2d8c8c8ecf Trend unit tests (#1899)
- Move TREND() functions into the Statistical Trends class
- Unit tests for TREND()
- Create Confidence class for Statistical Confidence functions
2021-03-06 22:50:19 +01:00

13 lines
316 B
PHP

<?php
return [
[
'slope' => [0.8, 0.813512072856517],
'intersect' => [20.7, 20.671878197177865],
'goodnessOfFit' => [0.904868, 0.9048681877346413],
'equation' => 'Y = 20.67 * 0.81^X',
[3, 10, 3, 6, 8, 12, 1, 4, 9, 14],
[8, 2, 11, 6, 5, 4, 12, 9, 6, 1],
],
];