Question

Suppose that you need to generate a random variable Y with a density function f (y)...

Suppose that you need to generate a random variable Y with a density function f (y) corresponding to a beta distribution with range [0,1], and with a non-integer shape parameter for the beta distribution. For this case there is no closed-form cdf or inverse cdf. Suppose your choices for generating Y are either:

a) an acceptance-rejection strategy with a constant majorizing function g(u) = V over [0, 1], i.e., generate u1 and u2 IID from a U[0,1] generator and accept y = u1 if Vu2<f (u1).

Or,

b) use a numerical approximation to the inverse cdc of Y, say G, generate u from U[0,1] generator, and let y = G(u).

Discuss the advantages and disadvantages of each approach.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Suppose that you need to generate a random variable Y with a density function f (y)...
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