Variable selection in linear regression
We present a new Stata program, vselect, that helps users perform variable selection after performing a linear regression. Options for stepwise meth- ods such as forward selection and backward elimination are provided. The user may specify Mallows’s Cp, Akaike’s information criterion, Akaike’s corrected informa- tion criterion, Bayesian information criterion, or R2 adjusted as the information criterion for the selection. When the user specifies the best subset option, the leaps-and-bounds algorithm (Furnival and Wilson, Technometrics 16: 499–511) is used to determine the best subsets of each predictor size. All the previously men- tioned information criteria are reported for each of these subsets. We also provide options for doing variable selection only on certain predictors (as in [R] nestreg) and support for weighted linear regression. All options are demonstrated on real datasets with varying numbers of predictors.
Volume (Year): 10 (2010)
Issue (Month): 4 (December)
|Note:||to access software from within Stata, net describe http://www.stata-journal.com/software/sj10-4/st0213/|
|Contact details of provider:|| Web page: http://www.stata-journal.com/|
|Order Information:||Web: http://www.stata-journal.com/subscription.html|