Setting the record straight: how data and code transparency caught an error and how I fixed it

“We were unable to reproduce your results, and I think the reason is that there is a bug in how you are calculating your correlation coefficients.”  That was part of an email I got this summer that absolutely crushed me. It doesn’t take much empathy to feel that knot in your stomach and existential dread from imposter syndrome, especially if you are currently a graduate student, post-doc, or another early-career researcher.

Continue reading