[Math] Generate random numbers using inversion method

probability

Assume you have an uniformly distributed r.v. $U(0,1)$. Use the inversion method to generate random numbers from an exponential distribution with parameter $\lambda$.

I have no idea where to start, can someone please explain the inversion method and help me solve the problem?

Best Answer

You 'invert' the cumulative probability of the uniform distribution to the exponential distribution by mapping $p$ in $U(0,1)$ to the $x$ that has the same cumulative distribution.

I found a nice document that explains it in more detail: http://www.columbia.edu/~ks20/4404-Sigman/4404-Notes-ITM.pdf

Example 1.1.1 is what you are looking for.

Related Question