PHP Class 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
Afficher le fichier Open project: markrogoyski/math-php

Méthodes publiques

Méthode Description
getChiSquareValue ( integer $df, float $p ) : float Get χ² score

Method Details

getChiSquareValue() public static méthode

Get χ² score
public static getChiSquareValue ( integer $df, float $p ) : float
$df integer Degrees of freedom
$p float P value
Résultat float χ² score