Practical guide · Continuous outcomes · Base R
Published
The same mean, different individual response
Distinguish mean change, a treatment contrast and a responder proportion. Twenty synthetic observations show why one quantity does not determine the others.
Three questions, three quantities
A person’s change is their final value minus their baseline value. On a scale where lower is better, negative change indicates improvement. The mean of those changes summarises a group; a difference in means compares two groups. A responder proportion counts people meeting a predefined individual criterion and divides that count by the appropriate denominator.
The OASIZ-301 abstract reports adjusted mean changes of −5.6 with Q4W and −3.8 with placebo: a difference of −1.8 points. This is an aggregate comparison. It is neither the percentage of patients responding nor an identical improvement for every participant. The trial’s adjusted means also differ from the arithmetic means we calculate below.
The exercise: two entirely fictional groups
Both groups contain ten people with a baseline value of 10. In A, everyone ends at 6: each change is −4. In B, five people end at 2 and five at 10: changes are −8 and 0. We choose a threshold of at least three points’ improvement solely for teaching. This does not clinically validate that threshold or reconstruct trial participants.
| Group | Individual changes | Mean | Response: change ≤−3 |
|---|---|---|---|
| A · n=10 | Ten changes of −4 | −4 | 10/10 · 100% |
| B · n=10 | Five of −8 and five of 0 | −4 | 5/10 · 50% |
Before running R, ask: is there a difference in means? Is there a difference in proportions? Could you recover the percentages knowing only the mean of −4?
See the answers
The mean difference A−B is zero. The proportion difference is 50 percentage points. The mean alone cannot recover these proportions: multiple individual distributions can produce the same average. This is an arithmetic demonstration, without clinical inference, hypothesis tests or NNT calculations.
Reproduce it in R
Download the script and run it from a folder where you can write files. No packages or connection are required. It creates clearly identified synthetic data and two CSV files in the working directory: mean-response-data.csv and mean-response-summary.csv. It automatically checks group sizes, means and responder counts, including a value exactly on the threshold. Missing or non-finite inputs cause an error rather than silently removing observations.
source("mean-response-exercise.R")
read.csv("mean-response-summary.csv")
# A: mean_change = -4, responders = 10, n = 10
# B: mean_change = -4, responders = 5, n = 10If you change the threshold or the changes, notice which parts of the result depend on that decision. The original values are fixed in the script so the example remains reproducible.
Apply this to critical appraisal
For a continuous outcome, request the between-group effect with a confidence interval and the change distribution, rather than just improvement within each arm. For a binary response, request the criterion and its justification, counts, denominators, uncertainty and the handling of missing data. Check whether the threshold and analysis were prespecified. Exploring several thresholds after seeing the data can select a favourable story.
Do not judge clinical relevance by directly comparing a between-group mean effect with a threshold for change within one person. Nor should a continuous outcome automatically be replaced with a dichotomy: that loses information about magnitude and heterogeneity. The two views can complement one another when justified.
In the OASIZ-301 abstract, the bars are standard errors of adjusted means. They are neither confidence intervals for the contrast nor descriptions of individual change variability. Without model information we do not convert them into an effect interval. The Q4W−placebo difference also does not establish a comparison between Q4W and Q12W.
Finally, define the question answered when someone stops treatment, receives rescue treatment or lacks a final measurement. The denominator, intercurrent-event strategy and missing-data assumptions must align with that question. Sensitivity analysis should challenge those assumptions rather than quietly changing the objective.
Sources and limits
Original ACR abstract LB22 and figure with standard errors. ICH E9(R1) on estimands and sensitivity analysis; FDA, 2022 final multiple-endpoint guidance.
The example contains deterministic invented data. It does not estimate efficacy, safety, individual causality or a clinical threshold for Sjögren.
