2.1.24.5.3.7 invprob


Description

Calcualte a range (-z,z), whose probability is dA in normal distribution

Syntax

double invprob( double dA )

Parameters

dA
[input] Area(probability) under the normal curve between -z and +z where 0<dA<1.

Return

Returns z value such that the area under the normal curve between -z and +z is dA.

Examples

EX1

void invprob_ex1()
{
    double dz,dA=0.6826895;
    dz=invprob(dA); // results in dz==1
}

Remark

See Also

norminv, prob

Header to Include

origin.h

Reference