Question

Problem 5. Let X be a binomial random variable with parameters n and p. Suppose that we want to generate a random variable Y whose probability mass function is the same as the conditional mass function of X given X-k, for some k-n. Let a = P(X-k), and suppose that the value of a has been computed (a) Give the inverse transform method for generating Y. (b) Give a second method for generating Y (c) For what values of a, small or large, would the algorithm in (b) be inefficient?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let Xbe a binomial random variable with parameters n and p. Suppose that we want to generate a random variable Ywhoseprobabil

n-l p From the recursiveidentity: P(Y-1FP(Y-i) With idenoting the value currently under consideration, pr- P(r-i)the probabilfor allj such thatp >0 ; Letc Ij Algorithm: Step-1: Simulate the value of Z. Step-2: Generate a random number U Step-3 : If (

Add a comment
Know the answer?
Add Answer to:
Problem 5. Let X be a binomial random variable with parameters n and p. Suppose that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT