2.1.24.5.1.14 ncfcdf


Description

Noncentral F cdf

Syntax

double ncfcdf( const double dF, double df1, double df2, double lambda, int * nFail = NULL )

Parameters

dF
[input] deviate from the non-central F-distribution, .
df1
[input] degrees of freedom of the numerator variance, . .
df2
[input] degrees of freedom of the denominator variance, . .
lambda
[input] non-centrality parameter
nFail
[output] on successful exit, it returns the NAG error code NE_NOERROR; if an error or warning has been detected, then it returns the specific error or warning code.

Return

Returns Non-central F-distribution cumulative distribution function

Examples

EX1

void ncfcdf_ex1()
{
	double x[]= {0.25, 0.5, 0.75};
	double df1 = 3, df2 = 2, lamda = 10;
	for(int ii = 0; ii<3; ii++)
		printf("%f	%f	%f	%f:	%f\n", x[ii], df1, df2, lamda, ncfcdf(x[ii], df1, df2, lamda));
}

Remark

See Also

nctcdf

Header to Include

origin.h

Reference