正在学习
6.6 HARD VERSUS SOFT THRESHOLDS: BAGGING
6.6 HARD VERSUS SOFT THRESHOLDS: BAGGING
By design, model selection provides hard thresholds for constructing a model in the sense that variables are either included or excluded (“out”). This makes sense if one is absolutely certain that the are 0 or far from 0 so that each variable should be in or out of the model. Better forecasting models might be obtained if variables whose inclusion is uncertain are allowed to have some limited influence. One such approach with this property is shrinkage estimation, which is discussed in chapter 4. A second approach is to combine forecasting models rather than select a single specification. In this case the models can be combined in a way that assigns large weight to models that include variables known to be valuable and assigns lower weight to models using variables whose inclusion is more uncertain. In this sense all variables can be included with weights reflecting how useful we find them to be. Model combination is covered in chapter 14. A third approach is Bagging, which can be viewed as an extension of many of the methods discussed in this chapter.
Bagging, short for bootstrap aggregating, is a general method for estimating a predictor. Introduced by Breiman (1996), the method is included here since the main application of Bagging in the forecasting literature has been to variable selection in prediction models. The method modifies the hard thresholds traditionally used in model selection—corresponding to 0–1 variable selection indicators—to soft thresholds which allow the variable selection indicators to take on a continuum of values. The approach involves three steps for obtaining the estimators from the data :
Draw resamples of the data to obtain a bootstrap sample of the same length as the original sample.
Compute an estimator of , based on the bth resample of the data,
Compute the final estimator, , as either the mean or some other function of the resampled estimates
Steps (1) and (3) can be tailored to reflect the presumed data-generating process as well as the targeted properties of the final estimator. For example, in Breiman’s original formulation, the data are i.i.d. and hence an i.i.d. (empirical) bootstrap is chosen. If the data are dependent, bootstrap methods that retain the dependence are required. For example, Inoue and Kilian (2008) use a block bootstrap that allows for dependent data. Other methods could also be employed, resulting in different estimators and hence different risk functions.
Example 6.6.1 (Bagging used in model selection). Bagging could be used to determine inclusion of variables to get a predictor:
where the indicator variable from the bth bootstrap, , equals 1 if the absolute value of the kth t-statistic in the regression model, , exceeds the threshold, t.¯
Model selection based on hard thresholding is one area where Bagging can be expected to lead to better results; see, e.g., Bühlmann and Yu (2003) in the context of i.i.d. data. Although hard thresholds are used to select a model in any given resample, Bagging translates this into a soft threshold as a result of choosing different models across different resamples in the second step and then averaging across these choices in the third step.
6.6.1 Generalized Shrinkage Methods
Stock and Watson (2012) show that many of the above methods can be viewed as generalized shrinkage methods in the context of a linear regression model with predictors:
where the regressors have been orthonormalized, i.e., normalized to have zero mean and unit variance and be uncorrelated so that . Stock and Watson show that, asymptotically and under assumptions that do not require the
predictors to be strictly exogenous, forecasts based on pre-tests, Bagging, and normal Bayes methods can be written in a generalized shrinkage form
where is the least squares estimator of and . The scalar κ depends on the forecasting method. For pre-testing methods, the shrinkage function takes the form , where c is a threshold. For example, the AIC asymptotically sets
练习题
What does model selection traditionally provide for constructing a model?
What is the main application of Bagging in the forecasting literature?
Which of the following are steps involved in obtaining the estimators using Bagging?
In Breiman’s original formulation of Bagging, the data are assumed to be dependent.
Bagging modifies the hard thresholds traditionally used in model selection to ___, which allow the variable selection indicators to take on a continuum of values.
Explain the purpose of the indicator variable in the Bagging model selection example formula.
Which of the following is a generalized shrinkage method in the context of a linear regression model?
Which of the following statements about Bagging and soft thresholds are correct?
The shrinkage function for pre-testing methods takes the form , where is a threshold.
What is the effect of increasing the tuning parameter in the Lasso method?
登录后解锁笔记、知识点解析、AI 问答
立即登录