Week 7 - Bayesian inference Flashcards

1
Q

Frequentist probability

A

Probability is based on how often something happens in the long run

Recall to the Law of Large Numbers (LLN)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Bayesian probability

A

Probability as a measure of belief or uncertainty about an event, based on both prior knowledge and new evidence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Bayesian inference

A

Approach that uses Bayes’ theorem to update the probability estimate for a hypothesis as more evidence or data becomes available

It provides a flexible way to model uncertainty by combining prior beliefs with observed data, giving a posterior distribution—the updated belief after observing data

P(θ∣data) = [P(data∣θ) ⋅ P(θ)] / P(data)

  • P(θ∣data): Posterior -> the updated belief about the parameter 𝜃 after observing the data
  • P(data∣θ): Likelihood – the probability of the observed data given the parameter 𝜃
  • P(θ): Prior – the initial belief or information about the parameter
    𝜃 before observing the data
  • P(data): Evidence – the total probability of observing the data, used for normalisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bayesian inference steps

A
  1. Specify a Prior Distribution
  2. Collect Data and Specify the Likelihood
  3. Apply Bayes’ Theorem to Combine Prior and Likelihood
  4. Determine the conjugate pair
  5. Workout posterior distribution using conjugate pair
  6. Summarize the Posterior Distribution using the prior and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Credible interval

A

Simply take probability intervals from the POSTERIOR, which will represent the uncertainty

The posterior probability of the parameter being in the credible interval is 95%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Conjugate prior

A

A prior distribution that, when combined with a specific type of likelihood function, results in a posterior distribution belonging to the same family as the prior

This pairing is known as a conjugate pair

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Prior–likelihood conjugate pairs

A

Beta-Binomial
Beta-Bernoulli
Gamma-Poisson
Gamma-Exponential
Normal-Normal (mean)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly