Bayesian Statistics Introduction
- 17Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
In Bayesian statistics, how is the parameter θ treated differently from frequentist statistics?
17 questions
- 1
In Bayesian statistics, how is the parameter θ treated differently from frequentist statistics?
Model answer
In frequentist statistics, θ is unknown but fixed; in Bayesian statistics, θ is treated as random with a prior distribution.
Explanation
This fundamental difference allows Bayesians to incorporate prior beliefs and update them with data to form a posterior distribution.
- 2
State Bayes' theorem in the context of Bayesian inference, identifying the prior, likelihood, and posterior.
Model answer
The posterior is proportional to the likelihood times the prior: π(θ∣X)∝p(X∣θ)π(θ).
Explanation
This formula shows how prior beliefs are updated with observed data to form the posterior distribution.
- 3
What is a conjugate prior? Give an example from the lecture.
Model answer
A conjugate prior is a prior distribution such that the posterior belongs to the same family. For Bernoulli data, the beta prior is conjugate; the posterior is also beta.
Explanation
Conjugate priors simplify computation because the posterior is known to be in the same family, only the parameters change.
- 4
If X1,…,Xn are iid Bernoulli(p) and p∼Beta(a,a), what are the parameters of the posterior distribution of p?
Model answer
The posterior is Beta(a+∑Xi,a+n−∑Xi).
Explanation
The update adds the number of ones to the first parameter and the number of zeros to the second parameter.
- 5
Write the density of a Beta(a,b) distribution up to a normalizing constant.
Model answer
f(x)∝xa−1(1−x)b−1 for x∈[0,1].
Explanation
This form is convenient for multiplication with the Bernoulli likelihood, leading to a beta posterior.
- 6
In a Gaussian model with X1,…,Xn∼N(θ,1) and an uninformative prior (improper uniform), what is the posterior distribution of θ?
Model answer
The posterior is N(Xˉn,1/n).
Explanation
Completing the square in the exponent shows the posterior is Gaussian centered at the sample mean with variance 1/n.
- 7
If the prior for θ in the Gaussian model is N(μ,1), what is the posterior?
Model answer
The posterior is Gaussian with mean n+1nXˉn+μ and variance 1/(n+1).
Explanation
This is like adding μ as an extra observation, so the posterior mean is a weighted average of the sample mean and the prior mean.
- 8
What is an uninformative prior? When might it be improper?
Model answer
An uninformative prior gives no preference to any parameter value. It can be improper when it does not integrate to a finite number, e.g., a constant over an unbounded space like R.
Explanation
Improper priors are allowed as long as the posterior is proper (normalizable).
- 9
For Bernoulli data with a uniform prior on [0,1], what is the posterior distribution?
Model answer
The posterior is Beta(1+∑Xi,1+n−∑Xi).
Explanation
The uniform prior is Beta(1,1), so the posterior updates to Beta with 1 added to the counts.
- 10
How does the posterior mean for Bernoulli data with a uniform prior differ from the MLE?
Model answer
The posterior mean is n+2∑Xi+1, while the MLE is Xˉn. The posterior mean adds one success and one failure, avoiding extreme estimates when counts are zero.
Explanation
This shrinkage effect is a natural consequence of the prior, preventing estimates of 0 or 1 when data are sparse.
- 11
Define Jeffrey's prior for a parameter θ.
Model answer
Jeffrey's prior is proportional to detI(θ), where I(θ) is the Fisher information.
Explanation
It is a systematic, non-informative prior that is invariant under reparameterization.
- 12
What is Jeffrey's prior for a Bernoulli parameter p?
Model answer
π(p)∝p(1−p)1.
Explanation
This prior puts more weight near the boundaries (0 and 1) where the Fisher information is larger.
- 13
Why is Jeffrey's prior called invariant?
Model answer
If a model is reparameterized by a one-to-one transformation η=g(θ), the Jeffrey's prior for η is also detI(η), ensuring consistent inference under different parameterizations.
Explanation
This property makes Jeffrey's prior an objective choice that doesn't depend on the arbitrary parameterization.
- 14
In the Gaussian model Xi∼N(θ,1), what is Jeffrey's prior for θ?
Model answer
Jeffrey's prior is constant (improper uniform), because the Fisher information is 1, so 1=1.
Explanation
Thus Jeffrey's prior coincides with the uninformative improper prior in this case.
- 15
What is the MAP estimator? How does it relate to the MLE?
Model answer
The MAP estimator is the mode of the posterior distribution. It maximizes π(θ∣X)∝p(X∣θ)π(θ). When the prior is uniform, MAP equals MLE.
Explanation
MAP is a Bayesian point estimator that incorporates prior information.
- 16
Why might a Bayesian prefer to use the entire posterior distribution rather than a single point estimate?
Model answer
The posterior captures uncertainty about θ, allowing construction of credible intervals and other summaries beyond a point estimate.
Explanation
For example, a wide posterior indicates high uncertainty, while a narrow posterior indicates confidence.
- 17
What role does MCMC play in Bayesian statistics?
Model answer
MCMC methods sample from the posterior distribution without computing the normalizing integral, useful when the posterior is complex.
Explanation
They exploit ratios of posterior densities, which cancel the normalizing constant.

Ask anything
We've read this whole study set, so questions about it get the best answers.