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
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!