Generating Discrete Random Variates
In general, for R~U(?,1), if , then X = xk.
If R is in the range then X is
x1
x2
: :
xk
: :
xm
Previous slide
Next slide
Back to first slide
View graphic version