Click or drag to resize
Accord.NET (logo)

NormalDistributionInnerProbabilityDensityFunction Method

Gets the probability density function (pdf) for the Normal distribution evaluated at point x.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
protected internal override double InnerProbabilityDensityFunction(
	double x
)
Request Example View Source

Parameters

x
Type: SystemDouble
A single point in the distribution range. For a univariate distribution, this should be a single double value. For a multivariate distribution, this should be a double array.

Return Value

Type: Double
The probability of x occurring in the current distribution.
Remarks

The Probability Density Function (PDF) describes the probability that a given value x will occur.

The Normal distribution's PDF is defined as PDF(x) = c * exp((x - μ / σ)²/2).

Examples
See Also