Values
An array of possible values, where the corresponding probabilities are given as the Probabilities parameter. This array must have the same size as the Probabilities parameter.
Probabilities
The probabilities associated with the corresponding elements of the Values array (ranging from 0 to 1, inclusive). This array must have the same size as the Values parameter. The sum of all elements of this array must be 1.
Start
The start value of the interval whose probabilities are summed. If omitted, it is assumed to be 0.
End
The end value of the interval whose probabilities are summed. If omitted, it is assumed to be equal to the Start parameter.
Returns
The probability that a sample value is inside a given interval.
Returns the probability that a value is inside a given interval. It does this by finding all values which are inside the given interval and returning the sum of their probabilities.