Stats distributions normalpdf - CyrilB1531/lodestar GitHub Wiki
Development build. This page describes
main, not a released package. The latest published Lodestar.Stats is 0.5.0 ā read its documentation.
Home āŗ Stats āŗ Distribution tails
Distributions.NormalPdf
The standard normal density.
public static double NormalPdf(double z)
Parameters ā z is the point. NaN answers NaN.
Returns ā scipy.stats.norm.pdf(z).
Exceptions ā None.
Example ā the density at one standard deviation.
using Lodestar.Stats;
double atOne = Distributions.NormalPdf(1.0); // => 0.241970ā¦
Remarks ā exp(āz²/2) / ā(2Ļ), which underflows to zero past |z| ā 38.6, where scipy's does too.
Applies to ā net10.0, netstandard2.0.
See also ā Distributions.NormalCdf, Distributions.NormalSf.