[R] Preparing dataset for glmnet: factors to dummies

Frank Harrell f.harrell at vanderbilt.edu
Wed Feb 2 01:02:21 CET 2011


I believe that glmnet scales variables by their standard deviations.  This
would not be appropriate for categorical predictors.

Frank


-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
-- 
View this message in context: http://r.789695.n4.nabble.com/Preparing-dataset-for-glmnet-factors-to-dummies-tp3250791p3253210.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list