{ } Raw JSON

bundles / scipy latest / scipy / stats / _continuous_distns / ncx2_gen

class

scipy.stats._continuous_distns:ncx2_gen

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

Signature

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

Members

Summary

A non-central chi-squared continuous random variable.

Extended Summary

%(before_notes)s

Notes

The probability density function for ncx2 is:

for , and . specifies the degrees of freedom (denoted df in the implementation) and is the non-centrality parameter (denoted nc in the implementation). denotes the modified Bessel function of first order of degree (scipy.special.iv).

ncx2 takes df and nc as shape parameters.

This distribution uses routines from the Boost Math C++ library for the computation of the pdf, cdf, ppf, sf and isf methods. [1]

%(after_notes)s

Aliases

  • scipy.stats._continuous_distns.ncx2_gen