The obvious cofounder is that people who drink coffee a lot have a higher socioeconomic status, better healthcare quality or a less dangerous job. It's like those studies that show drinking wine raises life expectancy.
44% of the participants were drinking instant coffee. I don't think socioeconomic status is relevant.
Even so, I imagine that people who don't have jobs drink less coffee (they don't have anywhere to be). And those same people are probably of lower socioeconomic status.
…Because only poor people drink instant coffee?
No, because poverty is not a barrier to drinking coffee.
Drinking freshly-ground coffee may be linked to socioeconomics status, but drinking coffee probably isn't.
I see what you mean, I misunderstood.
I wonder if this study is a bit one-eyed. Coffee contains certain neurotoxic amines of the beta-carboline family which can also cause anxiety and depression.