Let v be uniform on (0,1) and let X= − ln (1 − v) / λ, then fx(x) = λ e−λx
Please do simulation for v using any software and show that X follows an exponential distribution. Please provide a visualization of the resultant exponential curve, submit the code as well.
Note: Try different sample size until you finally have an exponential curve.
Get Answers For Free
Most questions answered within 1 hours.