A causal analysis of scientific performance