bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _continuous_distns / chi2_gen
class
scipy.stats._continuous_distns:chi2_gen
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_continuous_distns.py:1624
Signature
class chi2_gen(momtype = 1, a = None, b = None, xtol = 1e-14, badvalue = None, name = None, longname = None, shapes = None, seed = None)Members
Summary
A chi-squared continuous random variable.
Extended Summary
For the noncentral chi-square distribution, see ncx2.
%(before_notes)s
Notes
The probability density function for chi2 is:
for and (degrees of freedom, denoted df in the implementation).
chi2 takes df as a shape parameter.
The chi-squared distribution is a special case of the gamma distribution, with gamma parameters a = df/2, loc = 0 and scale = 2.
%(after_notes)s
See also
- ncx2
Aliases
scipy.stats._continuous_distns.chi2_gen