Quiz Space

Statistical Computing · Quiz 1 · 25 Feb 2024 · January 2024 term

Question 12: Given code snippet generates a random variable X. Find t…

Question 12

+4 marksOne correct option

Study the below code carefully and answer the given subquestions

Given code snippet generates a random variable X. Find the probability mass function f(x) of X.

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

Correct answer

  • C

Question 12 of 12 in the IIT Madras BS Statistical Computing (Statistical Computing) Quiz 1 paper sat on 25 Feb 2024, in the January 2024 term (IIT M DEGREE AN2 EXAM QDB2 25 Feb 2024). It carries 4 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Figure question
  3. Q3Which among the following method can be used to sample from the Beta(2, 0.5) distribution?
  4. Q4Figure question
  5. Q5Which among the following will act as the best proposal distribution for sampling from X?
  6. Q6Use the following information and answer the given subquestions.
  7. Q7Construct X with distribution F from U using the inverse transform method.
  8. Q8Suppose using the pseudo random generator, we obtain a realization u = 0.2573 of U and we simulate the random variable …
  9. Q9Which among the following are true?
  10. Q10Find the probability of acceptance for the accept-reject. Enter the answer correct to two decimal places.
  11. Q11Which of the following are true about the given code snippet?