Cumulative distribution function of the non-central F distribution.
The non-central F describes the distribution of,
\[Z = \frac{X/d_n}{Y/d_d}\]
where \(X\) and \(Y\) are independently distributed, with
\(X\) distributed non-central \(\chi^2\) with noncentrality
parameter nc and \(d_n\) degrees of freedom, and \(Y\)
distributed \(\chi^2\) with \(d_d\) degrees of freedom.
Parameters:
dfnarray_like
Degrees of freedom of the numerator sum of squares. Range (0, inf).
dfdarray_like
Degrees of freedom of the denominator sum of squares. Range (0, inf).
ncarray_like
Noncentrality parameter. Range [0, inf).
farray_like
Quantiles, i.e. the upper limit of integration.
outndarray, optional
Optional output array for the function results
Returns:
cdfscalar or ndarray
The calculated CDF. If all inputs are scalar, the return will be a
float. Otherwise it will be an array.
where \(I\) is the regularized incomplete beta function, and
\(x = f d_n/(f d_n + d_d)\).
Note that argument order of ncfdtr is different from that of the
similar cdf method of scipy.stats.ncf: f is the last
parameter of ncfdtr but the first parameter of scipy.stats.ncf.cdf.