"Model selection is not a valid method for inferring causal relationships.
Model selection is appropriate for predictive inference (i.e. which model best predicts Y?), which is fundamentally distinct from causal inference (i.e. what is the effect of X on Y?)"
Imagine we want to assess the effect of 'Forestry' on 'Species Y'. But we know other things may also affect Y
We could put all these variables in a regression model (what @rlmcelreath calls a causal salad), or build models w/ different subsets of predictors and compare them.
That will lead to biased estimates. The best model based on AIC & BIC includes more predictors and gives biased estimate of Forestry effect on Y
The causal model (based on DAG) has much larger AIC but gives correct estimate
This applies to Machine Learning too (random forests etc). Showing high variable importance does not mean those predictors are important from a causal point of view, only that they are useful to get good predictions
Causal inference is rarely taught, yet seems so important. Many papers do not aim to predict but to make inferences about how important different variables are. It seems we're too often using a wrong approach
I'm trying to learn more about this. This is another recent paper from @ArifSuchinta next on my reading list: #ecopubs
Sometimes authors are sorted in decreasing order of contribution, so 2nd author is important. Sometimes last author is more important
This paper looked at contribution statements of >12,000 papers and found that middle and last authors range from doing almost nothing to having done most of the work doi.org/10.1126/sciadv…
There's large variation and many factors (incl. power dynamics) affecting authors order
First, data and code behind published papers must be public (except for justified reasons). It's unbelievable that we have to blindly trust what is said in a paper without being able to look inside. And yes, that happens so often pnas.org/content/115/11… 2/n
Failure to publish data and code means errors never get caught (or take years of unnecessary struggles e.g. physicstoday.scitation.org/do/10.1063/PT.…).
And no one else can ever build upon those data and code, hindering scientific progress 3/n