This is exactly the problem that the Center for Open Science [https://cos.io/] is hoping to solve with the Open Science Framework [https://www.osf.io].
These are the same people behind the large Reproducibility Project that was on the top of HN not too long ago.
> "It doesn't mean Facebook causes depression, but that depressed feelings and lots of time on Facebook and comparing oneself to others tend to go hand in hand," said Steers.
It's pretty explicit that they're not claiming causality.