The safety analysis set definition most trials use is the one ICH E9 gives: for the overall safety and tolerability assessment, the set of participants to be summarised "is usually defined as those subjects who received at least one dose of the investigational drug" (ICH E9 §6.3). It matters because it is a denominator. A sentence that says 52.1% of patients had an adverse event is making a claim about a set, and if the percentage divides by the randomised count while the sentence names the treated patients, the digits are perfect and the claim is false. Botminds' Medical Writing Quality Control checks that relationship on every number in a draft: which set the sentence names, which set the table divided by, and whether the two are the same set.
The worked examples are from the sample study that ships with the solution — Northwind Bio's VLT-302, Veltrimab against placebo in plaque psoriasis, 642 patients randomised, of whom 428 to Veltrimab. The company, the drug and the study are fictional. Figures from the product are tagged demo, target or estimated; the guideline and regulatory text is quoted and linked where it appears.
What is the safety analysis set?
The safety analysis set — written SAF, or simply the safety set — is every randomised participant who received at least one dose of study treatment, analysed as treated rather than as randomised. On the sample study that is 427 of the 428 participants randomised to Veltrimab: one was randomised and never dosed, so they are in the efficacy denominator and not in the safety one. Every percentage, incidence and exposure figure in the safety sections divides by 427.
Two things follow from the definition, and both explain why the error survives. The first is that the safety set is not smaller than the randomised set by much, which is exactly why the error survives: one participant in 428 moves a percentage by about a tenth of a point, and a tenth of a point looks like rounding. The second is that the safety set is defined before the blind is broken and written into the analysis plan, not chosen at analysis. ICH E6(R3) is explicit that the sponsor should ensure "the criteria for inclusion or exclusion of trial participants from any analysis set is pre-defined (e.g., in the protocol or the statistical analysis plan)" and that the rationale for any exclusion is documented (ICH E6(R3) §3.16.2(d)). A QC reviewer therefore has a document to check the sentence against, not only a table.
In practice the definition carries two refinements that a results document has to honour. The first is as-treated analysis: a participant randomised to placebo who received the active drug by error is summarised in the safety set of the treatment they actually got, because the claim is about exposure. That makes the safety denominators of two arms sum to the treated total rather than to the randomised total, and it makes an arm's safety N differ from its efficacy N in both directions, not only downwards. The second is the exposure denominator. Incidence per participant divides by the safety set; incidence per participant-year divides by exposure time, and a sentence that quotes a rate against a count table has taken a number from a column that was never computed. Both refinements are matters of reading the table's column heading and footnotes, which is where a table says which denominator it used.
Full analysis set, per-protocol set and safety set: three denominators, three claims
Most results documents use three analysis sets and quote all three in the same chapter, often in neighbouring paragraphs. They are not interchangeable, and each answers a different question. ICH E9 defines the first two in §5.2 and puts safety on the treated set in §6.3.
Three analysis sets, three denominators, and what each may be the denominator for
| Analysis set | Who is in it | What it may be the denominator for | Where it is defined |
|---|---|---|---|
| Full analysis set (FAS, often reported as intention-to-treat) | As close as possible to all randomised participants. ICH E9 describes it as "the analysis set which is as complete as possible and as close as possible to the intention-to-treat ideal of including all randomised subjects". | The primary efficacy analysis in a superiority trial, and the participant flow and disposition counts. On the sample study, 428 in the Veltrimab arm. | ICH E9 §5.2.1, and the trial’s own analysis plan, which lists the limited exclusions and justifies each. |
| Per-protocol set (also valid cases, evaluable subjects) | The subset of the full analysis set who kept more closely to the protocol, characterised by minimum exposure, availability of the primary measurement and the absence of major protocol violations. | A secondary or supportive efficacy analysis quoted as such. On the sample study, 404 in the Veltrimab arm. | ICH E9 §5.2.2 and the glossary; the exclusion reasons must be set out in full and documented before the blind is broken. |
| Safety analysis set (SAF) | Every randomised participant who received at least one dose, analysed as treated. On the sample study, 427 in the Veltrimab arm. | All adverse event incidences and percentages, laboratory and vital-sign summaries, and exposure. | ICH E9 §6.3: "the set of subjects to be summarised is usually defined as those subjects who received at least one dose of the investigational drug". |
Which set carries the primary analysis is not a matter of taste either. ICH E9 is direct about superiority trials: "the full analysis set is used in the primary analysis (apart from exceptional circumstances) because it tends to avoid over-optimistic estimates of efficacy resulting from a per protocol analysis, since the non-compliers included in the full analysis set will generally diminish the estimated treatment effect." The guideline also expects both to be run and compared: "In confirmatory trials it is usually appropriate to plan to conduct both an analysis of the full analysis set and a per protocol analysis, so that any differences between them can be the subject of explicit discussion and interpretation."
Behind the choice sits a principle ICH E9 states before it names any set: "decisions concerning the analysis set should be guided by the following principles: 1) to minimise bias, and 2) to avoid inflation of type I error." Both principles point away from choosing a set after the blind is broken, and both explain why the per-protocol set is the supportive analysis rather than the primary one: its exclusions depend on behaviour that is itself affected by the treatment, so, in ICH E9's reasoning, the bias can be severe, because whether a participant kept to the protocol may itself depend on the treatment and on the outcome.
A trial will often define more than three sets. A modified full analysis set drops a prospectively named group — participants from a site closed for data integrity reasons, for instance. A pharmacokinetic set holds the participants with evaluable concentration data. A completers set holds those who reached the final visit. Each is legitimate, each is a denominator, and each has to be named in the sentence that uses it. The number of sets is the real measure of how hard a document is to check: a study with six analysis sets has six candidate denominators for every percentage, and the gaps between some of them are large.
That multiplicity is what creates the QC problem. Both analyses exist, both are in the package, and the two tables look alike — the sample study has PASI 100 response in Table 14.2.3.1 for the full analysis set and in Table 14.2.3.2 for the per-protocol set. A writer reaching for the per-protocol figure and landing on the neighbouring table has made a mistake no reading of the sentence will reveal.
Which denominator do you use for an adverse event percentage?
The treated set, not the randomised set. The claim an adverse event percentage makes is about exposure — these are the people who took the drug and this is the share of them who had the event — so the denominator has to be the people who took it. On the sample study, 223 Veltrimab participants had at least one treatment-emergent adverse event. The two candidate denominators differ by one participant and the answers differ by a tenth of a point.
One participant in the denominator, and what it moves
Divided by the safety set
223 ÷ 427 = 52.2%
223 Veltrimab participants with at least one treatment-emergent adverse event, over the 427 who received at least one dose. This is the set ICH E9 §6.3 puts safety on, and the set the table divided by.
What the sentence claims
Divided by the randomised count
223 ÷ 428 = 52.1%
The same 223 participants over the 428 randomised, one of whom was never dosed. A plausible figure, one decimal place, and a population the sentence does not describe.
What the draft said
A tenth of a point is not a trivial error for two reasons. The first is that it is wrong in a document a regulator reads, and a reviewer who checks one figure and finds it does not reproduce has to assume the rest need checking too. The second is that the same mistake usually repeats: a writer who divided one safety percentage by the randomised count has divided the whole paragraph that way, and the paragraph now has a systematic bias towards slightly lower incidences.
The reverse mistake runs in the sponsor's favour. Dividing an efficacy response by the treated set rather than the full analysis set raises the response rate, which is a bias in the sponsor's favour, and ICH E9's warning about over-optimistic estimates of efficacy is aimed at exactly that direction.
Randomised, treated, analysed: why the three counts differ, and by how much
The counts differ because participants drop out of a set for defined reasons: randomised but never dosed, dosed but without the primary measurement, dosed with a major protocol violation. Drawn to scale, the differences are almost invisible, which is the honest picture of the problem.
One arm of the sample study, four counts, drawn to scale
- Randomised428
- Treated427
- Analysed for efficacy428
- Per-protocol404
The arithmetic of the gaps is worth stating plainly. Switching from 427 to 428 on a safety percentage moves it by roughly 0.1 of a point at an incidence near half, and less at a low incidence. Switching from the full analysis set to the per-protocol set changes the numerator as well as the denominator, because the 24 participants left out include some responders: on the sample study's PASI 100 result the full analysis set gives 27.6% and the per-protocol set 28.7% (116 of 404), a gap of 1.1 points. One of those two errors hides inside rounding and the other does not, and both are population errors rather than value errors.
The reconciliation itself is mechanical and worth doing once per document rather than once per sentence. Take each arm's randomised count from the disposition table, subtract the participants never dosed to get the safety set, and subtract the per-protocol exclusions, each with its reason, to get the per-protocol set. Three numbers, each with an audit path. A QC pass that establishes them at the start can then test every percentage in the document against the three, and any percentage whose denominator is none of the three is a finding before anyone looks at the digits — a cheap check that catches the subgroup and completers cases as well.
How far each wrong population or analysis moves the number
Primary analysis or sensitivity analysis: the interval must come from the output the estimate came from
A point estimate and its confidence interval are one result, produced together by one analysis. When a document pairs an estimate from the primary analysis with an interval from a sensitivity analysis, the pair describes no analysis that was ever run. On the sample study the primary analysis gives an interval of 55.9 to 66.5; the unstratified sensitivity analysis gives 55.4 to 67.0, and page 47 of the draft had the primary estimate beside the sensitivity interval.
The fix is not to choose the narrower interval. ICH E9 treats sensitivity analyses as evidence about robustness, to be reported as such, and ICH E3 makes the same point about alternative analysis populations, asking that "any substantial differences resulting from the choice of patient population for analysis should be the subject of explicit discussion" (ICH E3 §11.4.2.6). A sentence may quote a sensitivity analysis whenever it says so. What it may not do is quote one silently, which is why the check reads the sentence for which analysis it names before it compares any digits.
A per-protocol sentence quoting the full-analysis-set cell

