Suppose that \(Y\) follows a binomial distribution with parameters \(n\) and \(p\), so that the...
90.2K
Verified Solution
Question
Accounting
Suppose that \(Y\) follows a binomial distribution with parameters \(n\) and \(p\), so that the p.m.f. of given \(p\) is:
\[f(Y|p)= {n \choose y} p^y (1-p)^{n-y}.\]
Suppose that the prior p.d.f. of the parameter \(p\) is Beta\((a,b)\).
1.(10 points) Find the posterior distribution.
2.(10 points) Estimate the parameter \(p\), \(\hat p_{B}\) using the squared error loss function.
3.(10 points) Compare the Bayesian estimator from part b, \(\hat p_{B}\) to the MLE estimator from last homework, \(\hat p_{MLE}\).
4. (10 points) Now suppose that you run 20 trials, and got 8 successes. Use R and two different Beta priors to calculate the value of \(\hat p_{B}\). Do your estimate change a lot based on different priors?
5.(10 points) Calculate a Bayesian credible interval for \(p\) when \(\alpha=0.05\).
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
- Unlimited Question Access with detailed Answers
- Zin AI - 3 Million Words
- 10 Dall-E 3 Images
- 20 Plot Generations
- Conversation with Dialogue Memory
- No Ads, Ever!
- Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Other questions asked by students
StudyZin's Question Purchase
1 Answer
$0.99
(Save $1 )
One time Pay
- No Ads
- Answer to 1 Question
- Get free Zin AI - 50 Thousand Words per Month
Unlimited
$4.99*
(Save $5 )
Billed Monthly
- No Ads
- Answers to Unlimited Questions
- Get free Zin AI - 3 Million Words per Month
*First month only
Free
$0
- Get this answer for free!
- Sign up now to unlock the answer instantly
You can see the logs in the Dashboard.