does anyone have the inverse chi-square distribution as a PHP function? I basically need the equiv. of excel function CHIINV but useable in PHP.
or can anyone write this function in PHP? big huge thanks to anyone that does.
excel function info taken from microsoft site:
CHIINV(p, df) is the inverse function for CHIDIST(x, df). For any particular x, CHIDIST(x, df) returns the probability that a Chi-Square-distributed random variable with df degrees of freedom is greater than or equal to x.
actually here i did the work: