Variable selection in linear regression

被引:80
|
作者
Lindsey, Charles [1 ]
Sheather, Simon [2 ]
机构
[1] StataCorp, College Stn, TX USA
[2] Texas A&M Univ, Dept Stat, College Stn, TX 77843 USA
来源
STATA JOURNAL | 2010年 / 10卷 / 04期
关键词
st0213; vselect; variable selection; regress; nestreg; MODEL SELECTION;
D O I
10.1177/1536867X1101000407
中图分类号
O1 [数学]; C [社会科学总论];
学科分类号
03 ; 0303 ; 0701 ; 070101 ;
摘要
We present a new Stata program, vselect, that helps users perform variable selection after performing a linear regression. Options for stepwise methods such as forward selection and backward elimination are provided. The user may specify Mallows's C-p, Akaike's information criterion, Akaike's corrected information criterion, Bayesian information criterion, or R-2 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 mentioned 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.
引用
收藏
页码:650 / 669
页数:20
相关论文
共 50 条