Question: 3 . Consider the problem of generating sample from a Beta distribution Be ( alpha , beta ) . ( a ) One

3. Consider the problem of generating sample from a Beta distribution Be(\alpha ,\beta ).
(a) One result is, if two Gamma random variables are X1 Ga(\alpha ,1) and X2
Ga(\beta ,1), then
X = X1 Be(\alpha ,\beta ). X1+ X2
Use this result to construct an algorithm to generate a Beta random sample. Provide a density histogram to emulate the performance.
(b) Compare the algorithm in (a) with the rejection method based on (i) the uniform distribution; (ii) the truncated normal distribution.

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 Mathematics Questions!