Statistics/Chi-squared distribution: Difference between revisions
m
cleanup
m (delete unneeded) |
m (cleanup) |
||
Line 105:
""" Cumulative probability function (cdf) for chi-squared """
function cdf_χ2(x, k)
return x <= 0 || k <= 0 ? 0.0 : γ(k / 2, x / 2)
end
|