在回归方程中自动剔除不显著变量(逐步回归法)的Stata操作命令
stepwise命令的语法格式为:
stepwise [,options ] :regress depvar [indepvars]
或
sw regress depvar [indepvars],[,options ]
其中,sw regress depvar [indepvars]为进行回归分析的命令,[,options]为可选项,如表6.4所示。
在回归方程中自动剔除不显著变量(逐步回归法)的Stata操作命令
stepwise命令的语法格式为:
stepwise [,options ] :regress depvar [indepvars]
或
sw regress depvar [indepvars],[,options ]
其中,sw regress depvar [indepvars]为进行回归分析的命令,[,options]为可选项,如表6.4所示。