How can I avoid mistakes during analysis?

Everyone makes mistakes during data analysis. Careful checks of the literature consistently that exact results are difficult to reproduce, and reporting errors are fairly common (see also Nuijten et al., 2016, below). All of us have very likely made mistakes, and are likely to make more in the future. Open practices help others spot these and correct them; we can work to reduce the incidence of errors.

Tools

  • Statcheck automatically checks the consistency of APA-formatted test statistics and p values in manuscripts. It can process HTML, PDF and DOC files directly, but can also check individual test statistics. The online version works without installation; an R package is also available for local use.
    Using statcheck, Nuijten et al. (2016) re-checked over a quarter-million p values spanning almost 30 years of psychological research, and found inconsistent reported results in one in two articles, and qualitative divergences from the reported conclusions in one in eight articles.

See also

In general, any practice that increases the transparency of your results is also likely to help you spot room for improvement. Many more ideas are listed on the reproducible analysis page.