MathPHP\Probability\Distribution\Table\ChiSquaredlTest::testChiSquaredValuesFromConstant PHP Метод

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

public testChiSquaredValuesFromConstant ( integer $df, float $p, float $χ² )
$df integer
$p float
$χ² float
    public function testChiSquaredValuesFromConstant(int $df, float $p, float $χ²)
    {
        $p = sprintf('%1.3f', $p);
        $this->assertEquals($χ², ChiSquared::CHI_SQUARED_SCORES[$df][$p]);
    }