Example: The same example used for the User distribution
is shown at the left. There are two separate arrays, one for
probabilities and one for values. They are linked by an
index.
The indexed random variable is particularly useful
when a problem involves several random variables with a similar
number of possibilities but different values. |