1. Home
  2. Explore
  3. Statistics
  4. Bayesian Statistics Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bayesian Statistics Introduction

  • 27Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Bayesian vs Frequentist
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

In frequentist statistics, how are parameters treated?

Tap to flipClick to flipspace

Parameters are unknown but fixed constants.

Or swipe the card

27 cards

  1. In frequentist statistics, how are parameters treated?

    Parameters are unknown but fixed constants.

  2. In Bayesian statistics, what is the two-layer data generating process?

    First, the parameter θ\thetaθ is drawn from a prior distribution π(θ)\pi(\theta)π(θ). Then, conditional on θ\thetaθ, the data X1,…,XnX_1,\dots,X_nX1​,…,Xn​ are drawn from pn(x1,…,xn∣θ)p_n(x_1,\dots,x_n|\theta)pn​(x1​,…,xn​∣θ).

  3. What is the Bayes' rule expression for the posterior distribution π(θ∣X1,…,Xn)\pi(\theta|X_1,\dots,X_n)π(θ∣X1​,…,Xn​)?

    π(θ∣X1,…,Xn)=pn(X1,…,Xn∣θ)π(θ)∫pn(X1,…,Xn∣θ)π(θ)dθ\pi(\theta|X_1,\dots,X_n) = \frac{p_n(X_1,\dots,X_n|\theta) \pi(\theta)}{\int p_n(X_1,\dots,X_n|\theta) \pi(\theta) d\theta}π(θ∣X1​,…,Xn​)=∫pn​(X1​,…,Xn​∣θ)π(θ)dθpn​(X1​,…,Xn​∣θ)π(θ)​

  4. What is the role of the marginal likelihood in Bayes' rule?

    It acts as a normalizing constant to ensure the posterior integrates to 1, and it does not depend on θ\thetaθ.

  5. Define a conjugate prior.

    A conjugate prior is a prior distribution that, when combined with a given likelihood, yields a posterior distribution from the same family as the prior.

  6. What is the density of a Beta(a,ba,ba,b) distribution for x∈[0,1]x \in [0,1]x∈[0,1]?

    f(x)∝xa−1(1−x)b−1f(x) \propto x^{a-1} (1-x)^{b-1}f(x)∝xa−1(1−x)b−1

  7. For Bernoulli(ppp) data with a Beta(a,ba,ba,b) prior on ppp, what is the posterior distribution?

    p∣X1,…,Xn∼Beta(a+∑i=1nXi,  b+n−∑i=1nXi)p | X_1,\dots,X_n \sim \text{Beta}\left( a + \sum_{i=1}^n X_i,\; b + n - \sum_{i=1}^n X_i \right)p∣X1​,…,Xn​∼Beta(a+∑i=1n​Xi​,b+n−∑i=1n​Xi​)

  8. For i.i.d. N(θ,1)N(\theta,1)N(θ,1) data with a uniform (improper) prior on θ\thetaθ, what is the posterior distribution?

    θ∣X1,…,Xn∼N(Xˉn,  1n)\theta | X_1,\dots,X_n \sim N\left( \bar{X}_n,\; \frac{1}{n} \right)θ∣X1​,…,Xn​∼N(Xˉn​,n1​)

  9. For i.i.d. N(θ,1)N(\theta,1)N(θ,1) data with a N(μ,1)N(\mu,1)N(μ,1) prior on θ\thetaθ, what is the posterior mean?

    The posterior mean is a weighted average: nXˉn+μn+1\frac{n\bar{X}_n + \mu}{n+1}n+1nXˉn​+μ​.

  10. What is an uninformative prior?

    A prior that expresses no preference for any value of the parameter, e.g., a constant function over the parameter space.

  11. What is an improper prior?

    A non-negative function that does not integrate to a finite number, so it is not a valid probability density.

  12. What is the posterior for Bernoulli(ppp) data with a uniform (i.e., Beta(1,1)) prior on ppp?

    p∣X1,…,Xn∼Beta(1+∑Xi,  1+n−∑Xi)p | X_1,\dots,X_n \sim \text{Beta}\left(1 + \sum X_i,\; 1 + n - \sum X_i\right)p∣X1​,…,Xn​∼Beta(1+∑Xi​,1+n−∑Xi​)

  13. What is Jeffrey's prior?

    π(θ)∝det⁡(I(θ))\pi(\theta) \propto \sqrt{\det\left(\mathcal{I}(\theta)\right)}π(θ)∝det(I(θ))​ where I(θ)\mathcal{I}(\theta)I(θ) is the Fisher information matrix.

  14. What is Jeffrey's prior for a Bernoulli(ppp) model?

    π(p)∝1p(1−p)\pi(p) \propto \frac{1}{\sqrt{p(1-p)}}π(p)∝p(1−p)​1​

  15. What is Jeffrey's prior for a N(θ,1)N(\theta,1)N(θ,1) model?

    π(θ)∝1\pi(\theta) \propto 1π(θ)∝1 (a constant)

  16. Why is Jeffrey's prior invariant under reparameterization?

    Because the Fisher information transforms appropriately: if η=g(θ)\eta = g(\theta)η=g(θ), then I~(η)=(g′(θ))−2I(θ)\tilde{\mathcal{I}}(\eta) = (g'(\theta))^{-2} \mathcal{I}(\theta)I~(η)=(g′(θ))−2I(θ), and the square root factor adjusts to give the same prior on η\etaη.

  17. What is the Maximum A Posteriori (MAP) estimate?

    The mode of the posterior distribution: θ^MAP=arg⁡max⁡θπ(θ∣X1,…,Xn)\hat{\theta}_{\text{MAP}} = \arg\max_{\theta} \pi(\theta|X_1,\dots,X_n)θ^MAP​=argmaxθ​π(θ∣X1​,…,Xn​).

  18. How does the posterior distribution differ from a point estimate?

    The posterior provides a full probability distribution over the parameter, capturing both location and uncertainty, whereas a point estimate (e.g., MAP or posterior mean) gives only a single value.

  19. What is a common point estimator in Bayesian statistics derived from the posterior?

    The posterior mean: θ^=E[θ∣X1,…,Xn]=∫θπ(θ∣X1,…,Xn)dθ\hat{\theta} = \mathbb{E}[\theta | X_1,\dots,X_n] = \int \theta \pi(\theta|X_1,\dots,X_n) d\thetaθ^=E[θ∣X1​,…,Xn​]=∫θπ(θ∣X1​,…,Xn​)dθ.

  20. Why are Monte Carlo Markov Chain (MCMC) methods often used in Bayesian computation?

    To sample from the posterior distribution without computing the normalizing constant (marginal likelihood), which is often intractable.

  21. In the context of Bayesian inference, what does the phrase 'the posterior is proportional to the likelihood times the prior' mean mathematically?

    π(θ∣X1,…,Xn)∝L(θ;X1,…,Xn)π(θ)\pi(\theta|X_1,\dots,X_n) \propto L(\theta; X_1,\dots,X_n) \pi(\theta)π(θ∣X1​,…,Xn​)∝L(θ;X1​,…,Xn​)π(θ) where LLL is the likelihood function.

  22. What is the difference between a proper prior and an improper prior?

    A proper prior integrates to 1 and is a valid probability distribution; an improper prior does not integrate to a finite number and is not a valid probability distribution, but may lead to a proper posterior.

  23. In the Bernoulli example with a Beta(a,aa,aa,a) symmetric prior, what happens as a→0a \to 0a→0?

    The prior becomes increasingly concentrated at 0 and 1 (like a spike at the boundaries), approaching an improper prior.

  24. What is the Fisher information for a single Bernoulli(ppp) observation?

    I(p)=1p(1−p)\mathcal{I}(p) = \frac{1}{p(1-p)}I(p)=p(1−p)1​

  25. What is the posterior mean for Bernoulli(ppp) with a uniform (Beta(1,1)) prior?

    1+∑Xi2+n\frac{1 + \sum X_i}{2 + n}2+n1+∑Xi​​

  26. What is the key advantage of using conjugate priors?

    They make posterior computations analytically tractable; the posterior belongs to the same family as the prior, requiring only parameter updates.

  27. How does the influence of the prior change as the sample size nnn increases?

    The posterior becomes dominated by the likelihood, and the prior has less influence. For large nnn, the posterior concentrates near the MLE.

Card 1 of 27
Card 1 of 27

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent