atoti.experimental.stats.chi2 module#
Chi-square distribution.
For more information read:
- atoti.experimental.stats.chi2.cdf(point, /, *, degrees_of_freedom)#
Cumulative distribution function for a chi-square distribution.
The cdf of the chi-square distribution with k degrees of freedom is
where
is the gamma function and the lower incomplete gamma function.- Parameters
point (
MeasureDescription
) – The point where the function is evaluated.degrees_of_freedom (
Union
[int
,float
,MeasureDescription
,MeasureConvertible
]) – The number of degrees of freedom. Must be positive.
See also
- Return type
- atoti.experimental.stats.chi2.pdf(point, /, *, degrees_of_freedom)#
Probability density function for a chi-square distribution.
The pdf of the chi-square distribution with k degrees of freedom is
where
is the gamma function.- Parameters
point (
MeasureDescription
) – The point where the function is evaluated.degrees_of_freedom (
Union
[int
,float
,MeasureDescription
,MeasureConvertible
]) – The number of degrees of freedom. Must be positive.
See also
- Return type
- atoti.experimental.stats.chi2.ppf(point, /, *, degrees_of_freedom)#
Percent point function for a chi-square distribution.
Also called inverse cumulative distribution function.
- Parameters
point (
MeasureDescription
) – The point where the function is evaluated.degrees_of_freedom (
Union
[int
,float
,MeasureDescription
,MeasureConvertible
]) – The number of degrees of freedom. Must be positive.
See also
- Return type