An interactive demo app illustrating the NNT’s paper on P-value hacking.
In his paper (Taleb 2016), N.N.Taleb explains the idea of p-value hacking and derives the exact probability distribution for p-values across ensembles of statistically identical phenomena.
Some people whom I discussed that paper with, found it somewhat difficult to develop an intuition towards the practical consequences of p-values being a random variable with its own probability distribution.
To help develop such an intuition I’ve put together a very simple demo app using Shiny (Chang et al. 2022).
How to use the app:
The app’s source code is available at https://github.com/mikeivanov/pvalhack/.