MathPHP\Statistics\DistributionTest::dataProviderForCumulativeFrequency PHP Метод

dataProviderForCumulativeFrequency() публичный Метод

    public function dataProviderForCumulativeFrequency()
    {
        return [[['A', 'A', 'B', 'B', 'B', 'B', 'C', 'C', 'D', 'F'], ['A' => 2, 'B' => 6, 'C' => 8, 'D' => 9, 'F' => 10]], [[1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], [1 => 5, 2 => 8, 3 => 17, 4 => 31]], [['yes', 'yes', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no'], ['yes' => 6, 'no' => 10]], [['agree', 'disagree', 'agree', 'agree', 'no opinion', 'agree', 'disagree'], ['agree' => 4, 'disagree' => 6, 'no opinion' => 7]]];
    }