uiz Space

May 2023 term · Statistical Computing · BSMA3014

Statistical Computing Quiz 1: 16 July 2023 (May 2023 term)

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.

Questions
12
Marks
35
Duration
120 min
MSQ
2
MCQ
7
Numerical
3

Updated

Official paper: IIT M DEGREE AN2 EXAM QPE2 16 JULY 2023 · No negative marking.

Question 1

+3 marksOne or more correct options

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:

Select all that apply.

  1. A

    Normal(0, 4)

  2. B

    Uniform(0, 1/2)

  3. C

    Bernoulli{0, 1}

  4. D

    F(2, 2)

  5. E

    Beta(0.5, 0.5)

Show answer

Correct answers

  • A

    Normal(0, 4)

  • D

    F(2, 2)

  • E

    Beta(0.5, 0.5)

Question 2

+3 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • B
  • C

Question 3

+2 marksOne correct option
  1. A

    The method need not produce samples from F.

  2. B

    On average, the method will generate the samples fast.

  3. C

    On average, the method will generate the samples low.

  4. D

    There will not be any effect on the sample generation.

Show answer

Correct answer

  • A

    The method need not produce samples from F.

Question 4

+2 marksOne correct option

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?

  1. A

    Yes

  2. B

    No

  3. C

    Insufficient information

Show answer

Correct answer

  • C

    Insufficient information

Question 5

+2 marksOne correct option
  1. A

    Box-Muller

  2. B

    Accept reject with exponential(1) proposal

  3. C

    Inverse transform

  4. D

    All of these

Show answer

Correct answer

  • A

    Box-Muller

Question 6

+3 marksNumerical answer

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?

Show answer

Correct answer: 2

Question 7

+3 marksNumerical answer

Use the following information and answer the given subquestions.

Show answer

Correct answer: 0.10

Question 8

+2 marksOne correct option

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?

  1. A

    Yes, because it will increase the efficiency.

  2. B

    No, because it will reduce the efficiency.

  3. C

    Insufficient information to determine.

Show answer

Correct answer

  • B

    No, because it will reduce the efficiency.

Question 9

+4 marksOne correct option

Use the following information and answer the given subquestions.

Select the correct statements from the following:

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • C

Question 10

+3 marksNumerical 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

Show answer

Correct answer: 0.314 (accepted within ±0.004)

Question 11

+4 marksOne correct option

Use the following information and answer the given subquestions.

Complete the function (1), in the given code snippet.

  1. A
  2. B
  3. C
  4. D
  5. E
Show answer

Correct answer

  • B

Question 12

+4 marksOne correct option

Use the following information and answer the given subquestions.

Which of the following is/are true about the given code snippet?

  1. A

    Both Inverse Transform and Accept-Reject algorithms are implemented.

  2. B

    Only one of Inverse Transform and Accept-Reject algorithms are implemented.

  3. C

    The given implemented Accept-Reject is correct as the support of function g is the same as that of function f.

  4. D

    The given implemented Accept-Reject is incorrect for the given function f and g.

  5. E

    The given implemented Inverse Transform algorithm is correct as the cumulative distribution function of f is invertible.

Show answer

Correct answer

  • A

    Both Inverse Transform and Accept-Reject algorithms are implemented.