正在学习

2.1 CONSTRUCTION AND SPECIFICATION OF THE LOSS FUNCTION

2.1 CONSTRUCTION AND SPECIFICATION OF THE LOSS FUNCTION

Let Y denote the random variable describing the outcome of interest and let Y denote the set of all possible outcomes. For outcomes that are either continuous or can take on a very large number of possible values, typically is the real line, R. In some forecasting problems the set of possible outcomes, can be much smaller, such as for a binary random variable where . For multivariate outcomes typically for some integer where k is the number of forecasts to be evaluated.

Point forecasts are denoted by and are defined on the set . Typically we assume since in most cases it does not make sense to have forecasts that cannot take on the same values as or, conversely, have forecasts that can take on values that the outcome cannot. There are exceptions to this rule, however. For example, a forecast of the number of children per family could be a fraction such as 1.9, indicating close to 2 children, even though cannot take this value. We assume that the predictors (as well as the outcome Y and hence the forecast are real valued. Formally, the loss function, , is then defined as a mapping , where is in , and contains the set of possible values the conditioning variables, can take. Often , the set of nonnegative real numbers. Alternatively, we could constrain the forecasts to lie in the convex hull of the set of all possible outcomes, i.e., . We discuss this further below.

A common assumption for loss functions is that loss is minimized when the forecast is equal to the outcome—min f . The idea is that if we are to find a forecast that minimizes loss, then nothing dominates a perfect forecast. In cases where the loss function does not depend on so , it is natural to normalize the loss function so that it takes a minimum value at 0. This can be done without loss of generality by subtracting the loss associated with the perfect forecast for any loss function, For to be a unique minimum we must have for all More generally, when the loss function varies with Z, it may not be possible to rescale the loss function in this manner. For example, a policy maker’s loss function over inflation forecasts might depend on the unemployment rate so that losses from incorrect inflation forecasts depend on whether the unemployment rate is high or low. For simplicity, in what follows we will mostly drop the explicit dependence of the loss function on Z and focus on the simpler loss functions .

2.1.1 Constructing a Loss Function

Construction of loss functions, much like construction of prior distributions in Bayesian analysis, requires a careful study of the forecasting problem at hand and should reflect the actual trade-offs between forecast errors of different signs and magnitudes. Laying out the trade-off can be straightforward if the decision environment is fully specified and naturally results in a measurable outcome that depends on the forecast. For example, for a profit-maximizing investor with a specific trading strategy that requires forecasts of future asset prices, the natural choice of loss is the function relating payoffs to the forecast and realized returns. Other problems may not lead so easily to a specific loss function. For example, when the IMF forecasts individual countries’ budget deficits, both short-term considerations related to debt financing costs and long-term reputational concerns could matter.2 In such cases one can again follow a Bayesian prior selection strategy of defining a function that approximates a reasonable shape of losses associated with decisions based on incorrect forecasts.

Loss functions, as used by forecasters to evaluate their performance, and utility functions, as used by economists to assess the economic value of different outcomes, are naturally related. Both are grounded in the same decision-theoretic setup which regards the forecast as the decision and the outcome as the true state and maps pairs of outcomes (states) and forecasts to the real line. In both cases we are interested in minimizing the expected loss or disutility that arises from the decision.

The relationship between utility and loss is examined in Granger and Machina (2006), who show that the loss function can be viewed as the negative of a utility function, although a more general relation of the following form holds:

where k(Y) plays no role in the derivation of the optimal forecast.

Example 2.1.1 (Squared loss and utility). Granger and Machina (2006) show that a utility function generates squared error loss, if and only if it takes the form

It follows that utility functions associated with squared error loss are restricted to a very narrow set.

Academic studies often do not derive loss functions from first principles by referring to utility functions or fully specified decision-theoretic problems, though there are some exceptions. Loss functions that take the form of profit functions have been used to evaluate forecasts by Leitch and Tanner (1991) and Elliott and Ito (1999). West et al. (1993) compare utility-based and statistical measures of predictive accuracy for exchange rate models. Examples of loss functions derived from utility are provided in the final section of this chapter.

练习题

When the outcome is a continuous random variable, what is the typical set of all possible outcomes ?

A.
B. for some integer
C.
D.

What is the common assumption about the loss function regarding the minimum loss?

A. Loss is maximized when
B. Loss is minimized when
C. Loss is minimized when
D. Loss is independent of the relationship between and

Which of the following statements about the set of point forecasts are correct?

A. Typically
B. can never take values that cannot
C. There are exceptions where
D. is always a subset of the convex hull of

The loss function is a mapping , where .

When constructing a loss function, it is not necessary to consider the actual trade - offs between forecast errors of different signs and magnitudes.

We can constrain the forecasts to lie in the convex hull of the set of all possible outcomes, i.e., , where represents the ___.

If the loss function does not depend on , we can normalize it so that it takes a minimum value at 0 by subtracting the loss associated with the perfect forecast , i.e., , where is any ___.

Explain the relationship between loss functions and utility functions.

What conditions must be met for to be a unique minimum of the loss function ?

Which of the following statements about constructing a loss function are correct when considering the forecasting problem at hand?

A. It should reflect the actual trade - offs between forecast errors of different signs and magnitudes
B. It can be constructed without considering the decision environment
C. For a profit - maximizing investor, the natural choice of loss is related to payoffs, forecasts, and realized returns
D. When the IMF forecasts budget deficits, only short - term considerations matter

A loss function is defined as for . What is the condition for the utility function to generate this loss function?

A.
B.
C.
D.

Which of the following statements are true regarding the construction of loss functions?

A. Loss functions should reflect the actual trade-offs between different forecast errors.
B. Loss functions are always symmetric for all forecasting problems.
C. The choice of a loss function affects the estimation of model parameters.
D. Loss functions are unrelated to the decision-theoretic setup.

The loss function is minimized when the forecast is equal to the outcome , i.e., .

In the context of loss functions, the set of all possible outcomes for a binary random variable is denoted as ___ .

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

立即登录