2.1.24.5.1.20 srangecdf


Description

Studentized range cdf

Syntax

double srangecdf( const double dQ, double v0, int ir, int * nFail = NULL )

Parameters

dQ
[input] Studentized range statistic, . .
v0
[input] number of degrees of freedom for the experimental error. . .
ir
[input] number of groups, . .
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 the value for Studentized range cumulative distribution function

Examples

Ex1

void srangecdf_ex1()
{
	double dQ[]= {0.25, 0.5, 0.75};
	double a = 3, b = 3;
	for(int ii = 0; ii<3; ii++)
		printf("%f	%f	%f:	%f\n", dQ[ii], a, b, srangecdf(dQ[ii],a ,b));
}

Remark

See Also

Header to Include

origin.h

Reference