正在学习
3.3 BAYESIAN APPROACH
3.3 BAYESIAN APPROACH
The Bayesian approach starts with the idea of averaging risk over all possible models, using a weighting function or prior, , for the parameters. This leads to Bayes risk which is defined by
where is given by (3.15). Any forecast, , that minimizes Bayes risk is a Bayes decision rule. Notice that this concept of risk is identical to the weighted average risk of the previous section.
To construct a Bayes decision rule (i.e., a forecast), we need a weighting scheme or prior, , over the parameters of the model. This prior tells us which parameter values are likely and which are not. As in the classical approach, a model for the outcome variable, , is also required. Finally, we also need a model for the data used to construct the forecast . Given the prior and the model for the data, we can calculate the posterior density for the parameters
where is the marginal likelihood of the data, z. Using (3.15) and the posterior density in (3.25), Bayes risk can then be computed as
Conditional on we can choose the forecasting rule that, for each minimizes the conditional risk
To see why this delivers a forecast that minimizes Bayes risk, consider the expected loss conditional on Bayesian approach would be to choose to minimize this for any . Since this rule minimizes the conditional expected loss, it also minimizes the unconditional expected loss, i.e., it minimizes Bayes risk and is hence a Bayes decision rule.
Example 3.3.1 (Bayes risk under MSE loss, continued). From (3.4) we get the Bayes risk
The first term does not depend on the forecast. Minimizing the second term conditional on and so ignoring the outer integral, yields the first-order condition
The optimal forecast is the conditional mean using the posterior, , as weights. When given is normal with unknown mean and known variance and the posterior distribution for , the optimal forecast reduces to , i.e., we replace the unknown parameters with their posterior mean.
Example 3.3.2 (Bayes risk under Linex loss). Again assume that and ind , with . For simplicity, also assume that is known. Suppose the prior, , is such that with known. The posterior distribution is then
where . For notational convenience, write this posterior as . To derive the optimal forecast we need to integrate out the unknown parameter, . Note that from (3.9) and (3.16),
Combining the exponential components and completing the square yields the optimal rule
Plugging the results for and into (3.27) yields the rule
When , we move towards a flat prior and
Notice the close relationship between the classical plug-in method that minimizes average risk over all relevant models and the more formal Bayesian approach which chooses the forecast rule to directly minimize the weighted average risk. In the example with MSE loss the forms of the models are the same, so differences arise only through the estimation of θ. In the Linex example there is also a difference in the coefficient multiplying the variance term.
练习题
Which of the following correctly defines Bayes risk?
What is a Bayes decision rule?
Which of the following is NOT required to construct a Bayes decision rule?
How is the posterior density calculated?
Which of the following are components required to compute Bayes risk using the posterior density?
Which of the following statements are true about conditional risk minimization?
The optimal forecast under MSE loss is the conditional mean using the posterior as weights.
When given is normal with unknown mean and known variance , and the posterior distribution for is , the optimal forecast is .
The marginal likelihood of the data is given by . This term is used in the calculation of the ___.
The first term in the Bayes risk formula under MSE loss, , does not depend on the ___.
Explain why minimizing the conditional risk leads to the Bayes decision rule.
What is the role of the prior distribution in the Bayesian approach, and how does it influence the forecast?
Which of the following is a key difference between the classical and Bayesian approaches to forecasting?
Which of the following statements are true about the relationship between risk and the information set?
Which of the following statements correctly describes the relationship between Bayes risk and conditional expected loss?
Which of the following are required components for constructing a Bayes decision rule?
The optimal forecast under MSE loss is the conditional mean using the posterior distribution as weights.
The posterior density for the parameters is calculated as \pi(\theta|z) = \frac{p_Z(z|\theta) \pi(\theta)}{___}.
登录后解锁笔记、知识点解析、AI 问答
立即登录