Question: Generate 10000 standard normal random variates by Acceptance-Rejection method. (Hint: half-normal distribution). Use two different majorizing functions and count the number of wasted random variables
Generate 10000 standard normal random variates by Acceptance-Rejection method. (Hint: half-normal distribution). Use two different majorizing functions and count the number of wasted random variables for each. Show that the generated random variates in standard normal visually. (Histogram)
You can use any software. However, for acceptance-rejection practice, ready-to-use functions or methods are not allowed. Use your own functions and methods.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
