2.1.24.5.3.9 srangeinv


Description

Inverse Studentized range cumulative distribution function

Syntax

double srangeinv( const double dP, double v0, int ir, int * nFail = NULL )

Parameters

dP
[input] the probability from the required beta distribution
v0
[input] the number of degrees of freedom, must be positive (df1>0 ).
ir
[input] the number of groups
nFail
[output] fail code

Return

Returns the value for inverse Studentized range cumulative distribution function

Examples

Ex1

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

Remark

See Also

Header to Include

origin.h

Reference