Here we need calculate the expected utility or loss when both the parameters and the future data are unknown.
Recall that the expected loss of a decision with respect to the state of nature is
If we are interested in future data, call it , but the data is as yet unknown then the Bayes risk, Equation 5.2, becomes
where . In other words the Bayes risk over all possible samples is the marginal expectation of the posterior Bayes risk.
This Bayes risk or loss of the sampling procedure can be obtained by
Choose a conjugate prior, to the likelihood .
Calculate Bayes rule, , and Bayes risk using this prior, .
Update the prior using the likelihood, , and re-calculate Bayes risk as a function of :
The problem is now to calculate the marginal expectation, . This can be done by using the identity
.
The next example illustrates this procedure.
Suppose that we wish to estimate the parameter, , of a Poisson distribution. Our prior for . The loss function, for estimate and value , is
Find the Bayes rule and Bayes risk of an immediate decision.
Find the Bayes rule and Bayes risk if we take a sample, , of size .
Find the Bayes risk of the sampling procedure.
We have already seen that for a squared loss, Bayes rule is
with corresponding Bayes risk
As and then
We observe that the Bayes rule
and Bayes risk after sampling can be found from substituting for and for
to obtain the Bayes rule
Bayes risk is
The risk of the sampling procedure is the expected value of the posterior Bayes risk, when viewed as a random quantity,
We use leading to Bayes risk of
A game of chance is being played with a possibly biased coin with an unknown probability of landing heads: The rules of the game allow you to win 2 pounds if two successive tosses of the coin land heads, and lose 3 pounds if the first toss lands tails. Consider a loss function, for a bet, where is the money you expect to lose conditional on for actions of betting, , or not betting, . The loss function in this case is
0 |
Your prior distribution for is .
Calculate the prior expected loss of both actions.
Should you bet and why or why not?
You now observe tosses of the coin, and of those tosses it lands heads every time.
Calculate the posterior distribution for .
Calculate the posterior expected loss for each action, using the given loss function and state whether a bet should be made.
, , so
No, you should not bet. Bayes rule is to minimise expected loss which is zero.
We wish to estimate the parameter, , of a Poisson distribution. Our prior for is Gamma . The loss function, for estimate and value , is
Find the Bayes rule and show that Bayes risk of an immediate decision is
Find the Bayes rule and Bayes risk when we have observed .
Explain how you would calculate the integrated risk of the sampling procedure.
Find the Bayes rule and show Bayes risk of an immediate decision is
Bayes rule, is the decision that minimises the expected loss.
Bayes risk is the expected loss at the optimal decision.
Find the Bayes rule and Bayes risk when we have observed .
We note that the posterior distribution of is .
Explain how you would calculate the integrated risk of the sampling procedure.
The risk of the sampling procedure an be found by taking the marginal expectation of the posterior risk
Consider the following loss function
Find the Bayes rule of an immediate decision.
Let be exchangeable so that the are conditionally independent given parameter . Suppose that and with .
Under the loss given above, find the Bayes rule after observing .
Find the Bayes rule of an immediate decision.
Can show for
Under the loss given above, find the Bayes rule after observing x.
,
A certain coin has probability of landing heads. We assess that the prior for is a Beta distribution with parameters . The loss function for estimate and value is
Find the Bayes rule and Bayes risk for an immediate decision.
Suppose that we toss the coin times before making our decision, and observe heads and tails. Find the new Bayes rule and Bayes risk.
with Bayes risk .
Can show
Bayes risk can be found
The posterior of is .