Hi, all,
Now I am coding for a statistic project. I have got some chi square and need to figure out the p value.
The formulas are like these:
T(z) = the integral from zero to infinity of (t^(z-1))*e^(-t)dt
f(x)=(1/(T(1/2)*2^(1/2)))*x^(-1/2)*e^(-x/2)
p=the integral from a(a constant) to infinity of f(x)dx
Does anybody have any idea of how to code these? Any advice is highly appreciated!
Cicci