Hello Dewan Azmal Hossain. In case you do not already know, please note that there are many problems associated with stepwise regression (and automated, algorithmic variable selection in general). This Stata FAQ item summarizes things nicely.
Hello Dewan Azmal Hossain. In case you do not already know, please note that there are many problems associated with stepwise regression (and automated, algorithmic variable selection in general). This Stata FAQ item summarizes things nicely.
As Bruce Weaver says, there are lots of issues with the stepwise approach, particularly the automated versions based on things like shifts in R^2, but if that is what you want and you are using R, the leaps package ( https://cran.r-project.org/web/packages/leaps/leaps.pdf ) finds the set of predictor variables with the "best" fit according to the criterion you choose. If you want an automated procedure lasso regression has benefits over this, but in most cases unless you have tons of predictors and not much knowledge about how they relate, you should based your models on theory.
Further info on the lasso is also available at https://web.stanford.edu/~hastie/StatLearnSparsity/ , which can be downloaded there. The book mostly covers information already published in their papers, but it is nice to have it summarized in a uniform bookish way.