Lawfare Group → Knowledge Institute → Lawfare Academy
← Research Methods & Scientific Reasoning
04 · Interpreting evidence
Hypothesis tests, p-values, and Bayesian updating
Learning objectives
- State what a p-value conditions on.
- Distinguish testing errors from probabilities of hypotheses.
- Explain updating with prior odds and likelihood ratios.
Complete on-site study route
Study this original lesson with the retained ten developed course-text chapters and their complete worked records. The Further reading stage links directly to the original on-site instrument record and Harbor cumulative inquiry, with full original and changed models and a 24-point rubric. All essential teaching is supplied on this site. External source links are optional references; practice and assessment are optional. Current whole-course review remains pending.
Start with the model being tested
A statistical test compares observed data with what a specified model would tend to generate. The null hypothesis often specifies no difference or another reference value, but it is only one part of the model. Assumptions about sampling, dependence, measurement, and distribution also matter. A surprising result can reflect a false null, failed background assumptions, or a combination.
A p-value is the probability, under the specified model, of obtaining a test statistic at least as incompatible with that model as the observed statistic according to the chosen rule. It is not the probability that the null hypothesis is true. It is also not the probability that chance alone caused the findings. The direction of conditioning matters: probability of data under a model differs from probability of a model given data.
Thresholds are decisions layered on evidence
An alpha level controls a type I error rate for a procedure under its assumptions. A type I error rejects a true null; a type II error fails to reject under a specified alternative. These are properties of a decision procedure across possible data, not labels that reveal what happened in one study. A result just below a threshold is not categorically different evidence from a result just above it.
The p-value does not measure effect magnitude or practical importance. With sufficiently large samples, a small difference may produce a small p-value. With imprecise data, a meaningful difference may not cross a threshold. Interpret the estimate, uncertainty, design, assumptions, and broader evidence together. Equivalence and noninferiority questions require dedicated hypotheses and margins rather than a casual interpretation of a nonsignificant superiority test.
Bayesian reasoning reverses the conditioning explicitly
Bayesian inference combines a prior distribution with a likelihood to obtain a posterior distribution. In odds form, posterior odds equal prior odds multiplied by a likelihood ratio for the evidence under two hypotheses. The likelihood describes how different parameter values or hypotheses account for the observed data; it is not itself a probability distribution over every hypothesis until combined with appropriate prior structure.
Suppose, in a hypothetical screening model, one in a hundred cases has a condition, sensitivity is ninety percent, and specificity is ninety percent. In ten thousand cases, about ninety true positives and nine hundred ninety false positives are expected. A positive result corresponds to about ninety out of one thousand eighty positives, roughly eight percent, under those assumptions. This arithmetic illustrates base-rate reasoning and is not a recommendation about a real test.
Frameworks clarify different questions
Frequentist and Bayesian approaches each have multiple methods and philosophical interpretations. Priors require justification and sensitivity analysis; frequentist guarantees require valid design and model assumptions. Neither framework eliminates poor measurement or causal ambiguity. Comparing them should reveal their questions and commitments rather than turn a methodological debate into team allegiance.
In practice, separate evidence description from decision. A decision also depends on consequences, alternatives, costs, and values. The same uncertainty may justify different actions when the harms of error differ. That practical judgment should be explicit rather than hidden inside a conventional threshold.
For practice, explain a small p-value without using the phrases probability the hypothesis is true or probability the result is due to chance. Then work through a hypothetical base-rate table. If either task feels difficult, return to the conditional statements. Much statistical misunderstanding is a language problem with numerical consequences.
Apply the idea
Why can a positive result on a fairly sensitive test still have a low predictive value in a rare-condition setting?
Optional: make a diagram, explain your reasoning aloud, or write in your private notebook. No submission is required.
Read the worked reasoning
False positives can outnumber true positives when the unaffected population is much larger. Predictive value depends on the base rate as well as test characteristics.
Check understanding
Which statement correctly interprets a small p-value?
- The null hypothesis has exactly that probability of being true.
Feedback
Incorrect. This reverses the conditional probability.
- The effect is necessarily large and important.
Feedback
Incorrect. A p-value does not measure effect magnitude or importance.
- The observed statistic is relatively incompatible with the specified model, under the testing rule and assumptions.
Feedback
Correct. The interpretation is conditional on a specified model and procedure.