LAISHA
Open Laisha

CSIR-UGC NET Bayesian Inference: practice questions

CSIR-UGC NET - Mathematical Sciences (statistics option) · India · National Testing Agency for CSIR

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

What this subject covers

Inference through prior and posterior: conjugate analysis, prior choice, credible intervals, Bayes factors and decision theory, hierarchical models, and computation by Markov-chain Monte Carlo, with agricultural uses in variety trials, genomic prediction and small-area estimation.

In the exams: Not an explicit unit in AICE-JRF Ag Stat; PhD course in most programmes; GATE ST Bayes' theorem (light); UPSC ISS decision theory (present)

Where the 63 questions fall

How our questions for CSIR-UGC NET spread across the units of Bayesian Inference. Difficulty: 7 easy, 29 medium, 27 hard.

Non-informative and weakly informative priors7
Markov chain Monte Carlo: Gibbs sampling and Metropolis-Hastings7
Posterior predictive checks and model comparison (DIC, WAIC)7
Conjugate families6
Bayesian hypothesis testing and Bayes factors6
Convergence diagnostics6
Empirical Bayes6
Bayes' theorem for parameters: prior, likelihood and posterior5
Decision theory: loss functions and Bayes risk5
Hierarchical (multilevel) models5
Posterior summaries and credible intervals3

10 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 · Conjugate families · medium

Counts are Poisson(λ) with a gamma prior on λ. What is the posterior predictive distribution of a new count?

  1. Poisson with the posterior mean
  2. Negative binomial
  3. Beta-binomial
  4. Gamma
Answer and working

B. Negative binomial

Mixing a Poisson over a gamma distribution for its mean gives a negative binomial; the extra variance reflects uncertainty about λ. Beta-binomial is the predictive for binomial data with a beta prior.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

2 · Non-informative and weakly informative priors · hard

No infected plants are found among 10 tested. With Jeffreys' beta(1/2, 1/2) prior, what is the posterior mean infection rate?

  1. 0.0455
  2. 0.0500
  3. 0.0833
  4. 0.0000
Answer and working

A. 0.0455

The posterior is beta(0.5, 10.5), mean 0.5/11 = 0.0455. The MLE is 0; a uniform prior gives beta(1, 11), mean 1/12.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

3 · Bayesian hypothesis testing and Bayes factors · hard

What is Lindley's paradox?

  1. Improper priors give Bayes factors equal to 1 for every data set
  2. The posterior probability of H₀ can exceed 1 under diffuse priors
  3. With small n, the Bayes factor always agrees with the p-value
  4. With large n, a result significant at p = 0.01 can give a Bayes factor favouring the point null
Answer and working

D. With large n, a result significant at p = 0.01 can give a Bayes factor favouring the point null

For fixed p and growing n, the data concentrate near θ₀ relative to a diffuse alternative prior, so B₀₁ grows; frequentist and Bayesian conclusions can conflict. Posterior probabilities never exceed 1.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

4 · Markov chain Monte Carlo: Gibbs sampling and Metropolis-Hastings · medium

For random-walk Metropolis in high dimensions, what acceptance rate does theory suggest is efficient?

  1. About 0.234
  2. Exactly 0.5
  3. About 0.95
  4. About 0.01
Answer and working

A. About 0.234

Roberts, Gelman and Gilks (1997) derived 0.234 as optimal in high dimensions; for one-dimensional updates about 0.44 is suggested. Very high rates mean steps too small; very low, steps too large.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

5 · Convergence diagnostics · easy

What does the Gelman-Rubin R̂ compare?

  1. Between-chain and within-chain variance
  2. Autocorrelation at lags 1 and 2
  3. Prior and posterior variance
  4. Early and late halves of one chain's mean
Answer and working

A. Between-chain and within-chain variance

R̂ near 1 means the chains, started from dispersed values, agree. Comparing early and late segments of one chain is Geweke's diagnostic.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

6 · Convergence diagnostics · medium

Why are several chains started from dispersed values instead of one long chain?

  1. A single chain cannot have a stationary distribution
  2. Disagreement between chains exposes problems
  3. Dispersed starts remove the need for burn-in
  4. Several chains always converge faster than one
Answer and working

B. Disagreement between chains exposes problems

If chains from different regions have not mixed, their summaries differ, which R̂ and trace plots expose; one chain stuck in one mode can look perfectly stable.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

7 · Convergence diagnostics · medium

An HMC sampler reports many divergent transitions. What should be done?

  1. Increase the burn-in and keep the model unchanged
  2. Investigate and reparameterise, since parts of the posterior are not explored reliably
  3. Thin the chain to remove the divergent draws
  4. Ignore them if R̂ is below 1.1
Answer and working

B. Investigate and reparameterise, since parts of the posterior are not explored reliably

Divergences indicate regions of high curvature where the sampler fails, which biases estimates; reparameterisation or a smaller step size is needed. R̂ may still look fine.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

8 · Posterior predictive checks and model comparison (DIC, WAIC) · medium

A model has log pointwise predictive density lppd = −120 and p_WAIC = 6. What is WAIC on the deviance scale?

  1. 252
  2. 240
  3. 126
  4. 228
Answer and working

A. 252

WAIC = −2(lppd − p_WAIC) = −2(−126) = 252. Omitting the penalty gives 240; adding it with the wrong sign gives 228.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

9 · Posterior predictive checks and model comparison (DIC, WAIC) · hard

In what situation can DIC be unreliable, even giving a negative effective number of parameters p_D?

  1. When the posterior is strongly non-normal or multimodal, as in mixtures
  2. When the posterior mean equals the posterior mode
  3. When the prior is conjugate
  4. When the model has only one parameter
Answer and working

A. When the posterior is strongly non-normal or multimodal, as in mixtures

p_D = D̄ − D(θ̄) depends on the deviance at the posterior mean, which can be a poor point for skewed or multimodal posteriors; WAIC and PSIS-LOO avoid this.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

10 · Empirical Bayes · medium

Among many fields, 40 had exactly one pest colony and 20 had exactly two. Using Robbins' estimator E(θ | x) = (x + 1)f(x + 1)/f(x), what is the empirical Bayes estimate of the colony rate for a field with one colony?

  1. 0.5
  2. 2.0
  3. 1.0
  4. 1.5
Answer and working

C. 1.0

(1 + 1) × 20/40 = 1.0, using observed frequencies in place of the marginal probabilities. No prior form is assumed.

Further reading: Gelman et al., Bayesian Data Analysis; Berger, Statistical Decision Theory and Bayesian Analysis; Robert, The Bayesian Choice

Ten here, 63 in the app. The Laisha app has every practice question we have written to CSIR-UGC NET 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

Bayesian InferenceThe full study manual, free CSIR-UGC NETFormat, sections and how it has changed

More CSIR-UGC NET practice

Categorical Data Analysis & Generalized Linear ModelsProbability TheoryMultivariate AnalysisStochastic ProcessesNonparametric & Rank-Based MethodsStatistical Inference I: EstimationBioassay, Survival & Epidemiological StatisticsProbability Distributions & Sampling DistributionsOptimization Techniques for StatisticiansStatistical Inference II: Testing of Hypotheses & Sequential Analysis

Bayesian Inference for other exams

GATE · IndiaIIT JAM · IndiaICAR AICE-JRF/SRF · IndiaCUET-PG · IndiaIndian Statistical Institute admission tests · IndiaASRB NET · IndiaASRB Agricultural Research Service · India

Ask Laisha about this

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