"JohnM" wrote in message <jqs1r0$6rg$
1...@newscl01ah.mathworks.com>...
> Hello. I need to calculate the inverse of the Chi-square cumulative distribution function. Can someone tell me how to do this without the functions in the Statistics toolbox because I do not have it installed. Thanks.
Its been a while since I wrote codes for these things, but I'm
pretty sure I recall that a chi-square random variable can
be converted into a gamma by transformation. In that case
you can use gammaincinv, the inverse incomplete gamma to
solve your problem. (Or maybe it is a transformation into an
F, which will then give you a beta RV, so use the inverse
incomplete beta, as found in betaincinv.)
John