Question: Show that the discrete inverse transform algorithm for generating a geometric random variable with parameter p reduces to the following: 1. Generate a random number

Show that the discrete inverse transform algorithm for generating a geometric random variable with parameter p reduces to the following:

1. Generate a random number U 2. Set X = Int(

log(1−U)

log(1−p) ) + 1 Give a second algorithm for generating a geometric random variable with parameter p that takes into account the probabilistic interpretation of such a random variable.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Statistics For Engineers And Scientists Questions!