Forking Paths and the Significance Filter

How reasonable analysis choices and selective visibility can make noise look like evidence.

Working guidelines

0% Complete

Learning objectives

  1. Explain how testing many analysis paths increases the chance of finding at least one apparently significant result when the true effect is zero.
  2. Distinguish the false-positive problem created by multiple analysis paths from publication bias created by selective visibility.
  3. Explain why filtering for p < .05 inflates the observed magnitude of effects that remain visible.
  4. Explain how preregistration and registered reports change the decision process without guaranteeing that a result is true.

Step 1: Predict first

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?

Step 2: One null study, twenty paths

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.

Paths tested20
p < .052
Largest |d|0.59
Pre-registered Path 1p = .588
All 20 results are visible. Two happen to cross .05 even though the true effect is zero.

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?

Step 3: The family of opportunities

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?

Step 4: Now add a publication filter

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.”

Studies conducted100
Significant5
Mean |d| — all0.220
Mean |d| — visible0.220
You can currently see the whole evidence base, including the 95 non-significant studies.

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?

Step 5: Separate the mechanisms

MechanismWhat is selected?What the reader loses
Researcher degrees of freedom / p-hackingWhich analysis path becomes the reported resultThe number and identity of alternative analyses that were possible or tried
Publication biasWhich studies become visibleThe null studies sitting in the file drawer
PreregistrationAnalysis is committed before results are knownReduces hidden flexibility; exploratory deviations can still be reported transparently
Registered reportsPublication decision is based on design before resultsDecouples 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?

Step 6: Bridge the fixed results to R

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)
Check your output — open this after you have run the code yourself.
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?

Step 7: Return to your prediction

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 ___.”

Submission checklist

Filename: forking-paths_lastname1_lastname2.pdf