Let X1, X2, ..., Xn be the i.i.d. Bernoulli(p). Then Y = ? (i=1 to n) Xi is Binomial(n,p). We assume the prior distribution of p is Beta(a,b). Based on these pieces of information, answer the followings i. Find the maximum likelihood estimate (MLE) of p. Show it is equal to X?. ii. Derive the joint distribution of Y and p iii. Find the marginal pdf of Y iv. Find the posterior distribution of p given Y v. Does the prior distribution of p a conjugate family? vi. Find the Bayes estimator of p, p?B vii. Find the posterior variance of p. Show that using the prior variance, in the limit, the parameters of the prior distribution have no influence on the posterior distribution. viii. Using (v) show that the Bayes estimator of p is a weighted average of prior mean and sample mean, where weights are determined by a, b, and n. ix. Compare the maximum likelihood estimator of p and bayes estimator p. (Hint: use Mean squared error (MSE) as a measure of performance). x. Based on the MSEs of X? and p?B Figure 7.3.1. Comparison of MSE of p? and p?B for sample sizes n = 4 and n = 400 in Example 7.3.5 Which estimator is performing better than other and in what situations? (X) Find the 95% confidence interval of MLE of p. (Xi) Find the 95% credible interval of Bayes estimator of p. Derive an explicit expression of this interval, under Normality distribution of the posterior distribution of bayes estimator p. (Xii) compare both the intervals derived in (X) and (Xi).
Added by Minhaz U.
Close
Step 1
Step 1: The 45-year-old man stepped on a small piece of broken glass while walking barefoot on the beach. Show more…
Show all steps
Your feedback will help us improve your experience
Karan Deep and 99 other Elementary Statistics a Step by Step Approach educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Already I have submitted the question before but I didn't get the right answer
Karan D.
Plz give me... Give me the answers correctly
Suppose y ~ Binomial (n, θ), with n known, and the prior for θ is π(θ) = Beta (α, β). Here Bin stands for the Binomial distribution and (1) What is the posterior density of θ? (2) What is the marginal likelihood of y? (3) Suppose the above model is labelled M0. There is a possible alternative model M1 which is y ~ Bin (n, 1/2). Find the Bayes Factor B01. Use the same data set from Homework 2 "HW2_data.csv", but only consider the y values. It is assumed (yi) i=1 to n iid ~ N(θ, σ^2), with θ and σ unknown. Let λ = 1/σ^2 and take the prior for (θ, λ) as π(θ|λ) = N(0, (0.01λ)^-1) and π(λ) = Ga(0.01, 0.01). (4) What's the posterior distribution of θ given λ? (5) What's the posterior distribution of λ?
Adi S.
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD