How reasonable analysis choices and selective visibility can make noise look like evidence.
Assume the true treatment effect is exactly zero. A researcher has 20 defensible analysis paths and would be tempted to report whichever one looks most convincing.
1a. About how often do you think at least one of the 20 paths will produce p < .05 purely by chance?
1b. If journals only showed you significant results from many null studies, what would you expect the visible effect sizes to look like compared with all the effect sizes that were actually observed?
Every path below comes from the same teaching scenario: true effect = 0, n = 30 per group, df = 58. Think of the paths as different outcomes, exclusion rules, covariate choices, or other defensible decisions. This toy treats the paths as independent so the multiplicity mechanism is easy to see; real analysis paths are often correlated.
Q1. What changed when you clicked “Show only p < .05”? What did not change?
Q2. Compare “Show only p < .05” with “Pre-registered path only.” Why does choosing the analysis before seeing the results change the evidential situation?
For one independent test with α = .05 and a true null, the false-positive probability is 5%. For 20 independent opportunities:
1 − (1 − .05)20 = 64.2%
This is a teaching benchmark, not a universal p-hacking rate. Real researcher degrees of freedom are often dependent, and their false-positive rate depends on the exact decision process.
Q3. Why is the reported p = .025 from one selected path misleading if the reader is not told that 20 paths were available?
Q4. Why does this not mean that every researcher who explores multiple analyses is dishonest?
Next are 100 separate null studies, each with one prespecified two-group test. The true effect is zero in every study. Five happen to produce p < .05. Toggle what enters the visible “literature.”
Mean |d| describes observed magnitude regardless of direction. The true population effect is still zero.
Q5. After applying the publication filter, the mean visible |d| rises from about .22 to about .55. Did the true effect change? Explain why the visible literature did.
Q6. Why are the five published effects not “fake numbers,” even though the literature they create is misleading?
| Mechanism | What is selected? | What the reader loses |
|---|---|---|
| Researcher degrees of freedom / p-hacking | Which analysis path becomes the reported result | The number and identity of alternative analyses that were possible or tried |
| Publication bias | Which studies become visible | The null studies sitting in the file drawer |
| Preregistration | Analysis is committed before results are known | Reduces hidden flexibility; exploratory deviations can still be reported transparently |
| Registered reports | Publication decision is based on design before results | Decouples publication from whether the result is significant |
Q7. Which problem does preregistration address most directly, and which problem do registered reports address most directly?
Q8. Why does neither practice guarantee that a finding is correct?
Run the code before opening the output. It reconstructs the 20-path example and the 100-study publication filter from the fixed t statistics used by the browser.
n <- 30 df <- 58 t20 <- c( 0.545349,-2.241455,0.865746,0.809817,-0.269946, -0.245894,-0.301093,-0.378348,-1.345396,-0.100095, -0.035827,-1.697757,2.303472,0.004809,1.119254, 0.069825,-1.191101,-1.391403,-1.832497,0.304465 ) p20 <- 2 * pt(-abs(t20), df = df) d20 <- t20 * sqrt(2 / n) sum(p20 < .05) which(p20 < .05) round(cbind(path = 1:20, d = d20, p = p20), 3) 1 - (1 - .05)^20 t100 <- c( -1.574880,-0.502270,-1.324161,1.970616,0.198654,1.334390,0.648633,-1.540041,1.538968,-0.803944, -0.534402,-0.731756,0.387643,0.727465,-1.894543,0.172830,0.276690,-0.983954,-1.194390,0.893107, -0.262179,0.096538,-0.768186,0.357153,-0.211837,-1.190820,-0.086892,-0.684666,-0.871105,1.549701, 2.176070,2.179945,-1.429020,-1.147249,0.128919,0.179300,-0.467734,0.412502,1.862201,-0.009739, 0.536631,-0.334097,-0.287013,0.751732,-1.031268,0.254880,1.205959,2.139512,0.379798,-0.051218, 0.410347,0.560413,0.508108,-1.299242,-1.457739,-0.185386,-1.002560,-0.203881,-0.891222,-1.145121, -1.113641,-1.187916,0.404723,-0.458565,0.020317,1.719656,-1.196954,-2.079226,-1.689157,0.807758, 1.214065,0.021941,-1.391836,-0.118775,-0.570154,-1.347233,-0.740656,-0.079829,0.555850,1.585772, 0.846919,0.379642,0.928907,-0.623646,-0.913429,0.744863,-1.557304,-0.596061,0.256714,1.202492, -0.505395,0.342621,-1.844174,1.632295,-2.096458,0.268488,0.989850,-0.466329,-0.500673,-0.174386 ) p100 <- 2 * pt(-abs(t100), df = df) d100 <- t100 * sqrt(2 / n) keep <- p100 < .05 sum(keep) round(mean(abs(d100)), 3) round(mean(abs(d100[keep])), 3)
20-path example: 2 significant paths Paths 2 and 13 At least one false positive among 20 independent tests: 0.6415 100-study literature: 5 significant studies mean |d| across all 100 = 0.220 mean |d| among p < .05 studies = 0.551
Q9. In the 20-path example, compare Path 1 with Paths 2 and 13. What does preregistering Path 1 prevent the researcher from doing after seeing the data?
Q10. What is the most important limitation of the 64.2% calculation?
Q11. Re-read Step 1. What changed in your understanding of a “significant published finding”?
Q12. Complete this sentence: “Before treating a significant published result as strong evidence, I want to know ___.”
Filename: forking-paths_lastname1_lastname2.pdf