AI engineering glossary · Statistics inference

What is p-hacking?

P-hacking (also called Data dredging): Trying many analyses, subgroups, metrics or stopping points until one yields a small p-value, then reporting only that one. It inflates false positives and produces findings that fail to replicate.

Level: intermediateTopic: Statistics inference

P-hacking: an example

Slicing an experiment by 30 user segments and announcing the one segment with p = 0.04 as a win.

Related terms

More Statistics inference terms

Where you learn it

P-hacking is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.