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\).

Answer & Explanation Solved by verified expert
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!
Become a Member

Other questions asked by students