|
static | distributionLeftTail (mixed $value, mixed $degrees, mixed $cumulative) |
| CHIDIST.
|
|
static | distributionRightTail (mixed $value, mixed $degrees) |
|
static | inverseLeftTail (mixed $probability, mixed $degrees) |
| CHIINV.
|
|
static | inverseRightTail (mixed $probability, mixed $degrees) |
| CHIINV.
|
|
static | test (mixed $actual, mixed $expected) |
| CHITEST.
|
|
|
static | degrees (int $rows, int $columns) |
|
◆ distributionLeftTail()
static PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::distributionLeftTail |
( |
mixed | $value, |
|
|
mixed | $degrees, |
|
|
mixed | $cumulative ) |
|
static |
CHIDIST.
Returns the one-tailed probability of the chi-squared distribution.
- Parameters
-
mixed | $value | Float value for which we want the probability Or can be an array of values |
mixed | $degrees | Integer degrees of freedom Or can be an array of values |
mixed | $cumulative | Boolean value indicating if we want the cdf (true) or the pdf (false) Or can be an array of values |
- Return values
-
array|float|int|string | If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions |
◆ inverseLeftTail()
static PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::inverseLeftTail |
( |
mixed | $probability, |
|
|
mixed | $degrees ) |
|
static |
CHIINV.
Returns the inverse of the left-tailed probability of the chi-squared distribution.
- Parameters
-
mixed | $probability | Float probability at which you want to evaluate the distribution Or can be an array of values |
mixed | $degrees | Integer degrees of freedom Or can be an array of values |
- Return values
-
array|float|string | If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions |
◆ inverseRightTail()
static PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::inverseRightTail |
( |
mixed | $probability, |
|
|
mixed | $degrees ) |
|
static |
CHIINV.
Returns the inverse of the right-tailed probability of the chi-squared distribution.
- Parameters
-
mixed | $probability | Float probability at which you want to evaluate the distribution Or can be an array of values |
mixed | $degrees | Integer degrees of freedom Or can be an array of values |
- Return values
-
array|float|string | If an array of numbers is passed as an argument, then the returned result will also be an array with the same dimensions |
◆ test()
static PhpOffice\PhpSpreadsheet\Calculation\Statistical\Distributions\ChiSquared::test |
( |
mixed | $actual, |
|
|
mixed | $expected ) |
|
static |
CHITEST.
Uses the chi-square test to calculate the probability that the differences between two supplied data sets (of observed and expected frequencies), are likely to be simply due to sampling error, or if they are likely to be real.
- Parameters
-
mixed | $actual | an array of observed frequencies |
mixed | $expected | an array of expected frequencies |
The documentation for this class was generated from the following file:
- lib/phpspreadsheet/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Distributions/ChiSquared.php