Yea, happy to explain more. The feature importance score in a RF is a measure of predictive power of that feature - only that. Causation is a very different from prediction, and requires other assumptions and tools to answer. Here's a simple example:
In my random forest model, I am trying to predict incidence of Down's syndrome in newborns. A variable I have is "birth order", that is, how many children the mother has had prior (plus other variables). Because of data collection problems, I don't have the maternal age. My random forest model will say "wow a high birth order is very important to predicting Down's syndrome" (this is true infact, given this model and dataset) - and naively people interpret that as high birth order causes Down's syndrome. But this is false - it's actually maternal age, our missing variable, that is causing both birth order and Down's syndrome. But because we didn't observe maternal age, we had no idea.
This simple illustration implies that the data we collect, and their relationship to each other (which is sometimes subjective) is necessary for causation. A fitted model alone can not tell us causation. And often in random forest, you don't care what goes in the model (often it's everything you can include) because it often results in better predictive performance. However, to do causal inference, you need to be selective about what variables go in (there are reason to include and reasons not to include variables).
6
u/HootBack Mar 19 '19
Yea, happy to explain more. The feature importance score in a RF is a measure of predictive power of that feature - only that. Causation is a very different from prediction, and requires other assumptions and tools to answer. Here's a simple example:
In my random forest model, I am trying to predict incidence of Down's syndrome in newborns. A variable I have is "birth order", that is, how many children the mother has had prior (plus other variables). Because of data collection problems, I don't have the maternal age. My random forest model will say "wow a high birth order is very important to predicting Down's syndrome" (this is true infact, given this model and dataset) - and naively people interpret that as high birth order causes Down's syndrome. But this is false - it's actually maternal age, our missing variable, that is causing both birth order and Down's syndrome. But because we didn't observe maternal age, we had no idea.
This simple illustration implies that the data we collect, and their relationship to each other (which is sometimes subjective) is necessary for causation. A fitted model alone can not tell us causation. And often in random forest, you don't care what goes in the model (often it's everything you can include) because it often results in better predictive performance. However, to do causal inference, you need to be selective about what variables go in (there are reason to include and reasons not to include variables).
Some reading further:
https://dataorigami.net/blogs/napkin-folding/three-pillars-of-data-science
https://arxiv.org/abs/1804.10846
The Book of Why