Question

2. Estimate the probability 0 of teen recidivism based on a study in which there were n- 43 individuals released from incarceration and y 15 re-offenders within 36 months. (a) Using a Beta(2,8) prior for θ, plot p(9), p(y|0) and p( ly) as functions of θ. Find the posterior mean, mode, and standard deviation of. Find a 95% quantile-based confidence interval. (b) Repeat part (a), but using a Beta(8,2) prior for θ (c) Consider the following prior distribution: 1 г(10) pe) rere) [39(1-0) +gr(1-0)] , which is a 75-25% of a Beta(2,8) and a Beta(8,2) prior distribution. Plot this prior distribution and compare it to the priors in (a) and (b). Describe what sort of prior opinion this may represent. (d) For the prior in part (c) i. Write out mathematically p(0) x p(y9) and simplify as much as possible. ii. The posterior distribution is a mixture of two distributions you know. Identify these distributions. iii. Calculate and plot p(0) x P(y|θ) as a function of θ. Also find (approximately) the posterior mode, and discuss its relation to the modes in (a) and (b) (e) Find a general formula for the weights of the mixture distribution in (d)ii, and provide an interpretation for their values.

1 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
2. Estimate the probability 0 of teen recidivism based on a study in which there were...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT