正在学习

5.1 BAYES RISK

5.1 BAYES RISK

Chapter 3 introduced Bayes risk as the weighted average of risk with weights chosen as the priors over the possible parameter values π (θ ):

Any forecast that minimizes Bayes risk is a Bayes decision rule.

Using the notation for risk introduced in chapter 3, we have

and so Bayes risk can be written as (see (3.26))

Here we constructed the posterior for the parameters using Bayes’ rule , where is the marginal likelihood. This can be viewed as a prior predictive distribution, i.e., a predictive distribution that does not depend on the observed data, z.

Minimizing (5.3) over forecast methods conditional on is the same as minimizing

where the minimization is over and we used that the loss function does not depend on θ. Here is the (posterior) predictive density for Y. The optimal Bayesian point forecast is the forecast that minimizes expected loss with respect to this posterior predictive density.

Obtaining the posterior density of the parameters, , involves the usual Bayesian posterior density estimation problem for the model parameters. Hence, Bayesian forecasting can utilize a set of well-established methods. Many expositions cover this general problem and explain how to go about constructing the posterior density; see, e.g., Geweke (2005). The next example illustrates how the Bayesian predictive density can be derived in a simple case.

Example 5.1.1 (Computing the predictive density for an i.i.d. Gaussian series). Let ind with known, and suppose the prior on is

Using observations to construct the forecast, the posterior density for is

where is the sample mean. The predictive density for then follows from

which results in

where the variance . This distribution is the Bayesian density forecast

Just as in the classical case, for some problems the predictive density may be considered a more useful summary of the forecast than a point forecast. In many practical forecast situations this is what most Bayesians would consider to be the objective of a forecasting problem because of the generality of the solution.

Once we have the predictive density, , the best forecast can be constructed using the equivalent to the first step of the two-step classical approach, but with the predictive density in place of the unknown conditional density. For example, under MSE loss, the best estimator is the conditional mean of given z. The Bayesian equivalent is the mean of the predictive density . Similarly, for the lin-lin loss function we could report the relevant quantile of the predictive density.

Example 5.1.2 (Forecasting the mean of an i.i.d. Gaussian series under MSE loss). Under MSE loss and using the setup in Example 5.1.1, the forecast becomes

This is a shrinkage estimator that shrinks the sample mean, , towards the prior mean, with weights that depend on the information in the prior and the sample . In large samples the weight on the sample mean gets closer to 1. A similar result occurs for a more diffuse prior, i.e., a larger value of

Example 5.1.3 (Forecasting the mean of an i.i.d. Gaussian series under Linex loss). Under the Linex loss function, the optimal forecast given the conditional density is the mean plus times the variance. Using the predictive distribution in , this is

which is the Bayesian point forecast.

Both Examples 5.1.2 and 5.1.3 use the same predictive density to construct point forecasts under different loss functions. Provision of the predictive density would therefore have been sufficient for forecasters in each of these cases.

Finally, when specifying the likelihood function used to construct the predictive density we required a model for both y and z, the choice of which will influence the results. This assumption of a known model is also implicit when we use the same θ for both the model and the true joint density of the data. Extension of Bayesian methods to allow for an unknown model often involves averaging over different models with weights reflecting the posterior likelihood that a particular model is “true.” We examine such approaches in chapter 14.

In addition to providing the predictive density or Bayesian point forecasts, we can also examine the expected loss through the risk function. Expressions for these objects can be obtained by plugging the optimal forecast, , into either Bayes risk (equations (5.1) and (5.3)) or the risk function (5.2) which depends on θ . First, consider the risk function, . Denoting the optimal forecast by , the risk becomes

Given the function , this reduces to a function of θ —just as in the classical case. For a given forecast, , the risk function can be examined for various values of to consider the associated risk.

Example 5.1.4 (Forecasting the mean of an i.i.d. Gaussian series under MSE loss, continued). For this example, , so we need to evaluate

We know that the conditional density is . Integrating over this, we obtain , i.e., the variance plus the squared bias. Here is a function of since it depends on . Integrating over we have

where . This risk function shows the trade-off between using an informative prior versus using the sample mean. The sample mean is obtained from by letting , so , corresponding to a flat prior. From, we have . Since , the prior reduces the variance component but adds a squared bias component . When the prior mean, is sufficiently close to the true value, , this will reduce risk. However, for more distant values the squared bias term can be greater than the estimation risk from using the least squares forecast.

For the simplest of forecast situations, this example again shows the lack of a single approach that is optimal across all models. Different choices of prior result in different estimators and different risk functions, but none is uniformly better than the others.

To reduce risk from a function of θ to a single number, and hence a measure that allows us to rank different methods, we need to weight all the possible values for θ. This requires a distribution over θ. Using the prior distribution, , we have

Since was chosen to minimize this weighted average risk, clearly the Bayes approach both minimizes the risk for this weighting and provides a constructive method for deriving the best forecasting rule. Indeed, under any weighting over the parameters, the Bayes’ rule constructed for priors that are identical to that weighting provides an optimal forecast method. Classical methods can also be optimal if they are equivalent to some Bayes’ rule.

Example 5.1.5 (Forecasting the mean of an i.i.d. Gaussian series under MSE loss, continued). Using the prior density , we have

For any choice of . Equality holds as

练习题

What is the expression for risk ?

A.
B.
C. R ( \theta , f ) = \int _ { z } _ { P Z } ( z | \theta ) d z
D.

What is the alternative expression for Bayes risk?

A.
B.
C.
D.

Which of the following are true about the posterior for parameters using Bayes' rule?

A.
B.
C.
D.

Which of the following are steps in minimizing Bayes risk over forecast methods conditional on ?

A. Minimize
B. Minimize
C. Minimize
D. Minimize

The posterior predictive density for is given by .

The optimal Bayesian point forecast minimizes expected loss with respect to the prior predictive density.

The predictive density for in the i.i.d. Gaussian series example is , where and . The variance of the predictive density is ___.

The sample mean in the i.i.d. Gaussian series example is given by ___.

Explain the role of the loss function in the construction of the predictive density.

What is the optimal Bayesian point forecast under MSE loss in the i.i.d. Gaussian series example?

Which of the following are true about the predictive density in Bayesian forecasting? (Select all that apply)

A. It summarizes the uncertainty about the outcome variable given the observables .
B. It is constructed using only the observables and does not involve any model assumptions.
C. It can be used to form point forecasts by taking summary statistics with respect to the loss function.
D. It is independent of the prior distribution over the parameters.

Which of the following are difficulties in specifying the joint density in Bayesian forecasting? (Select all that apply)

A. The joint density of the data is typically unknown.
B. Properties of the forecast depend on the choices made for the joint density.
C. The joint density can be easily estimated from the data without any assumptions.
D. One possibility is to consider multiple models and use Bayesian model averaging.

登录后解锁笔记、知识点解析、AI 问答

立即登录