MAP&MLE
MAP&MLE
Suppose the data x1, x2, . . . , xn is drawn i.i.d from a N(μ, σ2)
distribution, where μ and σ2are unknown. Find the
maximum likelihood estimate for the pair(μ, σ2).
MLE
●
Maximum A Posteriori (MAP) Estimation
● MLE is powerful when you have enough data. However, it
● doesn’t work well when observed data size is small.
● If we flip the coin 50 times, observing 24 heads and 26
Suppose we now observe a new patient for whom the lab test returns a
positive result. Should we diagnose the patient as having cancer or not?
Here you can see that both p(θ) and p(θ|D) are following beta
distribution:
i.e P(θ|D) ~ Beta(𝞫0+ 𝞪0 , 𝞫1+𝞪1){ prior and posterior are following beta
distribution)
Maximum A Posteriori (Example)
●
If the posterior distribution is in the same family as the prior
distribution, then we say that the prior distribution is the conjugate
prior for the likelihood function.