Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Consider the Bayesian estimation of the parameter of a Poisson sample with a Gamma prior. Assume that the true = 2 and that the prior is (3, 1). Write a Jupyter notebook with the following Monte Carlo simulation. (A) Plot the PDF of the prior (3, 1) distribution (b) Plot the PDF of Poisson distributions with 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 = 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) For 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.

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

Step: 3

blur-text-image

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

Logistics Lifeline Supply Chain Strategies

Authors: Ehsan Sheroy

1st Edition

7419377502, 978-7419377503

More Books

Students also viewed these Databases questions

Question

To find integral of sin(logx) .

Answered: 1 week ago

Question

5. List the forces that shape a groups decisions

Answered: 1 week ago

Question

4. Identify how culture affects appropriate leadership behavior

Answered: 1 week ago