Before revision:  We extend our results to p-hacking when there is also publication bias , and also consider what types of distributions arise under the alternative hypothesis that researchers engage in p-hacking.
After revision:  Results are extended to practical situations where there is publication bias and when reported p-values are rounded. We also show that tests for p-hacking when there is also publication bias , and also consider what types of distributions arise under the alternative hypothesis that researchers engage in p-hacking.