A p-value is the probability of seeing a result at least as extreme as the one observed if the null hypothesis, usually "no difference between arms", and every other assumption of the model were true. Small p-values mean the data fit that model poorly. They do not tell you how big or how important the effect is.
Free sandbox · No credit card · 21 CFR Part 11 compliant
P-value
noun · clinical research
The probability, calculated under a specified statistical model including the null hypothesis, of obtaining a test statistic at least as extreme as the one actually observed.
Related terms
In short
Explained
Every hypothesis test starts with a null hypothesis, in a two-arm trial usually that the true difference between treatment and control is zero. The trial produces an estimate of the difference and a test statistic that expresses how far that estimate sits from zero in units of its standard error. The p-value is the probability that a statistic at least that far from zero would occur if the null hypothesis were true and the model assumptions (random allocation, the chosen distribution, independence, no data-driven choices) held.
If that probability is small, either something unusual happened or the null hypothesis is wrong. The p-value cannot tell you which. That is why a trial fixes its decision rule in advance: the statistical analysis plan names the primary test and the significance level before anyone sees unblinded data, and the result is significant only if p falls below that level. Rejecting the null when it is actually true is a type I error; the significance level is the long-run rate of those errors you are willing to accept.
ICH E9, the international guideline on statistical principles for clinical trials, expects the primary hypothesis, the test, the significance level and whether the test is one- or two-sided to be specified in the protocol. It also asks for estimates of treatment effect with confidence intervals, not p-values alone.
A two-sided p-value counts extreme results in both directions: the treatment much better or much worse than control. A one-sided p-value counts only the direction of benefit and is half the two-sided value when the test statistic is symmetric. Regulators usually treat a one-sided test at 2.5% as equivalent to the conventional two-sided test at 5%, so switching to one-sided does not make significance easier to reach. Non-inferiority trials are typically one-sided by design; see non-inferiority trial.
Worked example
A demo antihypertensive trial measures the change in seated systolic blood pressure at week 8. The standard deviation of the change is 10.4 mmHg in every scenario. Demo numbers only; p-values from a two-sample t-test.
| Scenario | Participants per arm | Difference vs placebo | Standard error | Test statistic | Two-sided p |
|---|---|---|---|---|---|
| A. Planned trial | 60 | -4.2 mmHg | 1.90 mmHg | t = 2.21 | about 0.03 |
| B. Small pilot | 15 | -6.0 mmHg | 3.80 mmHg | t = 1.58 | about 0.13 |
| C. Very large pragmatic study | 20,000 | -0.8 mmHg | 0.10 mmHg | z = 7.7 | far below 0.001 |
Scenario B has the biggest effect and the largest p-value; scenario C has a clinically trivial effect and the smallest p-value. The p-value mixes effect size with sample size, which is why it cannot be read as a measure of importance.
Interpreting
In scenario A, p is about 0.03. The correct reading is: if the drug truly had no effect on blood pressure and the model were right, a difference of 4.2 mmHg or more in either direction would turn up in roughly 3 of every 100 trials like this one. That is unusual enough to reject the null hypothesis at the 5% level the protocol specified.
What you may not say is that there is a 3% chance the drug does not work, or a 97% chance it does. Those are statements about the probability of a hypothesis, which needs prior information and a Bayesian analysis. Nor does p = 0.03 say the effect is 4.2 mmHg; the effect could plausibly be anywhere in the confidence interval, here roughly 0.4 to 8.0 mmHg. Whether the lower end of that range matters to patients is a clinical judgement, often anchored on a minimal clinically important difference.
In 2016 the American Statistical Association published a formal statement, written by Ronald Wasserstein and Nicole Lazar in The American Statistician, after concern that misuse of p-values was contributing to irreproducible research. Its six principles, paraphrased:
Common mistakes
| Misreading | Why it is wrong | Better wording |
|---|---|---|
| "p = 0.03 means a 3% chance the result is due to chance" | The p-value assumes chance (the null) is the whole story; it cannot also be the probability of that assumption | "Data this extreme would be unusual if there were no effect" |
| "p = 0.20, so the drugs are equivalent" | Absence of evidence is not evidence of absence; small trials often miss real effects | "The trial could not rule out a meaningful difference; see the confidence interval" |
| "p < 0.001, so the effect is large" | Large samples make small effects highly significant (scenario C) | Report the effect estimate and interval first |
| "p = 0.049 works, p = 0.051 does not" | The evidence in the two results is almost identical | Report exact p-values and intervals; keep the pre-specified rule for the decision |
| Reporting only the analyses that reached p < 0.05 | Selective reporting inflates false positives | Report every pre-specified analysis; adjust for multiple comparisons |
Apply it
State the treatment effect in clinical units, for example a difference of -4.2 mmHg, and its 95% confidence interval.
Write p = 0.03 rather than p < 0.05, unless p is below 0.001. State the test and whether it was one- or two-sided.
Primary, key secondary or exploratory, and whether a multiplicity procedure applies. See secondary endpoint.
Full analysis set or per-protocol; see ITT vs per-protocol.
How missing outcomes were treated and what the sensitivity analyses showed; see missing data in clinical trials.
Powering for a realistic effect avoids scenario B. Use the two means sample size calculator or power analysis calculator.
Build a study in the free sandbox, enter dummy data and export an analysis-ready file with its data dictionary. No credit card, no time limit.
In Capture
Capture does not calculate p-values for you; your statistician does that in SAS, R or Stata. What Capture provides is the input. Raw data exports give variable names and coded values, one row per submission, with a data dictionary; untick Include metadata header before loading a CSV into a statistics package. The CDISC SDTM export produces SAS transport (XPT) datasets with Define-XML. Treatment arms are only included through an unblinded export, which an unblinded role must justify and confirm with a password, and every download is listed in the export log. Before the final analysis, a Data Manager can freeze and lock the data so nothing changes after the analysis file is cut.
| SUBJ | ECGPERF_CODE | ECGPERF_LABEL |
|---|---|---|
| 01-001 | Y | Yes |
| 01-002 | ND | Not done |
It is how often you would expect to see a result at least as extreme as yours if the treatment had no effect and the analysis assumptions were right. A small p-value means the data do not fit "no effect" well.
That the result would occur less than 5% of the time under the null hypothesis, which meets the conventional two-sided 5% significance level. It does not mean there is a 95% chance the treatment works.
No. The p-value depends on both the effect size and the sample size. A very large trial can produce a tiny p-value for a clinically trivial difference.
Its 2016 statement set out six principles: p-values show incompatibility with a model, are not the probability a hypothesis is true, should not alone drive decisions, need full reporting, do not measure effect size, and are not by themselves a good measure of evidence.
The p-value tests one value, usually zero difference. The confidence interval shows the range of effect sizes compatible with the data, so it carries information about both significance and magnitude.
No. A non-significant p-value means the trial could not exclude no effect. Check whether the confidence interval also excludes effects that would matter clinically before concluding anything.
Keep exploring
Confidence interval
The range that should accompany every p-value.
Type I error
The error rate behind the threshold.
Multiplicity adjustment
When there are many p-values.
Sample size calculation
Planning for a meaningful effect.
Statistical analysis plan
Where the test is pre-specified.
Power analysis calculator
Check power for your design.
Set up forms, edit checks and exports in the free sandbox and hand your statistician a clean file. No credit card, no time limit.