Skip to main content Link Search Menu Expand Document (external link)

Interactive p-hacking Demo

Use the interactive tool below to explore how choosing different variables can produce a β€œstatistically significant” result (p < 0.05). This is the hands-on companion to Assignment 2.

Credit: This demo is a self-hosted copy of "Hack Your Way to Scientific Glory" by Andrew Heiss, a recreation of the original FiveThirtyEight p-hacking interactive. Source code: github.com/andrewheiss/hack-your-way.