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
Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter13: Probability And Calculus
Section13.2: Expected Value And Variance Of Continuous Random Variables
Problem 10E
Related questions
Question
for part b please show the method using example values for A,B,C. the dataset is shown on the side
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
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,