Consider the Bayesian estimation of the parameter 8 of a Poisson sample with a Gamma prior....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Related Book For
Probability And Statistics
ISBN: 9780321500465
4th Edition
Authors: Morris H. DeGroot, Mark J. Schervish
Posted Date:
Students also viewed these mathematics questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
All of the following are advantages of licensing EXCEPT: the foreign country gains employment by having the product manufactured locally. the licensee gains information that allows it to start with a...
-
Betty's Antique Shop, a shop specializing in antiques from the 19th century, recently sold a chair from the Civil War era for $60,000 on account. The state sales tax is 5%, and there is a $400-...
-
Given the project network that follows, complete the bar chart for this project. Use the time-line to align your bars. Be sure to use the legend to show slack for noncriticalactivities. Legend...
-
What is the difference between the operations of a class and its attributes?
-
Assume that Whee, Cheatham, and Howe is an auditing firm that has found that its summer interns are subject to a 90 percent learning curve for one of its important tasks, proofreading financial...
-
How does the Agile Manifesto advocate for iterative and incremental development methodologies to enhance adaptability and responsiveness in complex project environments ?
-
Shauna Coleman is single. She is employed as an architectural designer for Streamline Design (SD). Shauna wanted to determine her taxable income for this year. She correctly calculated her AGI....
-
Pursuant to a plan of corporate reorganization, Pat exchanged 1,000 shares of Stream Corporation stock that she had purchased for $60,000, for 1,200 shares of Creek Corporation voting stock having a...
-
Group discussion regarding Chapter 20 - Earnings Per Share. In your Forum Discussion, please include all relevant concepts and issues discussed in Chapter 20 including (but not limited to):...
-
Rewrite this: Utilization of Resources: Organizations like the AICPA have developed resources for educating students the accounting profession from high school through college. These resources...
-
Find the volume formed by rotating the region enclosed by: x=7y and y =2 with y0 about the y-axis. Volume=
-
The use of analytical procedures Select answer from the options below is required during risk assessment. is prohibited during risk assessment. is optional during risk assessment. is most effective...
-
Length: Find the arc length of the curve y = In(cos x) from a = 0 to x = /3.
-
For each of the following events, indicate the amounts and direction of effects on the elements of the statement of financial position and statement of earnings. Using the following format, indicate...
-
Write each fraction as a percent. 7 50
-
Determine the amount b that the person should bet in Exercise 11 if his utility function is U(x) = X1/2 for x 0.
-
Suppose that in a problem of simple linear regression, a confidence interval with confidence coefficient 1 0 (0 < 0 < 1) is constructed for the height of the regression line at a given value of x....
-
Suppose that a fair coin (probability of heads equals 1/2) is tossed independently 10 times. Use the table of the binomial distribution given at the end of this book to find the probability that...
-
Which of the following approaches is used to study management? Art Process Science Profession
-
Management is Ongoing process Social process Integrated process All the above
-
Which is the correct order for the process of management? Planning, organizing, staffing, directing, and controlling Planning, organizing, directing, staffing, and controlling Planning,...
Study smarter with the SolutionInn App