Suppose we observe iid data y₁,..., yn from Poisson distribution with parameter A. Let A have the Gamma(a, 3) distribution, the conjugate prior distribution for the Poisson likelihood, where a and 3 are known prior parameters. (a) Find the posterior distribution for A. Now, an ecologist counts the numbers of centipedes in each of n = 20 twenty one- metre-square quadrats. The numbers y₁,..., y20 are in the second column labelled as y in the dataset. (b) Let the last three digits of your ID number be ABC. Suppose we want the prior mean for A to be 5+ A and the prior standard deviation to be 5+ B. Find the prior distribution parameters that satisfy this. (c) Using the prior distribution from (b), find the posterior distribution for A. (d) Calculate the posterior median and a 95% credible interval for X. (e) Calculate the posterior median and a 95% credible interval for 0, where 0 = 1 - exp(-X). X 2.256 1.83 2.061 1.108 1.287 1.696 1.518 0.984 0.868 1.387 Y 14 13 7 10 15 15 2 13 13 11 10 13 5 13 9 12 9 12 8 7
Suppose we observe iid data y₁,..., yn from Poisson distribution with parameter A. Let A have the Gamma(a, 3) distribution, the conjugate prior distribution for the Poisson likelihood, where a and 3 are known prior parameters. (a) Find the posterior distribution for A. Now, an ecologist counts the numbers of centipedes in each of n = 20 twenty one- metre-square quadrats. The numbers y₁,..., y20 are in the second column labelled as y in the dataset. (b) Let the last three digits of your ID number be ABC. Suppose we want the prior mean for A to be 5+ A and the prior standard deviation to be 5+ B. Find the prior distribution parameters that satisfy this. (c) Using the prior distribution from (b), find the posterior distribution for A. (d) Calculate the posterior median and a 95% credible interval for X. (e) Calculate the posterior median and a 95% credible interval for 0, where 0 = 1 - exp(-X). X 2.256 1.83 2.061 1.108 1.287 1.696 1.518 0.984 0.868 1.387 Y 14 13 7 10 15 15 2 13 13 11 10 13 5 13 9 12 9 12 8 7
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
for part b please show the method using example values for A,B,C. the dataset is shown on the side

Transcribed Image Text:Suppose we observe iid data y₁,..., yn from Poisson distribution with
parameter A. Let A have the Gamma(a, 3) distribution, the conjugate prior distribution
for the Poisson likelihood, where a and 3 are known prior parameters.
(a) Find the posterior distribution for X.
Now, an ecologist counts the numbers of centipedes in each of n = 20 twenty one-
metre-square quadrats. The numbers y₁, ..., y20 are in the second column labelled
as y in the dataset.
(b) Let the last three digits of your ID number be ABC. Suppose we want the prior
mean for A to be 5 + A and the prior standard deviation to be 5+ B. Find the
prior distribution parameters that satisfy this.
(c) Using the prior distribution from (b), find the posterior distribution for A.
(d) Calculate the posterior median and a 95% credible interval for X.
(e) Calculate the posterior median and a 95% credible interval for 0, where
0 = 1 - exp(-X).
X
42
у
2.256 14
1.83
13
7
2.061
1.108 10
1.287
1.696
15
1.518
2
13
0.984
0.868 13
1.387
11
43
050 50
===
ܘ ܗ ܗ
15
LL115
10
13
WOH
13
9
9
HOHOHOOT
12
12
8
7
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step 1: Write the given information.
VIEWStep 2: Determine the posterior distribution for λ.
VIEWStep 3: Determine the prior distribution parameters satisfying the given condition.
VIEWStep 4: Determine the posterior distribution using prior distribution.
VIEWStep 5: Determine the posterior median and a 95% confidence interval.
VIEWStep 6: Determine the posterior median and 95% credible interval.
VIEWSolution
VIEWStep by step
Solved in 7 steps with 26 images

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman