How to generate a Poisson random variable with parameter $\lambda$ using Metropolis-Hastings?

Show how to generate a Poisson random variable with parameter \lambda using Metropolis-Hastings. Use simple symmetric random walk as the proposal distribution.

The description of the algorithm is below:

Then how to use R to do this algorithm?

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.