Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
MathPHP
Probability
Distribution
Continuous
ChiSquared
PHP Class MathPHP\Probability\Distribution\Continuous\ChiSquared
Inheritance:
extends
Continuous
Datei anzeigen
Open project: markrogoyski/math-php
Class Usage Examples
Public Methods
Method
Description
CDF
(
number
$x
,
integer
$k
) :
number
Cumulative distribution function
PDF
(
number
$x
,
integer
$k
) :
number
Probability density function
mean
(
integer
$k
) :
integer
Mean of the distribution
Method Details
CDF()
public
static
method
Cumulative t value up to a point, left tail. k x \ γ | - , - | \ 2 2 / CDF = ------------- k \ Γ | - | \ 2 /
public
static
CDF
(
number
$x
,
integer
$k
) :
number
$x
number
Chi-square critical value (CV) > 0
$k
integer
degrees of freedom > 0
return
number
cumulative probability
PDF()
public
static
method
1 -------------- x⁽ᵏ/²⁾⁻¹ ℯ⁻⁽ˣ/²⁾ χ²(k) = / k \ 2ᵏ/² Γ | - | \ 2 /
public
static
PDF
(
number
$x
,
integer
$k
) :
number
$x
number
point at which to evaluate > 0
$k
integer
degrees of freedom > 0
return
number
probability
mean()
public
static
method
μ = k
public
static
mean
(
integer
$k
) :
integer
$k
integer
degrees of freedom > 0
return
integer
k