LAISHA
Open Laisha

GATE Statistical Computing: Simulation, Resampling & Algorithms: practice questions

GATE - Data Science and Artificial Intelligence (DA) · India · IITs and IISc on rotation (2026: IIT Guwahati)

Original practice questions written to the published syllabus · not past papers
6worked here, free
20written to this exam in this subject
11syllabus units

What this subject covers

The algorithms inside modern statistics: random-number generation, Monte Carlo integration, the bootstrap and jackknife, permutation tests, the EM algorithm, MCMC and numerical linear algebra, with attention to accuracy and reproducibility.

In the exams: AICE-JRF Computer Application Unit 10 (present); GATE DA (present); PhD course in most programmes; light in national exams

Where the 20 questions fall

How our questions for GATE spread across the units of Statistical Computing: Simulation, Resampling & Algorithms. Difficulty: 10 easy, 10 medium, 0 hard.

Pseudo-random number generation and tests of randomness3
Generating random variates: inversion, acceptance-rejection and transformation methods2
Monte Carlo integration and variance reduction2
Bootstrap: percentile and BCa intervals2
Jackknife2
Permutation and randomisation tests2
MCMC algorithms in practice2
Parallel and high-performance computing for statistics2
EM algorithm and its applications (missing data, mixtures)1
Numerical linear algebra for statistics: QR and Cholesky1
Simulation studies: design and reporting1

6 practice questions, worked

Choose an answer, then open the working. Each explanation says why the right answer is right and why the others are not.

1 · Pseudo-random number generation and tests of randomness · easy

For the generator xₙ₊₁ = (5xₙ + 3) mod 16 with x₀ = 7, what is x₁?

  1. 38
  2. 6
  3. 2
  4. 7
Answer and working

B. 6

5 × 7 + 3 = 38, and 38 mod 16 = 6; 38 forgets the modulus.

Further reading: Robert and Casella, Monte Carlo Statistical Methods (2004); Rizzo, Statistical Computing with R (2019); Efron and Tibshirani, An Introduction to the Bootstrap (1993); Givens and Hoeting, Computational Statistics (2013)

2 · Generating random variates: inversion, acceptance-rejection and transformation methods · medium

The inversion method generates X from distribution F as:

  1. F⁻¹(U), with U uniform on (0, 1)
  2. F(U), with U uniform on (0, 1)
  3. U/F(U)
  4. 1 − F(U)²
Answer and working

A. F⁻¹(U), with U uniform on (0, 1)

The probability integral transform runs in reverse.

Further reading: Robert and Casella, Monte Carlo Statistical Methods (2004); Rizzo, Statistical Computing with R (2019); Efron and Tibshirani, An Introduction to the Bootstrap (1993); Givens and Hoeting, Computational Statistics (2013)

3 · Generating random variates: inversion, acceptance-rejection and transformation methods · easy

To generate a Bernoulli(p) variable from U uniform on (0, 1), return 1 if:

  1. U > p²
  2. U = p
  3. U < p
  4. U < 1 − p²
Answer and working

C. U < p

P(U < p) = p for a uniform U, so the result is 1 with probability p.

Further reading: Robert and Casella, Monte Carlo Statistical Methods (2004); Rizzo, Statistical Computing with R (2019); Efron and Tibshirani, An Introduction to the Bootstrap (1993); Givens and Hoeting, Computational Statistics (2013)

4 · Bootstrap: percentile and BCa intervals · medium

A 95% percentile bootstrap interval uses:

  1. θ̂ ± 1.96 times the data SD
  2. The minimum and maximum of θ̂*
  3. The 5th and 95th percentiles
  4. The 2.5th and 97.5th percentiles of θ̂*
Answer and working

D. The 2.5th and 97.5th percentiles of θ̂*

The normal-theory interval would use the bootstrap SE instead.

Further reading: Robert and Casella, Monte Carlo Statistical Methods (2004); Rizzo, Statistical Computing with R (2019); Efron and Tibshirani, An Introduction to the Bootstrap (1993); Givens and Hoeting, Computational Statistics (2013)

5 · Permutation and randomisation tests · easy

How many distinct ways are there to assign 10 observations into two groups of 5?

  1. 100
  2. 3,628,800
  3. 32
  4. 252
Answer and working

D. 252

C(10, 5) = 252; 3,628,800 is 10!.

Further reading: Robert and Casella, Monte Carlo Statistical Methods (2004); Rizzo, Statistical Computing with R (2019); Efron and Tibshirani, An Introduction to the Bootstrap (1993); Givens and Hoeting, Computational Statistics (2013)

6 · Parallel and high-performance computing for statistics · easy

Bootstrap resamples and simulation replicates are called 'embarrassingly parallel' because they:

  1. Tasks are independent
  2. They cannot be parallelised on any hardware
  3. Must run in strict sequence
  4. Need one shared random number
Answer and working

A. Tasks are independent

Each worker can run its own share.

Further reading: Robert and Casella, Monte Carlo Statistical Methods (2004); Rizzo, Statistical Computing with R (2019); Efron and Tibshirani, An Introduction to the Bootstrap (1993); Givens and Hoeting, Computational Statistics (2013)

Ten here, 20 in the app. The Laisha app has every practice question we have written to GATE in this subject, marked as you go, with timed papers, a jump-to-unanswered list and a certificate when you pass at 70 per cent.

Free for ten days, then one subscription of US$10 a month. We would rather say so here than have you find it later.

Practise the full set in Laisha →

Read the subject

Statistical Computing: Simulation, Resampling & AlgorithmsThe full study manual, free GATEFormat, sections and how it has changed

More GATE practice

Statistical & Machine Learning for AgricultureExploratory Data Analysis & Statistical GraphicsDatabases, Big Data & Agricultural Information Systems

Statistical Computing: Simulation, Resampling & Algorithms for other exams

ICAR AICE-JRF/SRF · IndiaICAR-IASRI MSc and PhD · India

Ask Laisha about this

Opens Laisha's chat with your question ready to send. Sign in or start free.