Question
(a) Assume a binomial distribution with parameter p: We want to estimate the parameter p which is P(outcome 1). Assume you have a training set
(a) Assume a binomial distribution with parameter p:
We want to estimate the parameter p which is P(outcome 1). Assume you have a training set of n data points of which n 1 are outcome 1 and n 2 are outcome 2. Derive the maximum likelihood estimator for p given these data.
(b) Recall that the beta distribution is the conjugate prior for the binomial.
Show that if the prior probability of p follows a beta with parameters (u.[) and the likelihood of p given the data set from (a) follows a binomial, the posterior probability of p given the data set is a beta distribution with parameters (N 1 + ?, N2 + (?)
(c) Given a posterior distribution of p that follows beta(?, (?), derive the expected value of p.P(n) = (1+2) p (1-p)" G(a+b) a-1 Beta (pla, b) = G(a) G(b) p (1-p)-1
Step by Step Solution
3.41 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
a To find MLE of p we maximize the likel...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started