Conjugate Priors - Statistics Graduate Level
- A binomial success probability has mixture prior . Two trials are observed, and both are failures. Which expression is the posterior distribution of ? Answer: When you see a mixture prior combined with binomial data, your key tool is Bayes' theorem applied component-wise: each Beta component updates independently via conjugacy, but the mixing weights must also be updated to reflect how likely each component made the observed data. With prior and data of 2 failures (0 successes), each Beta component updates to Beta, giving Beta and Beta respectively. So far every answer using those updated kernels is on the right track — the real differentiator is the updated weights. The new weight for component is proportional to the old weight times the marginal likelihood of the data under that component: . For a Beta prior with trials and successes, the marginal likelihood is . Computing: component 1 gives , component 2 gives . Weighting equally: unnormalized weights are and . The total is , yielding posterior weights and . This confirms C. Choice A reverses the weights — a classic trap of forgetting that the uniform Beta component assigns higher probability to low- outcomes (like two failures) than the Beta component does, so it should receive the larger posterior weight. Choice B keeps the original equal weights, ignoring the data's role in reweighting altogether. Choice D uses the correct weights but fails to properly update the Beta parameters (adding only 1 to instead of 2). Study tip: In mixture-prior problems, always update both the kernel parameters (via conjugacy) and the mixing weights (via marginal likelihoods). Forgetting either step produces a plausible-looking but wrong answer.
- Consider the normal linear model . The prior is , where and . Suppose and . Which posterior mean vector and covariance matrix pair is correct? Answer: When you encounter Bayesian linear regression questions, your first move should be to write down the posterior update formulas. For the model with prior , the posterior covariance and mean are: Here . First compute and . Adding these gives . Inverting (determinant ) yields . Next, compute and . Their sum is . Then , confirming answer C is correct. Answer A has the right covariance but uses for the mean — this comes from incorrectly omitting the prior mean contribution . Answer B flips the covariance matrix (swapping the (1,1) and (2,2) entries), meaning was inverted incorrectly. Answer D appears to use instead of , a classic trap when the variance isn't 1. Always read carefully — forgetting to divide and by is the single most common computational error in these problems.
- A Bernoulli success probability has prior distribution . After observing successes in trials, two additional conditionally independent Bernoulli trials will be conducted. What is the posterior predictive probability that exactly one of the two additional trials is a success? Answer: When you see a Bayesian prediction problem, your goal is to update the prior with observed data, then integrate over uncertainty in the parameter to get the predictive distribution. Your prior is . After observing 7 successes in 10 trials, the posterior is , with posterior mean . Now you need . With two conditionally independent trials given , this equals . You take the posterior expectation: For with : and . So: This confirms A is correct. Choice B, , comes from mistakenly using , treating the posterior mean as if were known — ignoring posterior variance. Choice C, , is just the posterior mean of itself, not the predictive probability for one-of-two. Choice D, , likely stems from an incorrect posterior, such as , miscounting the prior failures. Study tip: Never plug in the posterior mean as a point estimate for predictive calculations — you must account for , where posterior variance creates a meaningful correction.
- Counts from three unit-exposure periods are conditionally independent variables. The prior is under the shape-rate parameterization, and the observed counts have sum . Let be the total count over two future unit-exposure periods. Which pair gives the posterior predictive mean and variance of ? Answer: Bayesian updating with conjugate priors is the core concept here. When you observe Poisson data with a Gamma prior, the posterior is also Gamma — and predicting future Poisson counts requires layering the posterior uncertainty over the sampling uncertainty. Posterior first. With prior (shape , rate ) and observations summing to , the conjugate update gives . The posterior mean is and variance is . **Predictive distribution for .** For future unit-exposure periods, . Use the law of total expectation and total variance: This confirms B. Why the distractors fail: A gives the correct mean but sets variance equal to the mean — the Poisson-only variance, ignoring posterior uncertainty about . C reports the posterior mean and a scaled variance but forgets to multiply by when computing . D uses incorrect update parameters, as if the prior rate weren't added to . Study tip: On predictive problems, always decompose variance via — the two terms capture sampling noise and parameter uncertainty separately. Forgetting the second term is the most common trap.
- For a normal sample with both parameters unknown, use the conjugate prior and , where the inverse-gamma density contains . Let , , , and . For observations, suppose and . Which posterior parameter tuple is correct? Answer: When you encounter a Normal-Normal-Inverse-Gamma conjugate update, you need four update formulas memorized cold. Starting from prior parameters with data summary , the posterior parameters are: Plugging in : This confirms B is correct. Choice A gets , which omits the crucial third term in the update — the penalty for the prior mean differing from . This is the most common trap. Choice C computes incorrectly as , likely by using instead of the correct weighting. Choice D inflates to 7 by adding rather than , and consequently produces the wrong . Your key study tip: the formula has three additive pieces — prior , half the sample variance , and a shrinkage term capturing prior-data conflict. Missing any one piece yields a wrong answer, and exams love to isolate exactly that mistake.
- Suppose are independent variables and their sample mean is . The prior distribution is . Which distribution is the posterior distribution of , with the second parameter denoting variance? Answer: When you see a Bayesian inference question with a normal likelihood and normal prior, your first instinct should be to apply the normal-normal conjugate update formulas. The posterior is also normal, with updated mean and variance determined by precision-weighting. Here's the setup: you have observations from with known variance , sample mean , and prior . The posterior mean and variance formulas are: Plugging in: the posterior precision is , giving posterior variance . The posterior mean is . This confirms A is correct. B is wrong because using (the prior mean) instead of 3 in the numerator yields — a classic mix-up of prior mean and data. C uses incorrect precision values, likely from mixing up and , producing a wrong variance of . D simply reports the MLE result , ignoring the prior entirely — this is what you'd get with no Bayesian updating. Always derive the posterior variance first (it's simpler), then use it as a factor in computing the posterior mean to avoid arithmetic errors.
- Let denote the odds of success in a binomial model. A beta-prime prior on has density proportional to . If and and the data contain successes in trials, what is the posterior distribution of ? Answer: When working with conjugate priors on transformed parameters, your goal is to track how the likelihood updates the prior's exponents by expressing everything in a common kernel form. The beta-prime distribution with parameters has density proportional to . Now consider the binomial likelihood in terms of the odds . Since , the likelihood for successes in trials becomes proportional to . Multiplying the prior by the likelihood gives the posterior kernel: Wait — collecting exponents carefully: the combined exponent of is . So the posterior is . With , , , : posterior parameters are and , giving , which is answer D. Choice A, , reverses the two parameters — a sign you've mixed up which count updates which exponent. Choice B, , incorrectly adds the full to rather than only the failures . Choice C, , ignores the prior entirely, using only the data. The key study tip: always convert the likelihood into -and- form before pattern-matching to the conjugate kernel — successes update , and failures (not total trials) update .
- Independent event counts satisfy , where is exposure. The prior is under the shape-rate parameterization. The observed total count is and the total exposure is . For a future exposure of , what is the posterior predictive probability of observing no events? Answer: When you see a Bayesian predictive problem with Poisson likelihoods and a Gamma prior, your roadmap is: update the prior, then marginalize over the posterior to get a negative binomial predictive distribution. Posterior update: With observations, the conjugate update gives . Here, the shape-rate prior is , total count is , and total exposure is , so the posterior is . Posterior predictive for zero events: For future exposure , the predictive probability of is: This is the MGF/Laplace transform trick: integrating gives . That confirms answer A. Why the distractors fail: Choice B uses instead of , suggesting a prior rate of rather than — a miscalculation in the posterior update. Choice C appears to use only the MLE () and ignores the prior entirely, substituting it directly. Choice D, , treats the posterior mean as fixed and computes , ignoring uncertainty in . Study tip: Always verify both parameters of the posterior Gamma — the shape collects counts, the rate collects exposures. A one-off error in either cascades through the entire predictive calculation.
- Bernoulli trials with success probability are observed until the th success occurs. The stopping time is , so the observed sequence contains successes and failures. If the prior is , which statement correctly describes the posterior distribution conditional on the observed stopped sequence? Answer: It is because the stopping rule adds no factor depending on . When you see a Bayesian updating problem with a stopping rule, the key question is: does the stopping rule introduce any factor involving that wasn't already accounted for? If not, the posterior is unchanged by the rule. In the negative binomial (inverse sampling) setting, the likelihood of the observed sequence — exactly successes and failures in a specific order ending in a success — is proportional to . The stopping rule determines which sequences are possible, but the binomial coefficient (the counting factor) doesn't depend on . So when you multiply the Beta prior by the likelihood, you get , which is exactly . The posterior updates by adding successes to and failures to — the same rule as in fixed- binomial sampling. Answer D is correct. Answer A is wrong because the stopping rule doesn't break conjugacy — it only changes the support of , not the functional form of the likelihood in . Answer B incorrectly adds the total trials to , confusing total observations with successes. Answer C adds (successes) to and to , reversing the roles of successes and failures entirely. A useful principle to remember: **the posterior depends only on the likelihood's functional form in , not on the sampling design**. This is sometimes called the likelihood principle, and it's why fixed- and stopped- sampling yield identical Beta posteriors given the same sufficient statistics .
- Let be independent observations, where is known. Suppose . The prior is inverse-gamma with density proportional to . What is the posterior mean of ? Answer: When you see a Bayesian estimation problem like this, your goal is to identify the posterior distribution by combining the likelihood with the prior, then read off the posterior mean. The prior here is inverse-gamma: , which matches with and . The likelihood for normal observations with known contributes a factor of , since gives . Multiplying prior and likelihood, the posterior is proportional to , which is with and . The mean of an distribution is , so the posterior mean is , confirming answer A. Choice B, , mistakenly divides by itself rather than . Choice C, , likely comes from naively dividing the sum of squares by : , or some similar shortcut ignoring the prior entirely. Choice D, , uses in the denominator, confusing the mean formula with the mode formula . Your key memory aid: for Inv-Gamma, the posterior parameters update as and , and the mean is always .