Skip to content

Comparisons between best subset selection and other popular estimators for sparse regression

License

Notifications You must be signed in to change notification settings

Sarasra/best-subset

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Best Subset Selection and Related Tools

Trevor Hastie, Rob Tibshirani, Ryan Tibshirani

Maintained by Ryan Tibshirani

This project contains an implementation of best subset selection in regression, based on a mixed integer quadratic program formulation of the subset selection problem and the Gurobi mixed integer program optimizer. It also contains tools for running simulations comparing best subset selection to the lasso and forward stepwise selection.

The mixed integer programming formulation of subset selection and simulation setup is based on the paper: Bertsimas, King, Mazumder (2016), "Best subset selection via a modern optimization lens".

For our discussion paper on best subset selection, forward stepwise, and the lasso, see: https://arxiv.org/abs/1707.08692.

Install the R package

To install the bestsubset R package directly from github, run the following in R:

library(devtools)
install_github(repo="ryantibs/best-subset", subdir="bestsubset")

About

Comparisons between best subset selection and other popular estimators for sparse regression

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 88.6%
  • TeX 5.8%
  • C 5.6%