How can we simulate an exponential random variable with $\lambda = 2$, if we already have a generator of exponential distribution with $\lambda = 1$?
2026-03-25 13:51:53.1774446713
How can we simulate an exponential random variable with $\lambda = 2\,$?
140 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Notice that
$$\mathbb P(X\leqslant x) = 1 - e^{-\lambda x}.$$
Hence,
$$\mathbb P(cX\leqslant x) = \mathbb P(X\leqslant x/c) = 1 - e^{-\lambda x/c}$$
In order to simulate $1-e^{-2x}$, you need $\lambda/c = 2$. Since $\lambda = 1$, you need $c=1/2$.