The binomial labθ₀ = ½

Two tails, two questions.

Why can a one-sided p-value look like a posterior probability?
Explore the connection—and the half-bar that can separate them.

CLASSROOM EXAMPLES
Sampling distribution

Fix θ. Vary the data.

Strictly more extremeObserved outcome
All possible outcomes shown.

Posterior distribution

Fix the data. Vary θ.

Opposite to the tested directionPrior

Compare all three tail conventions
Same observed data, same prespecified direction. Only the boundary convention changes.
QuantityObserved bar countedProbability

“Strict tail” is included to explain the algebra; it is not the usual valid exact p-value. A mid-p value also lacks the usual conservative Type I error guarantee.