你查帮助里面的function那里
有许多关于计算统计量等的函数。下面就是其中一个
chi2tail(n,x)
Domain n: 2e-10 to 2e+17 (may be nonintegral)
Domain x: -8e+307 to 8e+307
Interesting domain is x > 0
Range: 0 to 1
Description: returns the reverse cumulative (upper-tail, survival) chi-squared distribution
with n degrees of freedom.
chi2tail(n,x) = 1 - chi2(n,x)
returns 1 if x < 0.