How to calculate posterior using data distribution?
Posterior = (prior x likelihood) / (normalization)
Prior = 0.5
Suppose the independent sample come from the density function . So the likelihood function can be written as
Here we have prior= 0.5 ,so posterior can be written as
Since
Thus
So the posterior distribution is given by
Get Answers For Free
Most questions answered within 1 hours.