{ } Raw JSON

bundles / scipy latest / scipy / stats / _continuous_distns / chi_gen

class

scipy.stats._continuous_distns:chi_gen

source: /scipy/stats/_continuous_distns.py :1524

Signature

class   chi_gen ( momtype = 1 a = None b = None xtol = 1e-14 badvalue = None name = None longname = None shapes = None seed = None )

Members

Summary

A chi continuous random variable.

Extended Summary

%(before_notes)s

Notes

The probability density function for chi is:

for and (degrees of freedom, denoted df in the implementation). is the gamma function (scipy.special.gamma).

Special cases of chi are:

  • chi(1, loc, scale) is equivalent to halfnorm

  • chi(2, 0, scale) is equivalent to rayleigh

  • chi(3, 0, scale) is equivalent to maxwell

chi takes df as a shape parameter.

%(after_notes)s

%(example)s

Aliases

  • scipy.stats._continuous_distns.chi_gen