Skip to content
Prev 176208 / 398502 Next

all subsets for glm

If you actually want to find the best subsets, you can get a good 
approximation by using leaps on the weighted least squares fit that is the 
last iteration of the IWLS algorithm for fitting the glm.

Running regsubsets witha reasonably large value of nbest and then 
refitting the top models as glms afterwards will fairly realiably give the 
best glms.

Whether this is better than lasso depends on what you are trying to do - 
IMO the only point of all-subsets regression is to get many best models 
rather than a single one, and lasso doesn't do at all well at that.

 	-thomas
On Sat, 4 Apr 2009, Harald von Waldow wrote:

            
Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle