2.1.24.5.1.17 ocmath_nctcdf


Description

Noncentral T cumulative distribution function

Syntax

double ocmath_nctcdf( double x, double nu, double delta, bool upper = false )

Parameters

x
[intput] deviate from the Student's t-distribution
nu
[input] degrees of freedom of the Student's t-distribution
delta
[input] non-centrality parameter of the Student's t-distribution.
upper
[input] if true it returns the upper tail probability of the noncentral T distribution

Return

Returns the noncentral T cdf if upper = false, or the upper tail probability of the noncentral T distribution if upper = true

Examples

Ex1

void test_ocmath_nctcdf() 
{
	double t1 = ocmath_nctcdf(40.1546, 71.7408, 34.35);
	printf("t1 = %f\n", t1);
}

Remark

See Also

ocmath_nctpdf, ocmath_nctinv, ocmath_nct_noncentrality

Header to Include

origin.h

Reference