Custom Random Variable

There is a custom distribution type defined in Mimi for this case called an EmpiricalDistribution with the following constructor:

Mimi.EmpiricalDistribution(values, probabilities)