This is documentation for an old release of SciPy (version 0.17.1). Search for this page in the documentation of the latest stable release (version 1.15.1).
Chi-squared Distribution¶
This is the gamma distribution with L=0.0 and S=2.0 and α=ν/2 where ν is called the degrees of freedom. If Z1…Zν are all standard normal distributions, then W=∑kZ2k has (standard) chi-square distribution with ν degrees of freedom.
The standard form (most often used in standard form only) is x>0
f(x;α)=12Γ(ν2)(x2)ν/2−1e−x/2F(x;α)=Γ(ν2,x2)G(q;α)=2Γ−1(ν2,q)
M(t)=Γ(ν2)(12−t)ν/2
μ=νμ2=2νγ1=2√2√νγ2=12νmd=ν2−1
Implementation: scipy.stats.chi2