Reporting the number analysed, and explaining why it differs
Every set a document quotes has to be accounted for, and the requirement is older and firmer than most writers expect. ICH E9 §7.1 puts it as a duty of the report itself.
"All subjects who entered the trial should be accounted for in the report, whether or not they are included in the analysis. All reasons for exclusion from analysis should be documented"
ICH E9, Statistical Principles for Clinical Trials, §7.1
ICH E3 asks for the same precision in the report's own structure: "exactly which patients were included in each efficacy analysis should be precisely defined, e.g., all patients receiving any test drugs/investigational products, all patients with any efficacy observation or with a certain minimum number of observations, only patients completing the trial" and so on (ICH E3 §11.1). The list is a list of denominators, and the reason the guideline spells it out is that the same result looks different under each.
Results registries impose the same duty in a machine-checkable form. Under the United States' clinical trial results regulations, a results submission must give the "Number of Participants Analyzed", defined as "the number of human subjects for whom an outcome was measured and analyzed, by arm or comparison group", and, where that differs from the number assigned to the arm, "a brief description of the reason(s) for the difference" (42 CFR 11.48(a)(3)(ii)). A document and a registry entry on the same study are therefore two statements of the same denominators, and the published record shows they disagree more often than anyone would like — a measured rate that the numbers behind each CONSORT abstract item sets out.
There is a drafting habit that makes this part of QC much cheaper, and it costs the writer nothing: put the denominator in the sentence. "Reported in 223 of 427 treated participants (52.2%)" is checkable by a reader with the table open and self-correcting for the author, because writing 427 forces the decision the percentage hides. Reporting guidance for trials pushes in the same direction, asking for the count and the denominator in each group alongside the effect between them, and a QC step that can see n, N and the percentage together can recalculate rather than merely compare.
Rounding once, from the table value
Rounding is the last of the five checks and the one that creates the most argument, because two reviewers can both be right about a digit and disagree about the rule. Two conventions settle most of it. Round once, from the value in the table, never from a figure that has already been rounded: a cell of 52.149% is 52.1% to one decimal, but rounded first to 52.15% and then again it becomes 52.2%, a figure no table contains. And fix the direction in the house rules — half away from zero, as SAS's ROUND function does it, or half to even — because the two differ on exactly the cases that end up in a comment log.
Rounding interacts with populations in one specific way worth knowing. A percentage quoted to a whole number, as plain-language summaries and many abstracts require, can be right on two different denominators at once: 223 of 427 and 223 of 428 are both 52% to the nearest whole number. The figure is then unverifiable from the document alone, and the only defence is the record of which cell it was taken from. In the solution the decimal convention per document type is a setting, and every number keeps the output, row, column and run it was checked against whatever the printed precision.
Derived figures need the same discipline and get it less often. A difference between arms, a ratio, a "roughly twice as many" phrase: each is computed from two table values, and each should be computed from the unrounded cells and rounded once at the end. Computing a difference from two already-rounded percentages introduces an error of up to five hundredths of a point in each term and a tenth in the difference, which is enough to make a difference of 61.2 print as 61.1 or 61.3. The practical rule for a QC step is that a derived number is recalculated, never matched: there is no cell to compare it with, so the check has to redo the arithmetic and then apply the rounding rule once.
Six sentences that name the wrong population, and the cell each should have matched
Population errors come in a small number of shapes, and a QC reviewer who knows the shapes finds them faster than one reading for sense. Three rows below are findings the product raised on the sample study, with the figures it shows. The other three are patterns rather than measured cases: no figure is given for them, because the point is the shape of the mistake.
Six shapes of population error, and the check that catches each
| The sentence says | The cell it was taken from | What should have happened |
|---|---|---|
| "Reported in 52.1% of patients who received Veltrimab" — a safety claim about treated participants. | A count of 223 participants, divided by the 428 randomised rather than the 427 treated (demo). | Divide by the safety set: 52.2%. ICH E9 §6.3 puts safety on the participants who received at least one dose. |
| "In the per-protocol set, 27.6% achieved PASI 100" — a compliance-restricted efficacy claim. | Table 14.2.3.1, the full analysis set result (demo). | Either quote 28.7% — 116 of 404 — from Table 14.2.3.2, or keep 27.6% and name the full analysis set. A person chooses which. |
| An estimate with a 95% interval of 55.4 to 67.0 presented as the primary result. | The unstratified sensitivity analysis output (demo). | Take the interval from the output the estimate came from: 55.9 to 66.5. Or say in the sentence that the sensitivity analysis is being quoted. |
| "Of patients with moderate disease at baseline, X% responded" — a subgroup claim. | The arm total, because the subgroup column was read and the arm denominator used. | Use the subgroup’s own N, which the table prints in its column heading. A subgroup percentage divided by the arm is always too low. |
| "X% of patients maintained response" — a completer claim written as a response rate. | A completers table, whose denominator is the participants who reached the visit. | Say whose response was maintained, and of how many. A completers denominator is legitimate and has to be named, because it excludes the participants most likely to have stopped. |
| "There were X adverse events in the treatment arm" — an event claim read as a patient claim. | A column of event counts rather than the column of participants with at least one event. | Decide which the sentence means, and quote the matching column. A safety table usually gives both, and they can be far apart. |
What all six have in common is that the draft and the table are each internally correct. The error is in the join, and the join is not written down anywhere in a conventional document. Making it explicit — every number carrying its output, row, column and run — is what turns a population check from an act of memory into a comparison, and it is the same mechanism that makes a late re-run tractable, as when a re-run table changes the text describes.
The denominator check in Medical Writing Quality Control, with both locations cited

