bundles / scipy 1.17.1 / scipy / stats / _continuous_distns / chi2_gen
class
scipy.stats._continuous_distns:chi2_gen
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
%(example)s
See also
- ncx2
Aliases
-
scipy.stats._continuous_distns.chi2_gen