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.