1. (15 points) Write an algorithm that will generate a random variable X with density f(x) = {x?e^*, x > 0 using rejecti
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. (15 points) Write an algorithm that will generate a random variable X with density f(x) = {x?e^*, x > 0 using rejecti
1. (15 points) Write an algorithm that will generate a random variable X with density f(x) = {x?e^*, x > 0 using rejection technique. Hint: Find c that maximizes f(x)/g(x) and use Y - Exponential(1/3).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!