Question 1
Consider an Accept-Reject method to draw samples from Beta(3, 4) distribution. Which among the following can act as a proposal distribution? Select all that apply:
Normal(0, 4)
Uniform(0, 1/2)
Bernoulli{0, 1}
F(2, 2)
Beta(0.5, 0.5)

The IIT Madras BS Statistical Computing (Statistical Computing) Quiz 1 paper sat on 16 Jul 2023, in the May 2023 term: 12 questions for 35 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
Consider an Accept-Reject method to draw samples from Beta(3, 4) distribution. Which among the following can act as a proposal distribution? Select all that apply:
Normal(0, 4)
Uniform(0, 1/2)
Bernoulli{0, 1}
F(2, 2)
Beta(0.5, 0.5)
Correct answers
Normal(0, 4)
F(2, 2)
Beta(0.5, 0.5)
Correct answers
The method need not produce samples from F.
On average, the method will generate the samples fast.
On average, the method will generate the samples low.
There will not be any effect on the sample generation.
Correct answer
The method need not produce samples from F.
The mixed congruential method is used to generate pseudorandom draw of size 1000 from U(0, 1). The histogram for the 1000 generated pseudorandom numbers is as follows:
By visualizing the plotted histogram, do the pseudorandom draws appear to be i.i.d U(0, 1) distributed?
Yes
No
Insufficient information
Correct answer
Insufficient information
Box-Muller
Accept reject with exponential(1) proposal
Inverse transform
All of these
Correct answer
Box-Muller
To generate pseudorandom draws using the multiplicative congruential method, we have set seed = 5, a = 7 and m = 4. After how many steps, will the deterministic sequence follows?
Correct answer: 2
Use the following information and answer the given subquestions.
Correct answer: 0.10
Use the following information and answer the given subquestions.
An analyst advised to change the proposal distribution to Beta(2, 1). Shall we act upon his/her advice?
Yes, because it will increase the efficiency.
No, because it will reduce the efficiency.
Insufficient information to determine.
Correct answer
No, because it will reduce the efficiency.
Use the following information and answer the given subquestions.
Select the correct statements from the following:
Correct answer
Use the following information and answer the given subquestions.
Find the probability of acceptance for the accept-reject if α = 3. Enter the answer correct to three decimal places.
Note: e = 2.723
Correct answer: 0.314 (accepted within ±0.004)
Use the following information and answer the given subquestions.
Complete the function (1), in the given code snippet.
Correct answer
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.
Correct answer
Both Inverse Transform and Accept-Reject algorithms are implemented.