MathPHP\Statistics\DescriptiveTest::dataProviderForPercentile PHP Method

dataProviderForPercentile() public method

    public function dataProviderForPercentile()
    {
        return [[[15, 20, 35, 40, 50], 30, 20], [[15, 20, 35, 40, 50], 40, 20], [[15, 20, 35, 40, 50], 50, 35], [[15, 20, 35, 40, 50], 100, 50], [[3, 6, 7, 8, 8, 10, 13, 15, 16, 20], 25, 7], [[3, 6, 7, 8, 8, 10, 13, 15, 16, 20], 50, 8], [[3, 6, 7, 8, 8, 10, 13, 15, 16, 20], 75, 15], [[3, 6, 7, 8, 8, 10, 13, 15, 16, 20], 100, 20], [[3, 6, 7, 8, 8, 9, 10, 13, 15, 16, 20], 25, 7], [[3, 6, 7, 8, 8, 9, 10, 13, 15, 16, 20], 50, 9], [[3, 6, 7, 8, 8, 9, 10, 13, 15, 16, 20], 75, 15], [[3, 6, 7, 8, 8, 9, 10, 13, 15, 16, 20], 100, 20]];
    }
DescriptiveTest