[R] Subject: glm and stepAIC selects too many effects

Ravi Varadhan ravi.varadhan at jhu.edu
Tue Jun 6 17:10:52 CEST 2017


More principled would be to use a lasso-type approach, which combines selection and estimation in one fell swoop!



Ravi

________________________________
From: Ravi Varadhan
Sent: Tuesday, June 6, 2017 10:16 AM
To: r-help at r-project.org
Subject: Subject: [R] glm and stepAIC selects too many effects


If AIC is giving you a model that is too large, then use BIC (log(n) as the penalty for adding a term in the model).  This will yield a more parsimonious model.  Now, if you ask me which is the better option, I have to refer you to the huge literature on model selection.

Best,

Ravi

	[[alternative HTML version deleted]]



More information about the R-help mailing list