Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the Bayesian estimation of the parameter 8 of a Poisson sample with a Gamma prior. Assume that the true 0 = 2 and

  

Consider the Bayesian estimation of the parameter 8 of a Poisson sample with a Gamma prior. Assume that the true 0 = 2 and that the prior is r(3, 1). Write a Jupyter notebook with the following Monte Carlo simulation. Try different draws and check how your results change but you only have to report the results of one simulation (A) Plot the PDF of the prior (3, 1) clistribution. (b) Plot the PDF of Poisson distributions with 8 set to the prior mean, the prior mean plus 1 standard deviation of the prior, and the prior mean minus 1 standard deviation. (c) Generate a sample of the data of size 500, i.e. draw 500 data points from the Poisson distribution with 8 = 2. Assume that you observe the 500 observatious sequentially. For each i = 1,.., 500, compute the posterior distribution. Plot the parameters of the i-th posterior as well as the posterior mean and standard deviation. (d) Por each i = 1, ..., 500, compute and plot the mean and standard deviation of posterior distribution (e) Plot the posteriors for 1 = 5, 10, 20, 50,100,500. (f) For each i = 1...500, compute and plot the Bayes estimator for the quadratic loss function. Also plot the 90%, 95%, and 99% confidence intervals around the Bayes estimator (g) Derive the maximum like hood estimator, its standard error, and limiting distribution for the Poisson sample. (h) For each i = 1. ... 500, compute and plot the MLE, its standard deviation, and the 90%, 95%, and 99% confidence intervals. (i) Compare the Bayes and ML estimators and their distributions. Consider the effect of the sample size

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probability And Statistics

Authors: Morris H. DeGroot, Mark J. Schervish

4th Edition

9579701075, 321500466, 978-0176861117, 176861114, 978-0134995472, 978-0321500465

More Books

Students also viewed these Mathematics questions

Question

Name three applications for feedback control systems.

Answered: 1 week ago

Question

Draw a picture consisting parts of monocot leaf

Answered: 1 week ago

Question

Write each fraction as a percent. 7 50

Answered: 1 week ago