Sampling an exponential from a uniform
Given a uniform variable , which transformation produces an sample?
Show hints (2)+
- Invert the CDF F(x) = 1 − e^(−λx).
- −ln U is exponential with rate 1.
Answer
Reveal answer →Final answer
Want the full step-by-step worked solution? It's part of Premium — along with a worked solution for every question in the bank.
Asked at: Jane Street, Two Sigma