To see the population, denominator, analysis and rounding checks run over a whole draft, start from Medical Writing Quality Control.
Questions people ask
What is the difference between the safety set and the full analysis set?
The safety set is everyone who received at least one dose, analysed as treated; the full analysis set is as close as a trial can get to every randomised participant, analysed as randomised. They differ by the participants who were randomised and never dosed. Safety percentages divide by the safety set because the claim is about exposure; the primary efficacy analysis of a superiority trial divides by the full analysis set, which ICH E9 §5.2.3 recommends because it avoids over-optimistic estimates.
Per-protocol or intention-to-treat: which is the primary analysis?
In a superiority trial, the full analysis set — the intention-to-treat denominator. ICH E9 §5.2.3 says so directly, and adds that both analyses should usually be run so that any difference between them can be discussed explicitly. In an equivalence or non-inferiority trial the reasoning changes, because a full analysis set that dilutes a treatment difference no longer produces the conservative answer; the trial's own analysis plan has to say which set carries the primary claim.
Do you divide by randomised or by treated patients?
By treated for anything safety — adverse events, laboratory abnormalities, vital signs, exposure. By randomised, or as close to it as the analysis plan allows, for the primary efficacy result and for disposition counts. If a sentence mixes the two in one paragraph it should say so, because a reader comparing two percentages assumes they share a denominator.
Which analysis set does a confidence interval come from?
The same output as the point estimate it belongs to. An interval and its estimate are produced by one analysis on one set; pairing an estimate from the primary analysis with an interval from a sensitivity analysis describes a result nobody computed. If a sentence quotes a sensitivity analysis, it has to name it.
When may a sentence quote a sensitivity analysis?
Whenever the trial ran one and the sentence says that is what it is quoting. Sensitivity analyses exist to show whether a conclusion holds under different assumptions, and reporting them is expected; ICH E3 §11.4.2.6 asks that substantial differences arising from the choice of population be discussed explicitly. The failure is silence, not the quotation.
How should a document report the number of participants analysed?
Per arm, for each analysis, with a reason whenever that number differs from the number assigned to the arm. ICH E9 §7.1 requires every participant who entered the trial to be accounted for in the report and every exclusion reason documented, and the United States results regulation at 42 CFR 11.48 asks for the same figure and a brief description of why it differs. In practice that means the denominator belongs in the table and in the sentence, not only in the table.