Clinical trial design: phases, randomized controlled trials and interim analyses
You only know whether a new treatment works and is safe by using it in people. But people differ, and some get better without any treatment. Here you move a made-up trial to see how clinical trials solve this with design. This page explains statistical ideas about how trials are designed, and nothing else. It does not say any drug or treatment is good or bad, and it does not suggest joining a trial. The trials, treatments, people and numbers are all made up.
Short answer. A clinical trial is an experiment that checks in people whether a new treatment is safe and works. It starts with small trials that look at safety and dose, and moves in steps to large randomized controlled trials that confirm the effect. The key is to decide and write down before the start what to measure, how many people are needed, and when to look at the results.
Press a box in the flow diagram to read about that step and its head count. Change the three shares with the sliders, and try "No real effect" too. The three bars at the bottom show the share of people who got better after 8 weeks, new treatment group minus control group (the full bar is +20 points). A "point" here is a percentage point: 38.5% minus 31% is 7.5 points. This toy fixes a few made-up assumptions. 30% of people are frail. Without treatment, the chance of getting better is 40% for sturdy people and 10% for frail people. Anyone who takes the drug gets a 10-point higher chance. Frail people are the first to stop the drug, and people who lose contact drop out at random. Head counts are averages, leaving out the wobble of chance.
Definitions
The page explains with one made-up trial, but the definitions are the same for any clinical trial. The difference is "new treatment − existing (control) treatment", where larger means the new one is better. is the 95% confidence interval of that difference, and is the non-inferiority margin.
- clinical trial
- A study in people that checks the effect and safety of a treatment following a plan set in advance (the protocol). The researchers decide who gets which treatment, so it is an experiment, not an observational study.
- randomized controlled trial (RCT)
- A clinical trial that splits participants by random assignment into a treatment group and a control group (placebo, existing treatment, no treatment, or a different dose) and compares the outcomes at the same time under the same conditions.
- phases of clinical trials
- Phase 1 looks at safety, the dose people can tolerate, and how long the drug stays in the body. Phase 2 looks for signs of an effect and the right dose. Phase 3 checks, with a primary endpoint set in advance, whether the treatment is better than a placebo or an existing treatment. Phase 4 looks, after the treatment is on the market, at rare side effects and long-term safety when many people use it for a long time.
- primary endpoint
- The endpoint that decides the trial's conclusion. It is set in the protocol in advance, and usually there is only one. The others are secondary endpoints. When a value that can be measured sooner (blood pressure, a blood level) is used in place of the real outcome (death, getting the disease), it is a surrogate endpoint. If k independent endpoints are each tested at significance level α, the chance that at least one comes out significant when there is no effect is:
- intention-to-treat and per-protocol analysis
- Intention-to-treat (ITT) analysis counts every participant in the group they were first assigned to, whether or not they followed the treatment. Per-protocol (PP) analysis counts only the participants who followed the treatment as the protocol says.
- superiority, non-inferiority, equivalence
- The conclusion depends on where the 95% confidence interval of the difference lies. The non-inferiority margin M is set before the trial.
- interim analysis and overall type I error rate
- Looking at the data collected so far in the middle of a trial is an interim analysis. With the test statistic at the k-th look and its bound, the bounds are set so that the chance of crossing a bound at least once in K looks when there is no effect (the overall type I error rate) stays at or below the significance level α.
1. A clinical trial: an experiment in people
A clinical trial is a study in people that follows a plan set in advance to check whether a treatment (a drug, surgery, a device, a change in habits and so on) works and is safe. Something that worked in cells or animals may not work in people, or may harm them in unexpected ways, so in the end it has to be checked in people.
But "people who got the treatment got better" does not tell you the treatment did it. There are many reasons to get better without it.
- Getting better on its own. Many illnesses ease with time (natural course).
- Drifting back to average. People come to the doctor when they feel worst. A value measured at the worst moment usually comes out less extreme the next time (regression to the mean).
- Expectations change the body and the judgment. Just believing you are being treated can make you feel less pain (the placebo effect), and a doctor who knows the treatment tends to judge toward "better".
- Other things change too. People who get the new treatment may be younger, may have come earlier, or may be getting more care in other ways (confounding).
So a clinical trial does not compare "before and after treatment". It compares a group that got the treatment with a group that did not, at the same time and under the same conditions. A study that only watches the treatments people chose for themselves is an observational study. A study where the researcher decides who gets what is an experiment, and a clinical trial is an experiment.
2. Why randomized controlled trials are the standard
A control group lets you subtract the share of people who would have got better anyway. But if the doctor picks who goes in which group, they may, without meaning to, put healthier-looking people in the new treatment group. Then you cannot tell whether a difference at the end comes from the treatment or from people who were different from the start.
Random assignment splits the groups by a computer lottery. A lottery does not look at people, so things spread on average evenly between the two groups: not only the things you know, like age and how sick people are, but also things nobody knows (random assignment and control groups). Then any difference left at the end comes from the treatment or from chance, and the share of chance can be measured with p-values and confidence intervals. That is why the randomized controlled trial (RCT) is the standard for showing an effect.
Random assignment needs two more things to do its job.
- Allocation concealment. The people signing patients up cannot know in advance which group the next person goes to. If they knew, they could choose ("this one looks sick, let's put them in the next slot"), and the randomness breaks down. So a central computer holds the assignment list and reveals it only after sign-up. This protects things before assignment.
- Blinding. After assignment, participants, the people giving treatment and the people measuring the result do not know who is in which group. Knowing changes behavior and judgment. Hiding it from more than one of these is called double blinding. It matters less when the outcome is objective, like death, and more when it is subjective, like a pain score.
There are several kinds of control group.
| Control | What they get | When it is used, and cautions |
|---|---|---|
| Placebo | Something that looks the same but has no active drug | Easy to blind, and shows the effect most cleanly. Hard to use for an illness that already has a proven treatment, when going without it could cause harm |
| Current treatment (active control) | The standard treatment in use now | Asks "is the new one better than, or not worse than, the current one?" (section 11). You cannot check separately whether the current treatment really worked in this trial |
| No treatment | Nothing | Hard to blind |
| Other doses | Different doses of the same drug | Checks whether more drug gives more effect (common in phase 2) |
The choice of control group and its pros and cons are set out in the ICH E10 guideline.
3. The flow of one trial: from screening to analysis
The flow diagram in the experiment at the top is a small version of the diagram in trial reports. CONSORT, the reporting guideline for trials, recommends including this diagram (screening, assignment, follow-up, analysis) with the number of people at each step and the reasons people left. People leave at three places.
| Where | What | Effect on the comparison |
|---|---|---|
| Excluded before assignment | Did not meet the rules or did not agree | Does not tilt the two groups. It narrows the range of people the result applies to (generalization) |
| Lost during follow-up | Lost contact, result unknown | If the reason for leaving is tied to the result (people who got worse leave more), it tilts the comparison. This toy has them leave at random, so only the head count drops |
| Did not stick with the treatment | Stopped or took less. The result is known | The answer depends on how these people are counted in the analysis (below) |
There are two ways to count people who did not stick with the treatment to the end.
- Analysis as assigned (ITT, intention-to-treat). Everyone is counted in the group they were first assigned to. Someone who stopped the drug is still in the new treatment group. It compares the two groups made by the lottery as they are, so the protection of randomness stays. The question it answers is "if we decide to give this treatment (including the people who will stop), how much better do people do?"
- Analysis of only those who stuck with it (PP, per-protocol). Only people who followed the plan are counted. It looks like it answers "how well does the drug work if taken properly?", but who sticks with it is decided by people's circumstances (side effects, how they feel), not by the lottery. Once those people are left out, the two groups are no longer alike.
Working it through by hand
These are the start values of the experiment at the top. Of 1,000 people screened, 40% (400) are left out, and 600 are split into groups of 300. In each group 20% (60) lose contact, so the result is known for 240 in each. Of the 240 in the new treatment group, 25% (60) stop the drug.
- Control group. The sturdy 70% get better 40% of the time, the frail 30% get better 10% of the time.
0.7 × 40% + 0.3 × 10% = 28% + 3% = 31%. - The new treatment group in three parts. The sturdy 70%, who take the drug:
40% + 10% = 50%. The frail people who take it to the end, 5% (25% of the group, all frail, stopped):10% + 10% = 20%. The frail 25% who stopped get no effect: 10%. - ITT. Count all three parts.
0.70 × 50% + 0.05 × 20% + 0.25 × 10% = 35% + 1% + 2.5% = 38.5%. The difference is38.5% − 31% = +7.5points. - PP. Leave out the 25% who stopped and count within the remaining 75%.
(35% + 1%) ÷ 0.75 = 48%. The difference is48% − 31% = +17.0points. - Compare. The real effect for people who take the drug is +10 points. ITT came out smaller (+7.5 points), by the share of people who stopped. PP came out bigger (+17.0 points). PP is bigger because the frail people, who were less likely to get better, left only the new treatment group, so what remained of that group was sturdier from the start.
The same calculation written as formulas looks like this.
Try this. ① At the start values the flow is 1,000 → 400 excluded → 600 assigned → 300 each → 60 lost each → 240 analyzed each, and PP in the new treatment group is 180 people. The share who got better is 31.0% in control, 38.5% by ITT and 48.0% by PP, so the differences are +7.5 points by ITT and +17.0 points by PP. ② Press "No real effect": ITT shows +0.0 points but PP shows +7.0 points. A treatment that does nothing looks better under PP. ③ With the +10-point effect, lower the share who do not stick with it to 0%: ITT and PP both show +10.0 points. ④ Raise that share to 50%: ITT drops to +5.0 points and PP rises to +19.0 points. ⑤ Raise the share lost along the way to 40%: the analysis shrinks to 180 people per group, but the shares and differences stay the same, because in this toy people leave at random. Fewer people means more wobble from chance, but this picture shows only the averages.
A common misreading. "PP is the real effect when the drug is taken properly" is wrong. In the example above the real effect is +10 points, but PP shows +17.0 points, and +7.0 points even with no effect. Who sticks with a treatment is not decided by a lottery.
"ITT shrinks the effect, so it is the wrong method" is also wrong. ITT answers a different question, the effect of deciding to give the treatment, and it keeps the protection of randomness. So trials that set out to show an effect usually make ITT the main analysis (ICH E9) and add other analyses to check that the conclusion holds. But in a non-inferiority trial, which tries to show the new treatment is "not worse", ITT pulls the difference toward 0 and can make that conclusion too easy, so PP also gets real weight (section 11).
Real trials decide before the start how to handle people whose result is unknown (the 60 lost from each group above) and what to count as the result after someone stops the drug. The ICH E9 addendum, E9(R1), sums this up as "first be clear about what you are trying to estimate (the estimand)".
4. Phases: from phase 1 to phase 4
A new treatment is not checked in one big trial. To put unknown risks on as few people as possible, it starts with small trials and moves to the next phase only when the earlier one looks fine. Press a row below to see what each phase asks and measures.
The head counts for the phases are only rough ranges, not fixed numbers. They vary a lot with the illness and the kind of treatment. For example, the US National Cancer Institute's guide puts cancer treatment trials at about 15 to 30 people for phase 1, 50 to 100 for phase 2, and 100 to several thousand for phase 3. Type the rate and n into the number boxes or use the sliders, and you can drag on the picture to move n.
Phase 1 is usually not built to tell whether a treatment works. It has few people and no control group or a small one, so it cannot say how big the effect is. Phase 3 randomized controlled trials confirm the effect. Even so, rare side effects often show up only after approval, and the numbers make the reason plain. The chance of seeing a side effect with rate p at least once among n people is:
(1 − p)^n is the chance that it happens to none of the n people. If p is 1 in 10,000 (0.0001) and n is 3,000, then 1 − 0.9999^3000 = 0.259: three times in four, the trial sees not a single case.
Turned around, what you can say when n people showed zero cases is the rule of three. With zero cases, the 95% upper limit of the rate is about 3 ÷ n. That is because solving (1 − p)^n = 0.05 gives p ≈ −ln(0.05) ÷ n = 2.996 ÷ n. Zero cases in a 3,000-person trial let you say "the rate is probably below 1 in 1,000", and nothing about side effects rarer than that. Below about 30 people the shortcut gets rough (with n = 30 the exact value is 0.095, while 3 ÷ 30 = 0.1).
Try this. ① At the start (1 in 10,000, n = 3,000) the chance of seeing it at least once is 25.9%. Reaching 95% takes 29,956 people, almost the same as 3 ÷ rate = 30,000. ② Press the "Phase 3" row: at its rough size of 300 to 5,000 people, the chance of seeing this side effect is 3.0% to 39.3%. The "Phase 4" row gives 25.9% to 100.0%. ③ Raise n to 30,000 and it is 95.0%. ④ Change the rate to 1 in 1,000: at n = 3,000 it is 95.0%. A side effect that is only 10 times more common, not 1,000 times, is almost always seen in phase 3. ⑤ The third line of the readout is the rule of three. With n = 3,000 it is 3 ÷ 3000 = 0.001, which is 1 in 1,000.
5. Written down before the start: the protocol and registration
Before a trial starts, the team writes a protocol: the question, who can join, the treatment and the control, the primary endpoint, the number of people needed and why, how assignment and blinding work, when and by what rule interim looks happen, and the analysis method. The analysis method is often written out in more detail in a separate statistical analysis plan.
Then the key points of the plan go to a public registry first (ClinicalTrials.gov in the US, or the national registries linked to the World Health Organization's International Clinical Trials Registry Platform). Making the plan public before the results arrive guards against three things.
- Picking after seeing the results. Measuring many things and then calling the one that came out significant the "primary" one (outcome switching). As the next section shows, with many measures one of them usually comes out significant even with no effect.
- Making up the hypothesis after seeing the results. Writing up something that stood out in the data as if it had been the target all along. A hypothesis made from a set of data cannot be confirmed by the same data, because chance cannot be filtered out.
- Trials with bad results disappearing. If trials that found no effect are not published, the published ones together overstate the effect (publication bias). With registration, at least the record that a trial existed stays.
A common misreading. "Pick the best measure after seeing the results; if its p is below 0.05, that is fine" is wrong. The moment you pick, you have in effect run several tests, and the meaning of the p-value falls apart (multiple comparisons). That is why readers check that the primary endpoint in the registry matches the one in the paper.
6. What to measure: the primary endpoint and surrogates
A result measured in a trial is called an endpoint. The one that decides the trial's conclusion is the primary endpoint, and there is usually only one (ICH E9). The rest are secondary endpoints: they support the result or give leads for the next study. If only one test decides the result, the false alarm chance stays at the chosen α.
These values treat the endpoints as independent of each other and use 1 − 0.95^k. Real endpoints are tied together (like blood pressure and heart rate), so the real values are a little lower, but they still go up.
Try this. ① With 1 endpoint it is 5.0%. ② The start value of 5 gives 22.6%, and 10 gives 40.1%. ③ At 14 it first passes half, with 51.2% (13 gives 48.7%). A treatment that does nothing at all is more likely than not to be "significant somewhere" if you measure 14 things. ④ 20 gives 64.2%.
A surrogate endpoint is a value measured instead of the real outcome (death, getting the disease, quality of life) because it can be measured sooner and with fewer people: blood pressure, a blood test value, the size of a tumor. Waiting for the real outcome can mean following thousands of people for years, while a surrogate can be measured in weeks, so the trial gets shorter and smaller.
The risk is that the value can improve while the real outcome stays the same or gets worse. The way a treatment changes the value can differ from the way the disease arises, and the treatment can do harm elsewhere that cancels out the gain. Here is a made-up example.
A made-up new treatment lowered blood value X by 25%, from 160 to 120. X was used as a surrogate because people with high X were seen to get the disease more often. But after 3 years, 12% of both groups had got the disease. X was only a marker that moved along with the disease; lowering it did not reduce the disease. So shrinking a trial with a surrogate needs evidence that changing the surrogate also changes the real outcome (Fleming, DeMets 1996). Some systems allow a decision based on a surrogate first and then require a separate trial that checks the real outcome.
7. How many people are needed
The number of people is set in the protocol. Too few and you miss a real effect; too many and more people than needed carry the burden of the trial. The calculation needs four things decided in advance: the smallest effect you want to catch, how spread out the results are (for a share, the share in the control group), the false alarm chance α, and the power, which is the chance of catching the effect if it is there (type I and II errors and power, sample size calculation).
A common normal approximation for comparing two shares is below. p₁ and p₂ are the shares in the two groups, p̄ is their average, z(α/2) is 1.960 (α 0.05, two-sided), and z(β) is 0.842 (80% power).
To catch the ITT difference from the experiment at the top (31% in control, 38.5% with the new treatment, 7.5 points) with 80% power, you need 632 people per group. Expecting 20% to be lost, you need to recruit 632 ÷ 0.8 = 790 per group. The made-up trial at the top analyzes 240 per group, so its chance of catching this difference (its power) is only about 41%. If you plan with a big effect like PP's 17 points, the formula says 129 per group is enough, and you end up with a trial far too small for the real (ITT) effect. Overstating the effect gives you a small trial.
8. Numbers for the size of the effect
The same result can be written with several numbers, and the effect looks bigger or smaller depending on which one. Take a made-up example: 10% of the control group and 8% of the new treatment group got the disease within 3 years.
| Measure | Formula | In this example | How to read it |
|---|---|---|---|
| Risk difference (absolute difference) | p_new − p_control | 8% − 10% = −2 points | 2 fewer cases per 100 people |
| Relative risk | p_new ÷ p_control | 8 ÷ 10 = 0.8 | 0.8 times the control. "20% lower" (relative risk reduction) |
| Number needed to treat (NNT) | 1 ÷ |risk difference| | 1 ÷ 0.02 = 50 | Treat 50 people and on average 1 avoids the disease |
| Odds ratio | (p_new ÷ (1 − p_new)) ÷ (p_control ÷ (1 − p_control)) | 0.087 ÷ 0.111 = 0.78 | Close to the relative risk when the event is rare (odds ratio and relative risk) |
| Hazard ratio | The ratio of how fast events happen in the two groups | (needs time data) | Uses when things happened, too. 0.8 means treating the new group's speed as 0.8 times the control's at every moment (the proportional hazards assumption, survival analysis) |
A common misreading. Reading "cut the risk by 20%" alone as a big effect is easy to get wrong. If the starting risk is 10%, the absolute difference is 2 points; if the starting risk is 0.1%, the same 20% means 2 people in 10,000. Look at relative and absolute numbers together, with confidence intervals. CONSORT also recommends reporting both absolute and relative effects for yes/no outcomes.
9. How the formula is built: the rule for looking during a trial
Looking at the data piled up during a trial (an interim analysis) is common and necessary, because a trial should stop early if the new treatment is harmful or clearly better. But each look adds one more chance to declare "there is a difference". Step by step, you see what happens to the false alarm chance when those chances pile up in a trial with no effect, and how a rule that holds the total at 5% is built.
Here z is "the difference between the groups ÷ the standard error of that difference" (hypothesis testing and p-values). With no effect, z follows the standard normal distribution around 0, and the chance of |z| ≥ 1.96 is 5%. z(p) is the point on the standard normal distribution where the area of the right tail is p. The looks happen when equal shares of people have joined (with K looks: 1/K, 2/K, …, 1).
Press "Next" to move one step at a time. A piece is added to the formula at the top (the orange background marks the new piece), the pictures change, and the reason appears below. The 40 paths in the upper picture are made from a fixed seed, so they are always the same. The decision happens only at the vertical lines (the looks); the dashed lines just join up the shape of the rule. In the lower picture, the dots are shares counted over 20,000 made-up trials and the lines are values the computer worked out by numerical integration.
Written only as formulas, the steps above look like this. With no effect, Z follows the standard normal distribution. The chances are the numerical values above, and the last line is the bounds for K = 5.
- Once, at the end:
P(|z| ≥ 1.96) = 5%. With no effect, z follows the standard normal distribution, so the two tails hold 5%. This is the usual test. - Once more, halfway:
P(|z₁| ≥ 1.96 or |z₂| ≥ 1.96) = 8.3%. Adding "or" makes the chance bigger, because some paths that would not pass at the end pass in the middle. The two looks share the same people's data and so move together, which is why it does not double to 10%. - K times:
P(|zₖ| ≥ 1.96 at any of the K looks). It keeps rising as the looks add up: 14.2% for K = 5 and 19.3% for K = 10. The classic paper on this problem is Armitage, McPherson and Rowe (1969). Look forever and even a trial with no effect will pass sooner or later. - Split evenly:
|zₖ| ≥ z(0.05 ÷ 2K). If each look uses α divided by K (Bonferroni), the chance of passing at least once cannot go above the sum of the separate chances, 5%. In practice the looks move together, so it ends up well below 5%. The rule is strict even at the end, which costs power. - Strict early:
|zₖ| ≥ c × √(K ÷ k). Early on, with little data, only a very large difference counts; at the end, with all the data, the rule is close to 1.96. c is the number picked so the total is 5% (2.040 for K = 5). This shape comes from the method of O'Brien and Fleming (1979). This page does not cover the exact calculation of c (numerical integration of the chance across several looks); the computer finds it, and a simulation checks it.
Try this. ① In step 1, 2 of the 40 paths passed the rule at the end, and 20,000 runs give 4.86%. ② Step 2 gives 8.3% by calculation and 8.45% in 20,000 runs, with 3 paths in the picture. ③ In step 3, K = 5 gives 14.2% (14.15% in 20,000 runs, 6 paths), and raising K to 10 gives 19.3% (19.71% in 20,000 runs, 7 paths). ④ Step 4 (Bonferroni, K = 5) uses |z| ≥ 2.576 at each look, for 3.3% in total (3.36% in 20,000 runs), and only 1 path passes. ⑤ Step 5 (K = 5) uses the rules 4.56, 3.23, 2.63, 2.28, 2.04, for 5.0% in total (5.14% in 20,000 runs), with 2 paths. Raise K to 10 and c = 2.087, the first rule is 6.60 (off the picture), the last is 2.09, and 20,000 runs give 5.17%. In the lower picture the green line stays at 5% as K grows, and only the orange line climbs.
The last rule being a little stricter than 1.96 (2.04 for K = 5) is the price of looking many times. In return, a trial with a clear effect can stop early. Another method uses the same rule at every look but raises it above 1.96 so the total is 5% (Pocock, 1977). It is less strict early, but the last rule ends up quite strict. When the look times are hard to fix in advance, a function decides how much α may be used up depending on the share of data collected (Lan, DeMets 1983, the alpha spending function).
10. Interim analyses and the independent monitoring committee
The people running the trial do not look at the interim results themselves. An independent data monitoring committee of doctors and statisticians with no stake in the trial looks at the interim results and side effects knowing who got what, and recommends "continue", "stop" or "change" by rules set in advance. Meanwhile the people running the trial stay blinded, because knowing the interim results could sway sign-up, treatment and judgment (ICH E9, sections 4.5 and 4.6).
There are usually three reasons to stop: the effect is clear and passed the boundary, harm shows up, or there is no hope of showing an effect even by the end (futility).
Trials stopped early tend to make the effect look bigger. Even when the effect is real, the interim z value wobbles up and down by chance. Passing a strict early boundary usually happens at a moment when chance pushed it high. Stop at that moment and record the effect, and you record something bigger than the true value. Early on, with less data, the wobble is larger, so the overstatement is larger. It is the same reason the effect in a small study that came out significant is overstated (the "problems with low-power studies" part of the power page). Bassler and colleagues (2010) pulled together trials stopped early for benefit and showed they tend to report bigger effects than trials on the same question that ran to the end.
A common misreading. "The effect was big enough to stop early, so its size can be trusted as is" is wrong. Stopping is evidence that there is an effect, not that the size measured at that moment is right. Read trials that stopped with few events with extra care.
11. Choosing a design: superiority, non-inferiority, equivalence
The rule for reaching a conclusion depends on the question the trial asks. You look at where the 95% confidence interval for the difference between the new and current treatments (new minus current, bigger is better for the new one) falls.
- Superiority trial. "Is the new one better?" If the whole interval is right of 0, you say it is better.
- Non-inferiority trial. "Is the new one not worse by more than the margin M?" If the left end of the interval is right of −M, it is non-inferior. Used when the new treatment is easier to take, has fewer side effects or costs less, so "a little worse, up to this much, is acceptable".
- Equivalence trial. "Is the difference within ±M?" If the whole interval is between −M and +M, they are equivalent.
| Superiority: is the new one better? | |
|---|---|
| Non-inferiority: not worse than −M? | |
| Equivalence: is the difference between −M and +M? |
Click or drag on the picture to move the interval (in steps of 0.5). You can also use the number box and the sliders. If an end of the interval lands exactly on a line, the verdict is "not shown". The intervals and numbers are made up.
Try this. ① The starting interval −2 to 6 (M = 5) gives superiority: no, non-inferiority: yes, equivalence: no. The same interval leads to different conclusions depending on the question. ② "Better" (2 to 6) gives yes for superiority and non-inferiority, but the right end, 6, is beyond +M, so equivalence is no. ③ "Equivalent" (−1.5 to 2.5) gives no for superiority but yes for equivalence. ④ At the start values, lower M to 2: the left end, −2, lands on −M, so non-inferiority becomes no too. The size of the margin changes the conclusion, so M is set before the trial, with reasons (ICH E9). ⑤ At the start values, widen the half-width to 8 (a trial with few people): all three questions get no.
Non-inferiority trials have a trap. A sloppy trial (people not sticking with treatment, fuzzy diagnosis, many people lost) makes the two groups look alike, pulls the difference toward 0, and so makes "not worse" easier to conclude. That is the opposite of a superiority trial, where sloppiness makes the conclusion harder. So ICH E9 says equivalence and non-inferiority trials are "not conservative in nature" and asks for special care when choosing the analysis set.
There are also several designs, depending on how people are split and what is compared.
| Design | How | Strengths and cautions |
|---|---|---|
| Parallel group | Each person is assigned to one group and gets only that treatment to the end | The most common and simplest. Differences between people go straight into the comparison, so it needs many people |
| Crossover | The same person gets both treatments, one after the other in a random order (repeated measures and crossover designs) | Differences between people drop out, so fewer people are needed. Only for stable conditions where the first treatment's effect does not carry over |
| Factorial | Two treatments A and B are split into "A only, B only, both, neither" (factorial designs and interactions) | Answers two questions in one trial. Hard to read if A and B change each other's effect (interaction) |
| Cluster randomized | Whole hospitals, villages or schools are assigned instead of people | For treatments that would mix if people were split one by one (education, ways of working). People in the same cluster are alike, so the same number of people carries less information |
12. Reading the results: subgroups, significant and meaningful
A subgroup analysis splits people by age, sex, how sick they are and so on, and looks at the effect in each part. The more you split, the more tests you run, so even if the effect is the same for everyone, by chance you get "it works only in this group" or "it does not work in this group" (multiple comparisons). So instead of reading a separate p-value for each group, test in one go whether "the effect differs between groups" (an interaction). Give weight only to the few set in advance, and treat the rest as hypotheses for the next trial (ICH E9, section 5.7).
Statistically significant only means "hard to believe the difference is 0". It does not mean the difference is big or useful. In a trial of tens of thousands, even a tiny difference such as 0.5 mmHg of blood pressure comes out significant. Whether that difference matters to people is judged against "the smallest difference worth caring about", set in advance by the field. So look at the size of the effect together with the confidence interval. If the whole interval is above that smallest difference, the effect is meaningful; if the interval clears 0 but falls short of it, the effect is "real but small".
A common misreading. "The smaller the p, the bigger the effect" is wrong. p depends on the size of the effect and the number of people together. With many people, even a small effect gets a very small p. "Not significant, so no effect" is wrong too. A small trial may have missed it (power).
13. The basics of ethics
A clinical trial tests something not yet proven on people, so some things come before any design. Participants must have the purpose, risks and other options explained in a way they understand, then agree on their own, and be free to stop at any time without giving a reason. Before the trial starts, an independent ethics committee reviews the plan, checks that risks are kept low, and weighs them against what can be gained. During the trial, a monitoring committee watches over participants' safety, and personal information is protected. Random assignment is only justified when it is truly unknown which option is better. These principles are set out in documents such as the World Medical Association's Declaration of Helsinki. This page only introduces them; whether to take part in a real trial is a matter for that trial's information and a conversation with medical staff.
14. Key properties
| Property | In plain words | Where to see it |
|---|---|---|
| Random assignment makes the comparison fair | Known and unknown things spread evenly between the groups on average. Any difference left is the treatment or chance | Section 2 |
| ITT keeps the protection of randomness, PP breaks it | Choosing people by what happened after assignment makes the groups no longer alike | The top experiment, "No real effect" |
| Peeking again and again adds false alarms | 1.96 every time gives 14.2% for K = 5. A boundary set in advance holds the total at 5% | Section 9 |
| Zero cases is not "none" | Zero cases in n people only says the rate is below about 3 ÷ n | Section 4 |
| The same interval leads to different conclusions for different questions | Superiority, non-inferiority and equivalence compare the confidence interval with different lines | Section 11 |
15. What to check when reading a paper
- Was the primary endpoint set in advance? Does the primary endpoint in the registry match the paper?
- Was assignment random and concealed? Could the people signing others up know the next assignment?
- Who was blinded? Participants, the people giving treatment, the people measuring the result.
- What was the control? A placebo or the current standard treatment, and was its dose sensible?
- The flow diagram: how many people left, and why? Are the shares and reasons similar in the two groups?
- Is the main analysis ITT? For a non-inferiority trial, does PP reach the same conclusion?
- Is the effect given as an absolute difference with a confidence interval? Or only as a big relative number?
- Did it stop early at an interim analysis? If so, the effect may be overstated.
- Are subgroup results pushed as conclusions? Were they set in advance, and was the interaction tested?
- Surrogate or real outcome? If a surrogate, is there evidence it is linked to the real outcome?
CONSORT is a checklist that collects items like these so trial reports leave nothing out. The 2010 version was used for a long time, and a revised version came out in 2025.
Where it is used
- Reading medical news and papers. When you see a headline like "new drug cuts risk by 30%", use the list above to ask whether it was randomized, what the absolute difference is, whether it is a surrogate, and whether it stopped early.
- A/B tests. An A/B test on a web service is an experiment that splits users at random, so the same principles apply. Set one measure in advance, calculate the sample size, and count every assigned user (the same idea as ITT). Stopping at the moment the result turns significant adds false alarms, as in the picture in section 9, so if you want to look often, use a boundary set in advance.
- Product and policy experiments. Changes rolled out by store, school or region are cluster randomized designs, and showing a new option is "not worse" uses the non-inferiority idea.
- Evaluating models. Fixing a model while peeking at the test data again and again makes the test score look better than it really is. It is the same problem as interim looks (overfitting).
Frequently asked questions
What is the difference between phase 1, 2, 3 and 4 trials?
Phase 1 checks in a small number of people whether the treatment is safe and how much can be given. Phase 2 looks for a sign that it works and for the right dose. Phase 3 confirms the effect in a large randomized controlled trial against a placebo or the current treatment. Phase 4, after approval, looks for rare side effects when many people use it for a long time. The number of people in each phase is only a rough guide and varies a lot between fields.
Why are randomized controlled trials seen as the most reliable?
Splitting people by lottery spreads things evenly between the two groups on average, not only the things you know about, like age and how sick people are, but also the things nobody knows about. So a difference at the end can be narrowed down to the treatment or to chance, and the share of chance can be measured with statistics. Allocation concealment and blinding are needed to keep this advantage.
What is the difference between ITT and per-protocol analysis?
ITT (intention-to-treat, analysis as assigned) counts people in the group they were first assigned to, even if they did not stick with the treatment. Per-protocol (PP) analysis leaves out the people who did not stick with it. People do not stop a treatment at random, so after leaving them out the two groups are no longer alike. In this page's made-up example, PP showed a difference of +7.0 points even though the new treatment had no effect. That is why trials that set out to show an effect usually use ITT as the main analysis.
Why does the rule get stricter when you look at the results during a trial?
Each look adds one more chance to pass the line by luck. Even with no effect, looking five times with |z| ≥ 1.96 each time gives a false alarm chance of about 14%, not 5%. So the number of looks and the rules are fixed in advance, and a common choice is very strict early and close to 1.96 at the end.
If a trial saw zero cases of a side effect, does that mean the side effect does not exist?
No. With zero cases in n people, you can only say the rate is probably (95%) below about 3 ÷ n. Zero cases in a 3,000-person trial do not rule out a side effect that hits 1 in 1,000 people. A side effect that hits 1 in 10,000 people shows up at least once in a 3,000-person trial with a chance of only about 26%.
Words
| Plain words used here | Textbook term |
|---|---|
| A treatment experiment in people | Clinical trial |
| A trial split by lottery, with a control group | Randomized controlled trial (RCT) |
| The comparison group / dummy pill / comparing with the current treatment | Control group / placebo / active control |
| Hiding the next assignment in advance | Allocation concealment |
| Not knowing who is in which group | Blinding, masking. Double-blind |
| Rules for who can join | Inclusion and exclusion criteria, eligibility |
| Lost contact, result unknown | Lost to follow-up, dropout |
| Sticking with the treatment | Adherence, compliance |
| Analysis as assigned / only those who stuck with it | Intention-to-treat (ITT), full analysis set / per-protocol (PP) analysis |
| What you are trying to estimate | Estimand |
| The flow diagram and reporting checklist | CONSORT flow diagram, CONSORT statement |
| Phases 1 to 4 | Phase 1 to 3 trials, post-marketing surveillance (phase 4) |
| Upper limit 3 ÷ n with zero cases | Rule of three |
| The plan / the analysis plan / registering in advance | Protocol / statistical analysis plan (SAP) / trial registration |
| Swapping the measure after seeing results / making up the hypothesis after | Outcome switching / HARKing (hypothesizing after the results are known) |
| Bias from unpublished bad results | Publication bias |
| The result that decides the conclusion / the other results | Primary endpoint / secondary endpoints |
| A value measured instead of the real outcome | Surrogate endpoint |
| Risk difference / relative risk / number needed to treat / hazard ratio | Risk difference / relative risk, risk ratio / NNT / hazard ratio |
| Looking during the trial | Interim analysis, group sequential design |
| Total false alarm chance | Overall type I error rate |
| The stopping rule / sharing out α | Stopping boundary / alpha spending, alpha spending function |
| Split evenly / strict early | Bonferroni correction / O'Brien-Fleming boundary. The same rule every time is the Pocock boundary |
| Independent data monitoring committee | IDMC, DMC, DSMB (data and safety monitoring board) |
| Better / not worse / the same | Superiority / non-inferiority / equivalence trial |
| The margin M | Non-inferiority margin, equivalence margin |
| Parallel / crossover / factorial / cluster randomized designs | Parallel group / crossover / factorial / cluster randomized design |
| Analysis of split groups | Subgroup analysis |
| The smallest difference worth caring about | Minimal clinically important difference (MCID) |
| Agreement after explanation / ethics committee | Informed consent / institutional review board (IRB), research ethics committee |
| Truly not knowing which option is better | Clinical equipoise |
Sources
- Kenneth F. Schulz, Douglas G. Altman, David Moher, CONSORT 2010 Statement: updated guidelines for reporting parallel group randomised trials, BMJ 340, c332 (2010). Explanation: Moher and colleagues, CONSORT 2010 Explanation and Elaboration, BMJ 340, c869. Revised version: Hopewell and colleagues, CONSORT 2025 statement, BMJ 389, e081123 (2025).
- ICH, E9 Statistical Principles for Clinical Trials (1998). Primary variable (2.2.2), surrogate variables (2.2.6), blinding and randomisation (2.3), parallel, crossover and factorial designs (3.1), equivalence and non-inferiority (3.3.2), interim analysis and monitoring committee (4.5 and 4.6), analysis sets (5.2), subgroups (5.7). Addendum E9(R1) (2019, estimands). Control groups: E10 Choice of Control Group and Related Issues in Clinical Trials (2000). List: ICH Efficacy Guidelines.
- Peter C. O'Brien, Thomas R. Fleming, A Multiple Testing Procedure for Clinical Trials, Biometrics 35(3) (1979).
- P. Armitage, C. K. McPherson, B. C. Rowe, Repeated Significance Tests on Accumulating Data, Journal of the Royal Statistical Society, Series A 132(2) (1969).
- Stuart J. Pocock, Group sequential methods in the design and analysis of clinical trials, Biometrika 64(2), 191–199 (1977).
- K. K. Gordon Lan, David L. DeMets, Discrete sequential boundaries for clinical trials, Biometrika 70(3), 659–663 (1983).
- Dirk Bassler and colleagues, Stopping Randomized Trials Early for Benefit and Estimation of Treatment Effects, JAMA 303(12) (2010).
- Thomas R. Fleming, David L. DeMets, Surrogate End Points in Clinical Trials: Are We Being Misled?, Annals of Internal Medicine 125(7), 605–613 (1996).
- James A. Hanley and colleagues, If Nothing Goes Wrong, Is Everything All Right?, JAMA 249(13) (1983). The rule of three.
- US National Cancer Institute (NCI), Phases of Clinical Trials (rough sizes of each phase in cancer treatment trials).
- Registries: ClinicalTrials.gov, WHO International Clinical Trials Registry Platform. Ethics: World Medical Association Declaration of Helsinki.
- Approximation for erfc: Press and colleagues, Numerical Recipes, section 6.2, erfcc.