Bias in random forest variable importance measures: illustrations, sources and a solution.
BACKGROUND
Variable importance measures for random forests have been receiving increased attention as a means of variable selection in many classification tasks in bioinformatics and related scientific fields, for instance to select a subset of genetic markers relevant for the prediction of a certain disease. We show that random forest variable importance measures are a sensible means for variable selection in many applications, but are not reliable in situations where potential predictor variables vary in their scale of measurement or their number of categories. This is particularly important in genomics and computational biology, where predictors often include variables of different types, for example when predictors include both sequence data and continuous variables such as folding energy, or when amino acid sequence data show different numbers of categories.


RESULTS
Simulation studies are presented illustrating that, when random forest variable importance measures are used with data of varying types, the results are misleading because suboptimal predictor variables may be artificially preferred in variable selection. The two mechanisms underlying this deficiency are biased variable selection in the individual classification trees used to build the random forest on one hand, and effects induced by bootstrap sampling with replacement on the other hand.


CONCLUSIONS
We propose to employ an alternative implementation of random forests, that provides unbiased variable selection in the individual classification trees. When this method is applied using subsampling without replacement, the resulting variable importance measures can be used reliably for variable selection even in situations where the potential predictor variables vary in their scale of measurement or their number of categories. The usage of both random forest algorithms and their variable importance measures in the R system for statistical computing is illustrated and documented thoroughly in an application re-analyzing data from a study on RNA editing. Therefore the suggested method can be applied straightforwardly by scientists in bioinformatics research.
Strobl
Carolin
C
Institut für Statistik, Ludwig-Maximilians-Universität München, Ludwigstr, 33, 80539 München, Germany. carolin.strobl@stat.uni-muenchen.de
Boulesteix
Anne-Laure
AL
Zeileis
Achim
A
Hothorn
Torsten
T
D000465:Algorithms; D015982:Bias; D019295:Computational Biology / Q000379:methods*; D003198:Computer Simulation; D003627:Data Interpretation, Statistical; D023281:Genomics / Q000379:methods*; D008954:Models, Biological; D015233:Models, Statistical; D011157:Population Dynamics