Randomized controlled trials are the strongest design for testing a new treatment. However, not every patient follows the protocol. Some patients stop the drug, some switch to the other treatment, and some miss their visits. The researcher must then decide which patients to include in the analysis. The intention-to-treat analysis answers this question: each patient is analyzed in the group to which the patient was randomized, whatever happened after randomization. A common mistake is to exclude the patients who did not adhere and to call the result “intention-to-treat”. This guide explains the intention-to-treat analysis step by step, using one hypothetical clinical trial.
Table of Contents
Working on a study? StatisMed biostatisticians can run your analysis, calculate your sample size, and write your Results section. Get a free quote →
What Is Intention-to-Treat Analysis?
Intention-to-treat (ITT) analysis is a strategy for analyzing a randomized trial. All randomized patients are included, and each patient stays in the original allocated group. Therefore, the comparison keeps the balance between the groups that randomization created. Moreover, the ITT principle is often summarized as “once randomized, always analyzed” (Gupta, 2011). The term intent to treat is used with the same meaning.
Full Intention-to-Treat Analysis
In a full ITT analysis, every randomized patient contributes to the result. This includes patients who never took the drug, patients who stopped it early, and patients who received the wrong treatment. If some outcomes are missing, a method for handling missing data, such as multiple imputation, is needed to keep all patients in the analysis.
Modified Intention-to-Treat Analysis
A modified ITT (mITT) analysis excludes a small, predefined group of randomized patients. For example, it may exclude patients who never received a single dose. However, the exclusion rules must be stated in the protocol before the data are seen. Otherwise, the mITT analysis loses the protection of randomization.
Per-Protocol Analysis
A per-protocol analysis includes only the patients who completed the treatment as planned. It estimates the effect of the treatment among adherent patients. Nevertheless, adherent patients often differ from non-adherent patients in health and motivation. Therefore, the per-protocol analysis can be biased, and it is usually reported as a secondary analysis.
Importance of Intention-to-Treat Analysis in Medical Research
It Preserves Randomization
Randomization balances known and unknown prognostic factors between the groups. When patients are removed after randomization, this balance is lost. Notably, the intention-to-treat analysis keeps all randomized patients, so the groups remain comparable.
It Reflects Real Clinical Practice
In daily practice, patients also stop drugs and miss doses. Therefore, the ITT result estimates the effect of a decision to prescribe the treatment, not the effect under perfect adherence. This makes it useful for clinicians and policy makers (McCoy, 2017).
It Gives a Conservative Estimate
Non-adherence usually makes the two groups more similar. As a result, the ITT estimate of a superiority trial is often smaller than the per-protocol estimate. In addition, a conservative estimate protects against claiming a benefit that is too large.
Applications of Intention-to-Treat Analysis in Clinical Studies
Superiority Trials
In a superiority trial, the intention-to-treat analysis is the primary analysis. The CONSORT statement asks authors to report the number of patients analyzed in each group and whether the analysis was by original assigned groups. Our guide to statistics for clinical trials explains the other parts of the trial analysis.
Non-Inferiority Trials
In a non-inferiority trial, the ITT analysis can make a weaker treatment look similar to the standard treatment. Therefore, both the intention-to-treat analysis and the per-protocol analysis are reported. Non-inferiority is accepted only when both analyses support it.
Systematic Reviews and Meta-Analyses
Reviewers extract ITT results whenever they are available. Moreover, risk-of-bias tools ask whether the trial used an appropriate analysis to estimate the effect of assignment. A meta-analysis that mixes ITT and per-protocol results can therefore give a biased pooled estimate.
Assumptions of Intention-to-Treat Analysis
Before performing an intention-to-treat analysis, check that the study meets the following conditions:
- The patients were allocated to the groups by randomization.
- The allocated group of every patient is recorded and does not change during the analysis.
- The outcome is measured for all randomized patients, including those who stopped the treatment.
- Missing outcomes, if any, are handled with a stated method rather than by deleting patients.
- The analysis populations (ITT, mITT, per-protocol) are defined in the protocol before unblinding.
When these conditions are met, the statistical test itself is the usual test for the outcome, such as the chi-square test for a binary outcome or the t-test for a continuous outcome.
How to Perform Intention-to-Treat Analysis: A Clinical Example
Consider a hypothetical randomized trial of 500 adults with uncontrolled hypertension. In total, 250 patients were allocated to a new drug, and 250 patients were allocated to the standard drug. The primary outcome was blood pressure control at 6 months. The outcome was measured in all 500 patients, including those who stopped the treatment. All the numbers below were calculated with Python.
Step 1: Record the Flow of Patients
First, record how many patients in each group followed the protocol. In the new drug group, 50 patients (20.0%) stopped the drug, mainly because of side effects. In the standard drug group, 15 patients (6.0%) stopped. This difference was significant (χ² = 21.66, df = 1, p < 0.001). Table 1 shows the flow of patients and the outcome in each subgroup.
| Subgroup | New drug (n = 250) | Standard drug (n = 250) |
|---|---|---|
| Completed the treatment, n | 200 | 235 |
| Controlled among completers, n (%) | 148 (74.0%) | 126 (53.6%) |
| Stopped the treatment, n | 50 | 15 |
| Controlled among those who stopped, n (%) | 15 (30.0%) | 4 (26.7%) |
| Total controlled, n (%) | 163 (65.2%) | 130 (52.0%) |
Step 2: Define the Analysis Populations
The ITT population includes all 500 randomized patients: 250 in each group. In contrast, the per-protocol population includes only the 435 patients who completed the treatment: 200 in the new drug group and 235 in the standard drug group. Notably, the per-protocol population removes 20.0% of one group but only 6.0% of the other.
Step 3: Build the 2 × 2 Table for the ITT Population
Each patient is counted in the allocated group. Therefore, the 15 patients who stopped the new drug but still achieved control are counted as controlled in the new drug group. Similarly, the 35 patients who stopped the new drug and were not controlled stay in the new drug group. The result is 163 of 250 controlled patients (65.2%) in the new drug group and 130 of 250 (52.0%) in the standard drug group.
Step 4: Perform the Intention-to-Treat Analysis
A chi-square test compares the two proportions. The difference was significant (χ² = 8.98, df = 1, p = 0.003). The risk difference was 65.2% − 52.0% = 13.2% (95% CI, 4.6% to 21.8%). Moreover, the relative risk was RR = 0.652 ÷ 0.520 = 1.25 (95% CI, 1.08 to 1.46). The number needed to treat was 1 ÷ 0.132 = 7.6, rounded up to 8.
Step 5: Perform the Per-Protocol Analysis
Next, repeat the same test in the per-protocol population. Blood pressure control was achieved in 148 of 200 patients (74.0%) in the new drug group and in 126 of 235 patients (53.6%) in the standard drug group (χ² = 19.26, df = 1, p < 0.001). The risk difference was 20.4% (95% CI, 11.6% to 29.2%), the relative risk was 1.38 (95% CI, 1.19 to 1.60), and the NNT was 5.
Step 6: Compare the Two Analyses
Table 2 places the two analyses side by side. The per-protocol analysis gave a risk difference that was 7.2 percentage points larger than the ITT analysis. However, the per-protocol result removed the 50 patients who stopped the new drug, most of whom were not controlled. Therefore, the intention-to-treat analysis is the primary result, and the per-protocol analysis is reported as a sensitivity analysis.
| Measure | Intention-to-treat (n = 500) | Per-protocol (n = 435) |
|---|---|---|
| New drug, controlled n/N (%) | 163/250 (65.2%) | 148/200 (74.0%) |
| Standard drug, controlled n/N (%) | 130/250 (52.0%) | 126/235 (53.6%) |
| Risk difference (95% CI) | 13.2% (4.6% to 21.8%) | 20.4% (11.6% to 29.2%) |
| Relative risk (95% CI) | 1.25 (1.08 to 1.46) | 1.38 (1.19 to 1.60) |
| χ² (df = 1), p-value | 8.98, p = 0.003 | 19.26, p < 0.001 |
| Number needed to treat | 8 | 5 |
How to Report Intention-to-Treat Analysis Results in a Manuscript
In the Methods section, define each analysis population and name the primary analysis. For example: “The primary analysis followed the intention-to-treat principle, and all randomized patients were analyzed in the group to which they were allocated. A per-protocol analysis restricted to patients who completed the treatment was performed as a sensitivity analysis.” In the Results section, report the significant findings only, as in the model paragraph below.
Blood Pressure Control at Six Months by Analysis Population
In the intention-to-treat population, blood pressure control was achieved in 163 of 250 patients (65.2%) in the new drug group and in 130 of 250 patients (52.0%) in the standard drug group. Moreover, the new drug significantly increased the rate of blood pressure control (RR = 1.25, 95% CI, 1.08 to 1.46, p = 0.003), with a risk difference of 13.2% (95% CI, 4.6% to 21.8%, p = 0.003). Similarly, in the per-protocol population, blood pressure control was significantly higher in the new drug group (74.0% vs 53.6%, RR = 1.38, 95% CI, 1.19 to 1.60, p < 0.001) (Table 2).
Notice that the paragraph gives the numbers without explaining why the per-protocol effect was larger. The interpretation of the difference between the two analyses, and its clinical meaning, belongs in the Discussion section.
Common Mistakes When Using Intention-to-Treat Analysis
Excluding Non-Adherent Patients and Calling It ITT
Some papers describe an ITT analysis but exclude patients who stopped the drug or were lost to follow-up. This is not an intention-to-treat analysis. Therefore, always report the number randomized and the number analyzed in each group, so that readers can check it.
Deleting Patients with Missing Outcomes
A complete-case analysis removes patients with a missing outcome. If dropout is related to the treatment, the result is biased. Instead, use a stated method, such as multiple imputation, and report a sensitivity analysis under different assumptions.
Reporting Only the Per-Protocol Result
In the example, the per-protocol analysis gave an NNT of 5, whereas the ITT analysis gave an NNT of 8. Reporting only the per-protocol result would make the new drug look more effective than it is in practice. Like the p-value, an effect estimate must be interpreted together with the population it comes from.
Using ITT Alone in a Non-Inferiority Trial
In a non-inferiority trial, non-adherence makes the groups look similar. Consequently, an ITT result alone can falsely support non-inferiority. Report both the intention-to-treat analysis and the per-protocol analysis.
Ignoring Sample Size Loss
Non-adherence reduces the observed effect in the ITT analysis, which reduces power. Therefore, the planned sample size should allow for the expected rate of non-adherence and dropout.
Running Intention-to-Treat Analysis in SPSS and R
The ITT analysis does not need a special procedure. In SPSS, keep the variable that holds the randomized group, include all cases, and use Analyze → Descriptive Statistics → Crosstabs. Move the randomized group to Rows and the outcome to Columns, click Statistics and select “Chi-square” and “Risk”. For the per-protocol analysis, use Data → Select Cases to keep only the completers, then repeat the test. In R, the ITT comparison takes one line: prop.test(c(163, 130), c(250, 250), correct = FALSE). For a binary outcome with covariates, the same principle applies to logistic regression.
Conclusion
The intention-to-treat analysis includes every randomized patient in the allocated group. Therefore, it preserves randomization and estimates the effect of prescribing the treatment in practice. Moreover, a complete report defines the analysis populations, presents the ITT result as the primary result, and adds the per-protocol analysis as a sensitivity analysis. In addition, missing outcomes must be handled with a stated method. If you are not sure which statistical test to choose, or you need help with the analysis of a clinical trial and its Results section, the StatisMed team of biostatisticians provides statistical analysis services for medical studies. You can request a free quote today.
Frequently Asked Questions
1. What is the difference between intention-to-treat and per-protocol analysis?
The intention-to-treat analysis includes all randomized patients in their allocated groups. In contrast, the per-protocol analysis includes only the patients who completed the treatment as planned. The ITT analysis is the primary analysis in most superiority trials.
2. Is intent to treat the same as intention to treat?
Yes. Both terms describe the same principle. The abbreviation ITT is used for both.
3. How are missing outcomes handled in an ITT analysis?
Patients with missing outcomes should not be deleted. Multiple imputation or mixed-effects models are common choices. However, last observation carried forward is no longer recommended as the main method, because it can bias the result.
References
Gupta, S. K. (2011). Intention-to-treat concept: A review. Perspectives in Clinical Research, 2(3), 109–112. https://doi.org/10.4103/2229-3485.83221
McCoy, C. E. (2017). Understanding the intention-to-treat principle in randomized controlled trials. Western Journal of Emergency Medicine, 18(6), 1075–1078. https://doi.org/10.5811/westjem.2017.8.35985




