PHP Класс MathPHP\Probability\Distribution\Table\ChiSquared

Use degrees of freedom and desired P value to find χ² value. https://en.wikipedia.org/wiki/Chi-squared_distribution This table is provided only for completeness. It is common for statistics textbooks to include this table, so this library does as well. It is better to use the χ² distribution CDF function when a χ² value is required. Table values referenced from: https://www.medcalc.org/manual/chi-square-table.php
Показать файл Открыть проект

Открытые методы

Метод Описание
getChiSquareValue ( integer $df, float $p ) : float Get χ² score

Описание методов

getChiSquareValue() публичный статический Метод

Get χ² score
public static getChiSquareValue ( integer $df, float $p ) : float
$df integer Degrees of freedom
$p float P value
Результат float χ² score