atoti.stats.chi2.pdf()#

atoti.stats.chi2.pdf(point, /, *, degrees_of_freedom)#

Probability density function for a chi-square distribution.

Warning

This feature is experimental, its key is "stats.chi2.pdf".

The pdf of the chi-square distribution with k degrees of freedom is

\[\operatorname {{pdf}}(x)=\dfrac {{x^{{\frac {{k}}{{2}}-1}}e^{{-\frac {{x}}{{2}}}}}}{{2^\frac {{k}}{{2}}\Gamma \left(\frac {{k}}{{2}}\right)}}\]

where \(\Gamma\) is the gamma function.

Parameters:
  • point (VariableMeasureConvertible) – The point where the function is evaluated.

  • degrees_of_freedom (StrictlyPositiveNumber | VariableMeasureConvertible) – The number of degrees of freedom. Must be positive.

Return type:

MeasureDefinition