Click or drag to resize

UniformDiscretePmf Method (Int32, Int32, Int32)

Static probability mass function. http://en.wikipedia.org/wiki/Probability_mass_function

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static double Pmf(
	int x,
	int leftBound,
	int rightBound
)

Parameters

x
Type: SystemInt32
Value of random variable.
leftBound
Type: SystemInt32
Inclusive lower bound.
rightBound
Type: SystemInt32
Inclusive upper bound.

Return Value

Type: Double
Probability that random variable occur this value.
See Also