Question 12
Use the following information and answer the given subquestions.
Which of the following is/are true about the given code snippet?
Both Inverse Transform and Accept-Reject algorithms are implemented.
Only one of Inverse Transform and Accept-Reject algorithms are implemented.
The given implemented Accept-Reject is correct as the support of function g is the same as that of function f.
The given implemented Accept-Reject is incorrect for the given function f and g.
The given implemented Inverse Transform algorithm is correct as the cumulative distribution function of f is invertible.