Exercise 8: The P-Value Lottery

Hacking the P-Value

The code below simulates a program that does NOTHING (Effect is 0). However, we will test it 100 times. How many times will we get a “Significant” result just by luck?