The observed data is y = (v₁....yn), a sample from a negative binomial distribution with parameters q andr, where r is assumed to be known. The prior distribution for q is Beta(a,ß). Suppose that y₁ = ... = yn = 0. Take n = 10 + A, where A is the third-to-last digit of your ID number; a = 5+ B,where B is the second-to-last digit of your ID number, r = 3; and /3 = 1. A=S A=S₂B=1 (a) What is the posterior probability density function for q? (b) Find an expression for the quantile function for this posterior distribution, and hence find a 95% credible interval for q. (c) Let x be a new data-point generated by the same negative binomial distribution with parameters q and r. Find P(x=0|y), the posterior predictive probability that x is 0.
The observed data is y = (v₁....yn), a sample from a negative binomial distribution with parameters q andr, where r is assumed to be known. The prior distribution for q is Beta(a,ß). Suppose that y₁ = ... = yn = 0. Take n = 10 + A, where A is the third-to-last digit of your ID number; a = 5+ B,where B is the second-to-last digit of your ID number, r = 3; and /3 = 1. A=S A=S₂B=1 (a) What is the posterior probability density function for q? (b) Find an expression for the quantile function for this posterior distribution, and hence find a 95% credible interval for q. (c) Let x be a new data-point generated by the same negative binomial distribution with parameters q and r. Find P(x=0|y), the posterior predictive probability that x is 0.
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.3: Special Probability Density Functions
Problem 53E
Related questions
Question
answer all parts please
![The observed data is y = (₁,...,n), a sample from a negative binomial distribution with
parameters q and r, where r is assumed to be known.
The prior distribution for q is Beta(a,p). Suppose that y₁ = ... =yn = 0. Take n = 10+A,
where A is the third-to-last digit of your ID number; a = 5+ B, where B is the second-to-last
digit of your ID number; r = 3; and 3 = 1. A = S
·A=S₂B=1
(a) What is the posterior probability density function for q?
(b) Find an expression for the quantile function for this posterior distribution, and hence
find a 95% credible interval for q.
(c) Let x be a new data-point generated by the same negative binomial distribution with
parameters q and r. Find P(x=0 | y), the posterior predictive probability that x is 0.
Suppose now that we want to compare two models. Model M₁ is the model and prior
distribution described above. Model M₂ assumes that the data follow a negative binomial
distribution with a known to be qo= 0.9.
(d) Find the Bayes factor B₁2 for comparing the two models.
(e) We assign prior probabilities of 1/3 that M₁ is the true model, and 2/3 that M₂ is the
true model. Find the posterior probability that M₁ is the true model.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc34bc9a7-9f6e-48e1-b143-d4267f0c2856%2Fbb3edc77-57ba-404b-8555-802b6640611a%2F1pbg23i_processed.png&w=3840&q=75)
Transcribed Image Text:The observed data is y = (₁,...,n), a sample from a negative binomial distribution with
parameters q and r, where r is assumed to be known.
The prior distribution for q is Beta(a,p). Suppose that y₁ = ... =yn = 0. Take n = 10+A,
where A is the third-to-last digit of your ID number; a = 5+ B, where B is the second-to-last
digit of your ID number; r = 3; and 3 = 1. A = S
·A=S₂B=1
(a) What is the posterior probability density function for q?
(b) Find an expression for the quantile function for this posterior distribution, and hence
find a 95% credible interval for q.
(c) Let x be a new data-point generated by the same negative binomial distribution with
parameters q and r. Find P(x=0 | y), the posterior predictive probability that x is 0.
Suppose now that we want to compare two models. Model M₁ is the model and prior
distribution described above. Model M₂ assumes that the data follow a negative binomial
distribution with a known to be qo= 0.9.
(d) Find the Bayes factor B₁2 for comparing the two models.
(e) We assign prior probabilities of 1/3 that M₁ is the true model, and 2/3 that M₂ is the
true model. Find the posterior probability that M₁ is the true model.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 20 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Calculus For The Life Sciences](https://www.bartleby.com/isbn_cover_images/9780321964038/9780321964038_smallCoverImage.gif)
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
![Glencoe Algebra 1, Student Edition, 9780079039897…](https://www.bartleby.com/isbn_cover_images/9780079039897/9780079039897_smallCoverImage.jpg)
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
![Calculus For The Life Sciences](https://www.bartleby.com/isbn_cover_images/9780321964038/9780321964038_smallCoverImage.gif)
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
![Glencoe Algebra 1, Student Edition, 9780079039897…](https://www.bartleby.com/isbn_cover_images/9780079039897/9780079039897_smallCoverImage.jpg)
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill