Chi-squared Distribution Calculator

This function computes the p-value for the χ2 distribution.

χ2 value (Q value) Number of degrees of freedom
Q = n =

Read the p-value:

This function computes  P ( χ2(n) > Q ), i.e. the probability that the χ2 random variable with the specified number of degrees of freedom n exceeds the given number Q.

Adapted from Algorithm 299 in I. D. Hill and M. C. Pike, Collected Algorithms for the CACM, 1967 p. 243. Updated for rounding errors based on remark in ACM TOMS June 1985, page 185.

Questions or comments? E-mail to Nikolai Chernov.