chisquare_inv

seas.waveletFunctions.chisquare_inv(P: float, V: float)[source]

CHISQUARE_INV Inverse of chi-square cumulative distribution function (cdf).

X = chisquare_inv(P,V) returns the inverse of chi-square cdf with V degrees of freedom at fraction P. This means that P*100 percent of the distribution lies between 0 and X.

To check, the answer should satisfy: P==gammainc(X/2,V/2)

Uses FMIN and CHISQUARE_SOLVE