PMFIfc
Represents the probability mass function for 1-d discrete distributions
Author
rossetti
Inheritors
Functions
Link copied to clipboard
If x is not an integer value, then the probability must be zero otherwise pmf(int x) is used to determine the probability
Returns the f(i) where f represents the probability mass function for the distribution.
Computes the probabilities associated with the range and returns the value and the probability as a map with the integer value as the key and the probability as the related value.