Let's say we have a pseudo-random number U = 0.128. I want to use this U to generate an Exponential (λ = 1/3) random variate. How do I do this?
The CDF for the exponential distribution here is obtained as first:
Now using the random number, 0.128, the variate of the exponential distribution here is computed as:
Therefore 0.4109 is the required random variate here.
Get Answers For Free
Most questions answered within 1 hours.