Click or drag to resize

NegativeBinomialDistributionPDF Method

Returns the probability distribution function evaluated at the given value.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override double PDF(
	double x
)

Parameters

x  Double
The number of trials

Return Value

Double
The probability of obtaining this.N successes in x trials, where this.P is the probability of success on each trial.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the number of trials is set to a negative value.
Remarks
Returns zero for x < N. It's impossible to have more successes than trials.
See Also