【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.24.5.1.22 prob
Contents
Description
Probability in a specific range (-z,z) for normal distribution.
Syntax
double prob( double dz )
Parameters
- dz
- [input] Range of z values (-z to +z) for which the area(probability) under the normal curve is returned (dz can be any Real number).
Return
Area(Probability) under the normal curve between -z and +z.
Examples
EX1
void prob_ex1() { double dA,dz=1; dA=prob(dz); // results in dA==0.6826895 }
Remark
This is not a real CDF, However, it can calculate probability under a specific range
See Also
Header to Include
origin.h