Definition
Discrete Case
where by Law of Total Probability
is called a prior probability, and is called a posterior probability
Continuous Case
where is not a constant, but an unknown parameter follows a certain distribution with a parameter .
is called a prior probability, is called a likelihood, is called an evidence or marginal likelihood, and is called a posterior probability
Parameter-Centric Notation
Examples
Consider a random variable follows Binomial Distribution and a prior distribution follows Beta Distribution where .
The PDFs are defined as and . Then, by Bayes theorem, Under Squared Error Loss, the Bayes Estimator is a mean of the posterior distribution.