Stepwise regression

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In statistics, stepwise regression includes regression models in which the choice of predictive variables is carried out by an automatic procedure.[1][2][3] Usually, this takes the form of a sequence of F-tests, but other techniques are possible, such as t-tests, adjusted R-square, Akaike information criterion, Bayesian information criterion, Mallows' Cp, or false discovery rate.

In this example from engineering, necessity and sufficiency are usually determined by F-tests. For additional consideration, when planning an experiment, computer simulation, or scientific survey to collect data for this model, one must keep in mind the number of parameters, P, to estimate and adjust the sample size accordingly. For K variables, P = 1(Start)+ K(Stage I)+ (K2-K)/2(Stage II)+ 3K(Stage III)= .5K2+ 3.5K + 1. For K<17, an efficient design of experiments exists for this type of model, a Box-Behnken design,[4] augmented with positive and negative axial points of length min(2,sqrt(int(1.5+K/4))), plus point(s) at the origin. There are more efficient designs, requiring fewer runs, even for K>16.

Contents

[edit] Main Approaches

The main approaches are:

  • Forward selection, which involves starting with no variables in the model, trying out the variables one by one and including them if they are 'statistically significant'.
  • Backward elimination, which involves starting with all candidate variables and testing them one by one for statistical significance, deleting any that are not significant.
  • Methods that are a combination of the above, testing at each stage for variables to be included or excluded.

A widely used algorithm was first proposed by Efroymson (1960).[5] This is an automatic procedure for statistical model selection in cases where there is a large number of potential explanatory variables, and no underlying theory on which to base the model selection. The procedure is used primarily in regression analysis, though the basic approach is applicable in many forms of model selection. This is a variation on forward selection. At each stage in the process, after a new variable is added, a test is made to check if some variables can be deleted without appreciably increasing the residual sum of squares (RSS). The procedure terminates when the measure is (locally) maximized, or when the available improvement falls below some critical value.

[edit] Selection criteria

One of the main issues with stepwise regression is that it searches a large space of possible models. Hence it is prone to overfitting the data. In other words, stepwise regression will often fit much better in sample than it does on new out of sample data. This problem can be mitigated if the criteria for adding (or deleting) a variable is stiff enough. The key line in the sand is at what can be thought of as the Bonferroni point: namely how significant the best spurious variable should be based on chance alone. On a t-statistic scale, this occurs at about \sqrt{2\; \log(p)}, where p is the number of predictors. Unfortunately, this means that many variables which actually carry signal will not be included. This fence turns out to be the right trade off between over-fitting and missing signal. If we look at the risk of different cutoffs, then using this bound will be within a 2 \; \log(p) factor of the best possible risk. Any cut off will end up having a larger such risk inflation.[6][7]

[edit] Model Accuracy

A way to test for errors in models created by step-wise regression, is to not rely on the model's F-statistic, significance, or multiple-r, but instead assess the model against a set of data that was not used to create the model[8]. This is often done by building a model based on a sample of the dataset available (e.g. 70%) and use the remaining 30% dataset to assess the accuracy of the model. Accuracy is then often measured as the actual standard error (Se), MAPE, or mean error between the predicted value and the actual value in the hold-out sample [9]. This method is particularly valuable when data is collected in different settings (e.g. time, social) or when models are assumed to be generalizable.

[edit] Criticism

Stepwise regression procedures are used in data mining, but are controversial. Several points of criticism have been made.

  • A sequence of F-tests is often used to control the inclusion or exclusion of variables, but these are carried out on the same data and so there will be problems of multiple comparisons for which many correction criteria have been developed.[citation needed]
  • It is difficult to interpret the p-values associated with these tests, since each is conditional on the previous tests of inclusion and exclusion (see "dependent tests" in false discovery rate).[citation needed]
  • The tests themselves are biased, since they are based on the same data. (Rencher and Pun, 1980, Copas, 1983).[10][11] Wilkinson and Dalall (1981)[12] computed percentage points of the multiple correlation coefficient by simulation and showed that a final regression obtained by forward selection, said by the F-procedure to be significant at 0.1% was in fact only significant at 5%.
  • When estimating the degrees of freedom, the number of the candidate independent variables from the best fit selected is smaller than the total number of final model variables, causing the fit to appear better than it is when adjusting the r2 value for the number of degrees of freedom. It is important to consider how many degrees of freedom have been used in the entire model, not just count the number of independent variables in the resulting fit.[13]
  • Models that are created may be too-small than the real models in the data. [14]

Critics regard the procedure as a paradigmatic example of data dredging, intense computation often being an inadequate substitute for subject area expertise.

[edit] See also

[edit] References

  1. ^ Hocking, R. R. (1976) "The Analysis and Selection of Variables in Linear Regression," Biometrics, 32.
  2. ^ Draper, N. and Smith, H. (1981) Applied Regression Analysis, 2d Edition, New York: John Wiley & Sons, Inc.
  3. ^ SAS Institute Inc. (1989) SAS/STAT User's Guide, Version 6, Fourth Edition, Volume 2, Cary, NC: SAS Institute Inc.
  4. ^ Box-Behnken designs from a handbook on engineering statistics at NIST
  5. ^ Efroymson, MA (1960) "Multiple regression analysis." In Ralston, A. and Wilf, HS, editors, Mathematical Methods for Digital Computers. Wiley.
  6. ^ Foster, Dean P. and Edward I. George (1994) "The Risk Inflation Criterion for Multiple Regression," Annals of Statistics Volume 22, Number 4 1947-1975. doi:10.1214/aos/1176325766
  7. ^ Donoho, David L. and Iain M. Johnstone (1994), "Ideal spatial adaptation by wavelet shrinkage", Biometrika 81(3):425-455. doi:10.1093/biomet/81.3.425
  8. ^ Jonathan Mark and Michael A. Goldberg (2001). Multiple Regression Analysis and Mass Assessment: A Review of the Issues. The Appraisal Journal, Jan. pp. 89-109
  9. ^ Mayers, J.H and Forgy E.W. (1963). The Development of numerical credit evaluation systems. Journal of the American Statistical Association, Vol.58 Issue 303 (Sept) pp 799-806
  10. ^ Rencher, A.C. and Pun, F.C. (1980) "Inflation of R² in Best Subset Regression." Technometrics. 22.49-54.
  11. ^ Copas, J.B. (1983) "Regression, prediction and shrinkage." J. Roy. Statist. Soc. Series B. 45. 311-354.
  12. ^ Wilkinson, L. and Dallal, G.E. (1981) "Tests of significance in forward selection regression with an F-to enter stopping rule." Technometrics. 23. 377-380.
  13. ^ Hurvich, C. M. and C. L. Tsai. 1990. The impact of model selection on inference in linear regression. American Statistician 44: 214–217.
  14. ^ Roecker, Ellen B. 1991. Prediction error and its estimation for subset—selected models. Technometrics 33: 459–468.
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export