Question: 13. The Discrete Rejection Method: Suppose we want to simulate X having probability mass functionI mage and suppose we can easily simulate from the probability
13. The Discrete Rejection Method: Suppose we want to simulate X having probability mass functionI mage and suppose we can easily simulate from the probability mass functionI mage. Let C be such that . Show that the following algorithm generates the desired random variable:
Step 1: Generate Y having mass function Q and U an independent random number.
Step 2: If , set . Otherwise return to step 1.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
