Frequentist probability
Probability is based on how often something happens in the long run
Recall to the Law of Large Numbers (LLN)
Bayesian probability
Probability as a measure of belief or uncertainty about an event, based on both prior knowledge and new evidence
Bayesian inference
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)
Bayesian inference steps
Credible interval
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%
Conjugate prior
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
Prior–likelihood conjugate pairs
Beta-Binomial
Beta-Bernoulli
Gamma-Poisson
Gamma-Exponential
Normal-Normal (mean)