Question: # 5 ( Sampling from Posterior Distribution ) Consider a Bayesian statistic model in which the data are i . i . d . Poisson
#Sampling from Posterior Distribution Consider a Bayesian statistic model in which the data are iid Poisson random variables with mean Suppose the prior of the parameter is a with and its is
a Derive the posterior distribution given iid data dots,
b Design an AR algorithm to sample from the posterior distribution and write down the pseudo codes.
c Implement the AR algorithm. It should take the parameters of the prior distribution and the iid data samples as input by the users. Illustrate the efficacy of your implementation using any examples you like and report the results.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
