I want to integral this function (1-chi-square(x/2,df=10))**5 by the chi-square(x, df=10), so I write the code below. However, the error showed up. Can any one help me solve this problem? Proc iml; start integrand(probchi(x,10)); return ((1-probchi((x/2),10))**5); finish; call quad(answer, "integrand", {0 .P}); print answer; quit;
... View more