scipy.special.chndtrix#

scipy.special.chndtrix(p, df, nc, out=None) = <ufunc 'chndtrix'>#

Inverse to chndtr vs x

Calculated using a search to find a value for x that produces the desired value of p.

Parameters
parray_like

Probability; must satisfy 0 <= p < 1

dfarray_like

Degrees of freedom; must satisfy df > 0

ncarray_like

Non-centrality parameter; must satisfy nc >= 0

outndarray, optional

Optional output array for the function results

Returns
xscalar or ndarray

Value so that the probability a non-central Chi square random variable with df degrees of freedom and non-centrality, nc, is greater than x equals p.