Evaluates the probability function of the distribution.
Namespace: Extreme.Statistics.DistributionsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public override double Probability(
int n
)
Public Overrides Function Probability (
n As Integer
) As Double
public:
virtual double Probability(
int n
) override
abstract Probability :
n : int -> float
override Probability :
n : int -> float
Parameters
- n
- Type: SystemInt32
An integer.
Return Value
Type:
DoubleThe probability of obtaining a sample with
value
n.
The probability function of a distribution shows the
probabilities associated with the possible outcomes
of a trial.
For a binomial distribution, the probability density function is non-zero only
for n between 0 and NumberOfTrials.
Numerical Libraries
Supported in: 6.0, 5.x, 4.x
Reference