Refertothepreviousexercise,regardingestimating when y = 0 in n = 25 trials. (a) Withuniformpriordistribution,findthe95%highestposteriordensity(HPD)interval, and comparewiththe95%equal-tailposteriorinterval,usingthe2.5and97.5percentiles. Whyaretheydifferent? (b)
Question:
Refertothepreviousexercise,regardingestimating π when y = 0 in n = 25 trials.
(a) Withuniformpriordistribution,findthe95%highestposteriordensity(HPD)interval, and comparewiththe95%equal-tailposteriorinterval,usingthe2.5and97.5percentiles.
Whyaretheydifferent?
(b) When y = 0, explainwhythelowerBayesianequal-tailposteriorintervallimitfor π cannot be0,unliketheBayesianHPDinterval.WhyistheHPDintervalmoresensibleinthis case? (Seealsothediscussionin Section A.4.6 of the R Appendix.)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Foundations Of Statistics For Data Scientists With R And Python
ISBN: 9780367748456
1st Edition
Authors: Alan Agresti
Question Posted: