CO SX54 5. (15 pts) A random variable X has the distribution function as: f(x) = 0, otherwise, an acceptance-rejection m
Posted: Mon Nov 15, 2021 12:22 pm
CO SX54 5. (15 pts) A random variable X has the distribution function as: f(x) = 0, otherwise, an acceptance-rejection method is used to generate input values for this random variable X. The procedure is described as below: Acceptance-rejection procedure to generate a value for random variable X: (1) Generate a random number R, RU[0.1). (2a.) Acceptance condition. (2b.) If the "acceptance condition" in 2a. is not satisfied, go back to step (1). Please construct an appropriate acceptance condition for (2a.) in the procedure.