Maxima Function
cdf_chi2 (x,n)
Returns the value at x of the distribution function of a Chi-square random variable Chi^2(n), with n>0.
This function has no closed form and it is numerically computed if the global variable numer
equals true
, otherwise it returns a nominal expression based on the gamma distribution, since the Chi^2(n) random variable is equivalent to the Gamma(n/2,2).