Scythe-1.0.3
double scythe::pf ( double  x,
double  df1,
double  df2 
) [inline]

The F distribution function.

Computes the value of the F cumulative distribution function with df1 and df2 degrees of freedom, at the desired quantile x.

It is also possible to call this function with a Matrix of doubles as its first argument. In this case the function will return a Matrix of doubles of the same dimension as x, containing the result of evaluating this function at each value in x, given the remaining fixed parameters. By default, the returned Matrix will be concrete and have the same matrix_order as x, but you may invoke a generalized version of the function with an explicit template call.

Parameters:
xThe desired quantile.
df1The non-negative degrees of freedom for the $\chi^2$ variate in the nominator of the F statistic.
df2The non-negative degrees of freedom for the $\chi^2$ variate in the denominator of the F statistic.
See also:
df(double x, double df1, double df2)
rng::rf(double df1, double df2)
Exceptions:
scythe_invalid_arg(Level 1)
scythe_range_error(Level 1)
scythe_precision_error(Level 1)
scythe_convergence_error(Level 1)

References pbeta(), pchisq(), and SCYTHE_CHECK_10.