Skip to main content

Graphing and reporting heterogeneous treatment effects through reference classes

A Correction to this article was published on 20 October 2020

This article has been updated



Exploration and modelling of heterogeneous treatment effects as a function of baseline covariates is an important aspect of precision medicine in randomised controlled trials (RCTs). Randomisation generally guarantees the internal validity of an RCT, but heterogeneity in treatment effect can reduce external validity. Estimation of heterogeneous treatment effects is usually done via a predictive model for individual outcomes, where one searches for interactions between treatment allocation and important patient baseline covariates. However, such models are prone to overfitting and multiple testing and typically demand a transformation of the outcome measurement, for example, from the absolute risk in the original RCT to log-odds of risk in the predictive model.


We show how reference classes derived from baseline covariates can be used to explore heterogeneous treatment effects via a two-stage approach. We first estimate a risk score which captures on a single dimension some of the heterogeneity in outcomes of the trial population. Heterogeneity in the treatment effect can then be explored via reweighting schemes along this axis of variation. This two-stage approach bypasses the search for interactions with multiple covariates, thus protecting against multiple testing. It also allows for exploration of heterogeneous treatment effects on the original outcome scale of the RCT. This approach would typically be applied to multivariable models of baseline risk to assess the stability of average treatment effects with respect to the distribution of risk in the population studied.

Case study

We illustrate this approach using the single largest randomised treatment trial in severe falciparum malaria and demonstrate how the estimated treatment effect in terms of absolute mortality risk reduction increases considerably in higher risk strata.


‘Local’ and ‘tilting’ reweighting schemes based on ranking patients by baseline risk can be used as a general approach for exploring, graphing and reporting heterogeneity of treatment effect in RCTs.

Trial registration

ISRCTN clinical trials registry: ISRCTN50258054. Prospectively registered on 22 July 2005.

Peer Review reports


Randomised controlled trials (RCTs) provide the best causal evidence base for estimating the population average treatment effect (ATE) for a given intervention. The ATE can be used to support optimal decision making at the population level. At the individual level, however, the ATE is often unrepresentative of the true individual treatment effect (ITE) for a large proportion of patients. This may arise when the absolute treatment effect varies as a function of the individual risk of a negative outcome (e.g. treatment failure, death, severe adverse event, etc.). It has been previously shown that the baseline risk of a negative outcome is often highly skewed in patient populations for many diseases and conditions [1]. Hence the average risk, on which the ATE is estimated, may not be a good summary of the individual risk [2].

Due to the common occurrence of heterogeneity in baseline risk, guidelines for the reporting and assessment of RCT results have recommended the use of multivariable risk prediction tools for patient stratification [35]. Baseline predicted risk summarises patient variability into a single dimension over which individuals can be compared and average outcomes assessed. In the case that the risk score summarises all of the information content in the baseline covariates regarding the outcome, such that the risk score is sufficient, i.e. the outcome is conditionally independent of the covariates given the risk score, then the risk score is known as a prognostic score [6]. Ideally the risk score is a prognostic score, but this is not necessary for the risk score to be a useful stratifying variable. Risk scores provide a methodology for risk-based reference class forecasting and a principled way of assessing personalised and heterogeneous treatment effects (HTEs) [7]. Here, reference class forecasting refers to a prediction approach whereby each individual is characterised by a univariate (reference) score. We then predict the outcome for a given individual by averaging over the observed outcomes in a set of ‘similar’ individuals [8]. Similarity is defined by the closeness of their reference scores. In our context, we use the baseline risk to define the reference class.

The assessment of HTEs, and thus the stability of trial results, has classically been done by constructing parametric models targeting the ITE, conditioning on either the baseline risk or key variables predictive of the outcome [9]. However, estimating an ITE brings with it two challenges, one foundational and one practical. The foundational challenge is that the estimand of an ITE is counterfactual, targeting the expected difference between an observed (actual) outcome and an unobserved (potential) outcome that would have occurred had the individual been given an alternative treatment. The practical challenge is that statistical methods targeting ITEs invariably need to transform the outcome measurement to allow for contextual modelling, such as transforming to the log-odds scale under logistic regression, or proportional hazards for time-to-event data. These transformations inevitably make results dependent on parametric model assumptions and link functions concerning the effect of patients’ baseline covariates on their outcomes. Moreover, when testing for evidence of clinically significant variation in the ITE, considerable care must be taken not to overfit to the data, especially when considering a large number of potential predictor variables [10]. Overfitting to data can suggest heterogeneity when none exists or can identify spurious associations between covariates and ITEs. Correction for multiple testing and overfitting invariably reduces the power to detect true HTEs. Changing or transforming the outcome measure in order to accommodate modelling assumptions complicates the communication of results if the original trial reports the treatment effect on the absolute scale yet subsequent ITEs are reported on a transformed measure.

Here we promote a non-parametric (model-free) reference class forecasting approach to the estimation and assessment of HTEs using baseline risk to determine the reference class. In particular we construct the reference class through a sample reweighting scheme, and use this to explore for treatment effect variation in target populations different to the one collected through the RCT. Targeted treatment effects can then be estimated for these new populations. Two conceptually different target populations can be defined. Firstly, there is one which allows for the estimation of a counterfactual ITE. This can be done through ‘local’ reference classes centred around an individual of interest. Secondly, there is one which allows the estimation of the ATE in a ‘tilted’ population with different risk distributions to that of the RCT. We denote these as conditional average treatment effects (CATEs). The latter may be particularly useful if the risk profile of the trial population systematically underestimates or overestimates the profile of risk of the population for which the intervention is aimed. The CATE can then be used to explore stability of the RCT outcome with respect to this variation in population risk. The ITE and the CATE correspond to different sample reweighting schemes. We show how different reweighting schemes correspond to different bias-variance trade-offs for the reference class estimator, and we provide guidelines on graphing of results. It is important to note that estimands from reference classes target the same units of treatment effect as those defined in the original RCT. This allows for direct comparison between estimates. This is not true in general for HTE models, which, as noted above, may have to transform the outcome prior to modelling, for example, transforming an absolute effect to the log-odds scale for a binary response. We note that providing individualised predictions through locally weighted averaging has a rich history in the field of kernel smoothing methods, for example, the Nadaraya-Watson estimator [1113].

For illustration we consider the single largest trial of life-saving interventions in severe malaria, demonstrating that the superiority of parenteral artesunate over parenteral quinine stems from its very large effect in the most severely ill patients.


Multivariable risk-based ranking of trial individuals

In the following we consider RCT data of the form \(\{x_{i},y_{i},t_{i}\}_{i=1}^{N}\), where xi is a vector of baseline patient covariates for the ith patient, and yi is their observed outcome after receiving a randomised treatment allocation indicated by ti. We are interested in pairwise comparisons between two treatment arms T0 and T1.

We assume that it is possible to construct a priori a ‘risk quantile mapping’ Q:X→[0,1] for the outcome yi. This function Q maps each subject in the trial to their corresponding empirical risk quantile, agnostic of treatment. Thus, Q(xi)=0 denotes the subject least at risk of the negative outcome, and Q(xj)=1 the subject most at risk. In practice this mapping could be derived by estimating a function f:XY using data from a different source (this could include observational data, as the risk is agnostic of the treatment received); computing f(xi) for each subject; and then mapping f(xi) onto the empirical risk distribution for the N subjects in the trial. For most conditions, there will exist either an already validated risk score or external data on which to build a risk-based ranking [1]. If this is not the case, it is also possible to build an internal risk model by ‘retrodiction’: fitting the function f to the trial data at hand. Simulation studies suggest that these internal models introduce little bias into the procedure [14]. We note that a risk quantile mapping can be based on almost any type of outcome data. For example, a proportional hazards (Cox) model fit to time-to-event data can produce a risk quantile mapping by using the estimated linear combination of predictors.

We can then use the risk quantile mapping to construct a reference class. The risk mapping removes the need for multiple testing of interactions between the randomised treatment and single baseline covariates. The use of risk-based reference classes for exploring HTEs has been advocated previously, but it was limited to quintile or quartile subgroups [35]. We now consider a general approach using the risk-ranked individuals to estimate ITEs and CATEs. The approach advocated here relies critically on the quality of the risk mapping: the better the quantile mapping (i.e. the better it is at discriminating between low- and high-risk individuals), the better it will be for visualising HTEs if they are present.

In the following, for simplicity we assume that the subject index i has subsequently been sorted according to the risk prediction, with Q(x1)=0 and Q(xN)=1. In general, and in the absence of ties, \(Q(x_{i}) = \frac {i-1}{N-1}\).

Local smoothing estimation of a risk-based ITE using reference class forecasting

By ranking trial subjects from those ‘least at risk’ to those ‘greatest at risk’, it is possible to use a sliding window approach to estimate the ITE for each subject. For subject i, the set of risk-adjacent subjects determines the reference class used to predict the ITE for subject i. This generalises the concept of partitioning subjects into quintile or quartile subgroups [11].

Mathematically, the adjacency can be quantified using localised reweighting kernels. Local kernels target a specific individual focussed at their quantile of risk qi for the ith subject by considering the treatment outcome of other individuals in a local neighbourhood of risk-adjacent individuals, with q’s close to qi. These local reference classes are parameterised by their bandwidth (radius) γ[0,1], which defines the proportion of subjects in the window ‘close’ to subject i, which are used to estimate the ITE of the ith subject. This in turn characterises the effective sample size of the reference class forecasting method. The simplest local reference class forecasting weighting scheme uses the ‘boxcar’ function that gives equal weight to all subjects in the local window when estimating the ITE (see Fig. 1 for an example). For a window of width γ, we can estimate the ITE of treatment T1 versus T0 in subject i as:

$$ {}\text{ITE}(q_{i}) = C \left\{\sum_{k} w_{k} y_{k} \mathbbm{1}(t_{k}=T_{1}) - \sum_{k} w_{k} y_{k} \mathbbm{1}(t_{k}=T_{0}) \right\} $$
Fig. 1
figure 1

Two local kernel weighting schemes for ITE estimation and one global reweighting scheme for CATE estimation, as compared to ATE estimation. The ITE and CATE reweighting schemes represented all reduce the effective sample size of the original data and target an average risk corresponding to the 25th risk quantile. The scale of the y-axis is chosen so that the sum of the weights is equal to the effective sample size, or equivalently that the effective sample size is equal to the area under the curve. The effective sample sizes as a percentage of the original data are shown in the legend

where \(C = (\sum _{k} w_{k})^{-1}\) and wk=1 for subjects in the window around subject i and wk=0 outside of the window, i.e.:

$$ w_{k} = \left\{\begin{array}{ll} 1, & \text{for}\quad i-\lfloor{\gamma/N}\rfloor \leq k \leq i + \lfloor{\gamma/N}\rfloor\\ 0, & \text{otherwise} \end{array}\right. $$

Equation (1) defines the ITE of subject i using outcome data from all subjects whose baseline risk quantile is inside an interval of width 2γ centred around the ith subject. For the subjects in the lowest and highest risk quantiles, for whom there are not γ/N risk-adjacent subjects on each side, we take the convention to define the ITE as that of the subjects γ/N and Nγ/N, respectively. This convention preserves symmetry at the risk ‘tails’ (highest and lowest risk individuals). We note that γ must be large enough such that for each subject i there is at least one risk-adjacent subject inside the risk quantile interval of width 2γ for both treatment arms (at least one received T0 and at least one received T1). Otherwise, the treatment effect is not estimable.

The boxcar kernel is known to be problematic, as it varies in a non-smooth way as subjects enter into and leave the kernel, as illustrated in supplementary Figure S1. A better approach is to use a window that gradually down weights the influence of subjects in the estimate as subjects move away from the prediction point at qi. A smoother, improved reference class forecasting method uses the Epanechnikov kernel, again defined on the risk quantiles of radius of width γ around the subject i, with the weight given as:

$$ {}w_{k} \,=\, \left\{\begin{array}{ll} \frac{3}{4} \left(1 \,-\, (\frac{|i-k|}{\lfloor{\gamma N}\rfloor})^{2}\right), & \text{for}\quad \!\!\!\!\!i-\!\lfloor{\gamma/N}\rfloor \!\leq k \leq i + \lfloor{\gamma/N}\rfloor\\ 0, & \text{otherwise} \end{array}\right. $$

We use the same convention at the edges of the risk distribution for the subjects i<γ/N and i>Nγ/N. Under an Epanechnikov reweighting scheme, the weights slowly decay as a function of the distance from the ith datapoint. Both the boxcar and Epanechnikov kernels, centred around the 25% risk quantile, are illustrated in Fig. 1.

These ‘local’ reference class forecasting methods are symmetrical around the prediction for the subject i; i.e. they use an equal number of datapoints each side of i. However, they both can be adapted so that the bandwidth varies, exploiting the maximum possible information around the subject i and preserving symmetry. For example, at the median risk quantile, a varying bandwidth method would use all the data. We denote these maximal bandwidth local reference classes, and define the size of the window of information around the ith subject as min(i,Ni), where the parameter γ now specifies the minimal value that this window can take.

Estimation of a risk-based CATE using reference class forecasting with exponential tilting

Local reweighting schemes provide a principled approach for determining an ITE for a given subject in the trial up to a certain accuracy, with a certain bias-variance trade-off (see the next section). A different goal is to estimate population ATEs but in populations with a different risk distribution to that of the original trial. Often external populations for which the intervention is intended may differ to those of the trial due to issues such as non-representative inclusion criteria, selection bias or geographical clustering. We denote the estimation of the expected effect under a different population as a conditional average treatment effect (CATE). One interesting, and identifiable, external population can be made by tilting the original sample set through reweighting the contribution from each subject. Exponential tilting of the population weights is one example. Under this scheme we can consider estimating the ATE in an external tilted population that contains more higher risk subjects (or more lower risk ones) as compared with the original trial. In this scheme the ith subject with baseline covariates x is attributed a weight proportional to eλQ(x) in the estimate of the external ATE, where the free parameter λ determines the overall effective sample of the scheme and how far ‘tilted’ the weights are to the highest risk subjects (λ>0) or the lowest risk subjects (λ<0). The choice of λ=0 recovers the original ATE. The ratio of the relative weight w1 (the lowest risk subject) to the relative weight wN (the highest risk subject) is thus eλ. This is akin to estimating the ATE in a population whose participants are recruited with probability eλQ(x) relative to the original trial population.

A CATE could be directly targeted at a population of interest, for example, the set of all screened but excluded subjects (e.g. exclusion due to co-morbidities). One could directly construct the set of weights that target this external population, as the internal validity of the RCT may not apply to the excluded population. We can target the external population by selecting a set of weights such that the weighted distribution of risk in trial participants approximates as best possible the distribution of risk in the external population.

Effective sample size and bias-variance trade-off

Reference class estimators using reweighting schemes—whether they are global or local—provide unbiased estimators of the targeted treatment effect in the ‘local’ or ‘tilted’ population, but have increased variance with respect to that of the ATE estimated from the original RCT. This is a consequence of the reduced effective sample size within the reference class. The effective sample size can be thought of as the number of subjects (each given weight 1) required to obtain the same accuracy of estimation as in the reweighted population. As a function of the weights wi, the effective sample size is given by \((\sum _{i=1}^{N} w_{i})^{2} / \sum _{i=1}^{N} w_{i}^{2}\). The effective sample size is equal to N when all weights wi are equal to 1 and is strictly less than N otherwise. The effective sample size is directly related to the power to detect HTEs using a reweighted reference class. The more distinct the class, the lower the effective sample size, and thus the lower the power to reject the null hypothesis for any given HTE size.

For local reference classes, the effective sample size decreases with decreasing bandwidth of the kernel. This relates to a bias-variance trade-off in estimating the ITE at a reference quantile. The more localised the kernel, the lower the bias to estimate the target ITE, but the greater the standard error of the estimate, which is a function of the square root of the effective sample size. For instance, a kernel that only includes xi at a reference point has zero bias for the unique ITE but infinite variance of the estimate, as only one outcome is observed.

Properties of reweighting schemes under no heterogeneity

It is interesting to note that, under an assumption of ‘no treatment effect heterogeneity’, any weighted average of the outcomes is an unbiased estimator of the ATE, albeit with increased variance. If we consider the event ‘no HTE’ as a null hypothesis, then, under this null, the reweighted reference class ITEs will be distributed around the ATE with a variance determined by the effective sample size. This provides for a formal testing framework able to reject this null hypothesis at a certain level of significance, α, should there be an HTE under an alternative hypothesis.

Case study: the HTE of parenteral artesunate for the treatment of severe falciparum malaria

Severe falciparum malaria is a medical emergency characterised by potentially lethal vital organ dysfunction. Mortality is high even in the presence of effective treatment and is strongly dependent on the number and the severity of complications at presentation. Severe malaria represents a spectrum of illness where risk of death is highly predictable from baseline hospital admission covariates. The best prognostic covariates are the presence of coma, the concentrations of base deficit and blood urea nitrogen and also the total parasite biomass [15]. The operational definition of severe malaria as given by the World Health Organisation (WHO) [16] provides cutoffs that allow for efficient triage of patients at the highest risk of death, and standardisation of clinical studies of novel interventions in this clinically important subgroup. However, due to the multifactorial nature of the illness, estimating HTE within this subgroup is well suited for a multivariable risk modelling approach.

A key recent advance in the last decade in the treatment of severe malaria has been the introduction of parenteral artesunate. This has been shown to reduce mortality by up to 30% compared to parenteral quinine [17, 18]. In this section we illustrate our approach to reference class forecasting using the single largest study ever conducted in severe malaria, which compared artesunate to quinine in African children (AQUAMAT) [18]. The results of this trial led to parenteral artesunate becoming the WHO recommended treatment worldwide for severe falciparum malaria. In endemic countries where there is currently no evidence of widespread clinically significant artemisinin drug resistance (i.e. everywhere except Southeast Asia [19]), there is no a priori reason to believe that there are any severe malaria patients who do not benefit from artesunate over quinine. However, characterising heterogeneity in the treatment effect of artesunate is important for understanding the unique pharmacodynamics underlying its superiority. This is especially important in light of emerging resistance to the artemisinin derivatives in Southeast Asia [20]. Characterising the relationship between baseline risk and treatment effect also provides a rational approach for defining study inclusion criteria in order to maximise power at a given sample size.

The following illustrates our suggested approach to assessing HTEs from RCT data and showing how this heterogeneity should be graphically visualised with the help of a multivariable risk model. We first constructed a multivariable risk model of death from severe malaria using data from more than 4000 patients from multiple randomised and observational studies (mostly Asian adults) [17, 2127]. For all patients in this training dataset, risk of in-hospital mortality was then estimated using a mixed-effects logistic regression model, with the presence of coma (yes/no) and the base deficit concentration (mEq/L) as fixed effects. Study code and country of patient recruitment were added as random effect terms. This model was then used to predict the baseline probability of death in all patients (n=5483) recruited in the AQUAMAT study. The assigned risk of outcome was highly predictive of death in the AQUAMAT study (see supplementary Figure S2).

The original publication of the AQUAMAT study results reported no significant effect from a Mantel-Haenszel analysis of the predefined subgroups [18]. This is unsurprising, as it is well accepted that assessing HTE using single patient covariates lacks power and is prone to false positive results [3, 5]. Using reference class schemes, however, Fig. 2 shows that it is visually apparent that treatment effect is strongly dependent on the baseline risk of death. Panel a in Fig. 2 shows a standard quintile subgroup plot such as that recommended in [4]. Each subgroup has an effective sample size equal to approximately only one fifth of the original sample size, but the two highest quintiles of risk both approximately reach significance at the 5% level in terms of absolute mortality reduction. When using reference class forecasting that interpolates between all risk quantiles, the trend between baseline risk and treatment effect becomes clearer. For example, panel b shows the variation in CATE when varying the distribution of baseline risk using exponential tilting. The estimation of ITEs using an Epanechnikov kernel with varying bandwidth gives very similar results (panel c2).

Fig. 2
figure 2

A graphical comparison of four approaches to reference class forecasting of ITEs (thick blue lines with the pointwise 95% confidence intervals [CIs] shown as shaded blue areas) for patients enrolled in the AQUAMAT study [18]. In each panel the ATE (95% CI) from the original trial (n=5483) is shown by the dashed red line (red shaded area). The left column shows fixed bandwidth predictors (fixed effective sample sizes approximately equal to one fifth of the original sample size), and the right column shows varying bandwidth predictors (varying effective sample sizes). a Risk-based quintile partitioning. This does not interpolate between average risks in each subgroup. There is some minor variation in effective sample size due to ties in the multivariable risk scores. b Exponential tilting with free parameter λ as a global reweighting scheme with varying effective sample size (top x-axis). This is centred around the overall treatment effect corresponding to the value λ=0. c1 Epanechnikov kernel with fixed bandwidth chosen for an effective sample size of n=1097 (20% of the original sample size). c2 Epanechnikov kernel with maximal bandwidth reference class. Note that the 50% risk quantile has an effective sample size reduction of 17% with respect to the original trial sample size due to the decay in weights. This contrasts with panel b, where the ITE prediction at the 50% empirical risk quantile equals that of the ATE


Randomised trials are designed and powered to estimate ATEs. However, the distribution of baseline risk is often highly skewed. In this case, the ATE will both overestimate and underestimate the benefit of treatment for subjects who have lower or higher than average risk. A consequence of this variation in baseline risk and its influence on the reported treatment effect is that ATEs can be misleading when used to guide treatment recommendations at the individual level. It has been recommended that all trials report how treatment effect varies as a function of baseline risk [4], and the methods described here provide a principled framework for the graphical visualisation of HTEs and the estimation of ITEs and CATEs. Visualisation of HTEs using baseline risk is an important example of the broader concept of constructing an a priori reference class on which to explore heterogeneity.

The classical approach to the estimation of ITEs is to construct a parametric model of the outcome conditional on each possible treatment assignment and observed key subject covariates. Typically this necessitates data transformations of the outcome measurement such as the log-odds scale for logistic regression. Instead, we advocate a two-stage approach, first fitting a parametric model between the outcome and the key subject covariates, preferably from an external data source: this is a multivariable risk model which does not involve counterfactuals. This risk model can then be used to construct causally valid weighted treatment effects which can be directly interpreted in terms of risk-dependent ITEs and CATEs. In brief, instead of modelling the treatment effect directly, we recommend to model the risk and then use classical tests on randomised data to estimate ITEs. A major advantage of this approach is that it provides a formal approach to the use of prior observational data when evaluating the results of a randomised trial.

Graphical visualisation of RCT data using a well-defined risk-based reference class forecasting method such as exponential tilting of subjects’ ‘information weight’ allows for a clear presentation of heterogeneity in treatment effect as a function of baseline risk. These reference class forecasting plots are defined on the scale of the original estimand and are explicitly centred around the ATE targeted by the original RCT, clearly showing the loss in effective sample size as one attempts to predict in the tails of the risk distribution. Alternative methods, such as smoothing splines to estimate the ITEs, add extra complication to the analysis, for example, requiring a transformation of the outcome measure to ensure that the spline estimates remained in the appropriate range (for example, non-negative risk). In addition, they would not be centred around the ATE without considerable modification.

Availability of data and materials

The data that support the findings of this study are available from the Mahidol Oxford Tropical Medicine Research Unit, but restrictions apply to the availability of these data, which were used under licence for the current study, and so are not publicly available. Data are, however, available from the authors upon reasonable request and with permission of the Mahidol Oxford Tropical Medicine Research Unit data-sharing committee.

Change history

  • 20 October 2020

    An amendment to this paper has been published and can be accessed via the original article.


  1. Kent DM, Nelson J, Dahabreh IJ, Rothwell PM, Altman DG, Hayward RA. Risk and treatment effect heterogeneity: re-analysis of individual participant data from 32 large clinical trials. Int J Epidemiol. 2016; 45(6):2075–88.

    PubMed  PubMed Central  Google Scholar 

  2. Kent DM, Hayward RA. Limitations of applying summary results of clinical trials to individual patients: the need for risk stratification. J Am Med Assoc. 2007; 298(10):1209–12.

    Article  CAS  Google Scholar 

  3. Hayward RA, Kent DM, Vijan S, Hofer TP. Multivariable risk prediction can greatly enhance the statistical power of clinical trial subgroup analysis. BMC Med Res Methodol. 2006; 6(1):18.

    Article  PubMed  PubMed Central  Google Scholar 

  4. Kent DM, Rothwell PM, Ioannidis JPA, Altman DG, Hayward RA. Assessing and reporting heterogeneity in treatment effects in clinical trials: a proposal. Trials. 2010; 11(1):85.

    Article  PubMed  PubMed Central  Google Scholar 

  5. Kent DM, Steyerberg E, van Klaveren D. Personalized evidence based medicine: predictive approaches to heterogeneous treatment effects. Br Med J. 2018; 363:k4245.

    Article  Google Scholar 

  6. Hansen BB. The prognostic analogue of the propensity score. Biometrika. 2008; 95(2):481–8.

    Article  Google Scholar 

  7. Sussman JB, Kent DM, Nelson JP, Hayward RA. Improving diabetes prevention with benefit based tailored treatment: risk based reanalysis of diabetes prevention program. Br Med J. 2015; 350:h454.

    Article  Google Scholar 

  8. Kahneman D, Tversky A. Intuitive prediction: biases and corrective procedures. Cambridge: Cambridge University Press; 1982, pp. 414–21.

    Google Scholar 

  9. Sun XIoannidis JPA, Agoritsas T, Alba AC, Guyatt G. How to use a subgroup analysis: users’ guide to the medical literature. J Am Med Assoc. 2014; 311(4):405–11.

    Article  CAS  Google Scholar 

  10. Rothwell PM. Subgroup analysis in randomised controlled trials: importance, indications, and interpretation. Lancet. 2005; 365(9454):176–86.

    Article  PubMed  Google Scholar 

  11. Wand MP, Chris Jones M. Kernel smoothing. London: Chapman and Hall/CRC; 1994.

    Book  Google Scholar 

  12. Nadaraya EA. On estimating regression. Theory Probab Appl. 1964; 9(1):141–2.

    Article  Google Scholar 

  13. Watson GS. Smooth regression analysis. Sankhyā Indian J Stat Seri A. 1964; 26(4):359–72.

    Google Scholar 

  14. Burke JF, Hayward RA, Nelson JP, Kent DM. Using internally developed risk models to assess heterogeneity in treatment effects in clinical trials. Circ Cardiovasc Qual Outcome. 2014; 7(1):163–9.

    Article  Google Scholar 

  15. Hanson J, Lee SJ, Mohanty S, Faiz M, Anstey NM, kaew Charunwatthana P, Yunus EB, Mishra SK, Tjitra E, Price RN, et al.A simple score to predict the outcome of severe malaria in adults. Clin Infect Dis. 2010; 50(5):679–85.

    Article  PubMed  PubMed Central  Google Scholar 

  16. WHO. Severe malaria. Trop Med Int Health. 2014; 19(Supplement 1):7–131.

    Google Scholar 

  17. Dondorp AM, Nosten F, Stepniewska K, Day N, White N. Artesunate versus quinine for treatment of severe falciparum malaria: a randomised trial. Lancet. 2005; 366(9487):717–25.

    Article  PubMed  Google Scholar 

  18. Dondorp AM, Fanello CI, Hendriksen ICE, Gomes E, Seni A, Chhaganlal KD, Bojang K, Olaosebikan R, Anunobi N, Maitland K, et al.Artesunate versus quinine in the treatment of severe falciparum malaria in African children (AQUAMAT): an open-label, randomised trial. Lancet. 2010; 376(9753):1647–57.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  19. Ashley EA, Dhorda M, Fairhurst RM, Amaratunga C, Lim P, Suon S, Sreng S, Anderson JM, Mao S, et al.Spread of artemisinin resistance in Plasmodium falciparum malaria. New Engl J Med. 2014; 371(5):411–23.

    Article  PubMed  Google Scholar 

  20. Imwong M, Hien TT, Thuy-Nhien NT, Dondorp AM, White NJ. Spread of a single multidrug resistant malaria parasite lineage (PfPailin) to Vietnam. Lancet Infect Dis. 2017; 17(10):1022–3.

    Article  PubMed  Google Scholar 

  21. Maude RJ, Hoque G, Hasan MU, Sayeed A, Akter S, Samad R, Alam B, Yunus EB, Rahman R, Rahman W, Chowdhury R, Seal T, Charunwatthana P, Chang CC, White NJ, Abul Faiz M, Day NPJ, Dondorp AM, Hossain Amir. Timing of enteral feeding in cerebral malaria in resource-poor settings: a randomized trial. PLOS One. 2011; 6(11):1–7.

    Article  Google Scholar 

  22. Maude RJ, Silamut K, Plewes K, Charunwatthana P, Ho M, Abul Faiz M, Rahman R, Hossain MA, Hassan MU, Yunus EB. Randomized controlled trial of levamisole hydrochloride as adjunctive therapy in severe falciparum malaria with high parasitemia. J Infect Dis. 2013; 209(1):120–9.

    Article  PubMed  PubMed Central  Google Scholar 

  23. Newton PN, Angus BJ, Chierakul W, Dondorp A, Ruangveerayuth R, Silamut K, Teerapong P, Suputtamongkol Y, Looareesuwan S, White NJ. Randomized comparison of artesunate and quinine in the treatment of severe falciparum malaria. Clin Infect Dis. 2003; 37(1):7–16.

    Article  CAS  PubMed  Google Scholar 

  24. Plewes K, Kingston HWF, Ghose A, Wattanakul T, Uddin Hassan MM, Haider MS, Dutta PK, Islam MA, Alam S, Jahangir SM, Zahed ASM, Sattar MA, Hassan Chowdhury MA, Herdmen MT, Leopold SJ, Ishioka H, Piera KA, Charunwatthana P, Silamut K, Yeo TW, Lee SJ, Mukaka M, Maude RJ, Turner GDH, Faiz MA, Tarning J, Oates JA, Anstey NM, White NJ, Day NPJ, Hossain MA, Jackson Roberts II L, Dondorp AM. Acetaminophen as a renoprotective adjunctive treatment in patients with severe and moderately severe falciparum malaria: a randomized, controlled, open-label trial. Clin Infect Dis. 2018; April.

  25. Phu NH, Tuan PQ, Day N, Mai NTH, Chau TTH, Chuong LV, Sinh DX, White NJ, Farrar J, Hien TT. Randomized controlled trial of artesunate or artemether in Vietnamese adults with severe falciparum malaria. Malar J. 2010; 9(1):97.

    Article  PubMed  PubMed Central  Google Scholar 

  26. SEAQUAMAT group. Artesunate versus quinine for treatment of severe falciparum malaria: a randomised trial. Lancet. 2005; 366(9487):717–25.

    Article  Google Scholar 

  27. Hien TT, Day NPJ, Phu NH, Mai NTH, Chau TTH, Loc PP, Sinh DX, Chuong LV, Vinh H, Waller D, et al.A controlled trial of artemether or quinine in Vietnamese adults with severe falciparum malaria. New Engl J Med. 1996; 335(2):76–83.

    Article  CAS  Google Scholar 

Download references


We wish to thank the two referees for pointing us to reference [6] and for the suggestion regarding targeting the CATE at an external population. We thank the Mahidol Oxford Tropical Medicine Research Unit for allowing us to use the data from the AQUAMAT study.


No specific funding was used to support this work.

Author information

Authors and Affiliations



JAW and CCH contributed equally to this work. Both authors read and approved the final manuscript.

Corresponding authors

Correspondence to James A. Watson or Chris C. Holmes.

Ethics declarations

Ethics approval and consent to participate

1. UK: Oxford Tropical Medicine Research Ethics Committee (OXTREC) (UK), 11th August 2008 (ref. 03402) 2. The Gambia: The Gambia Government/MRC Laboratories Joint Ethics Committee, 5th October 2005 (ref. L2005.91) 3. Kenya: KEMRI National Ethics Review Committee, 21st October 2005 (ref. KEMRI/RES/7/3/1) 4. Ghana: University of Science and Technology School of Medical Science, Committee on Human Research Publication and Ethics, 23rd January 2006 (ref. CHRPE/01/06) 5. Mozambique: Ministry of Health, Comité Nacional de Bioética para a saùde, 4th June 2007 (ref. IRB 00002657-105/CNBS/07) 6. Tanzania: Ministry of Health, National Institute for Medical Research (NIMR), 20th April 2007 (ref. NIMR/HQ/R.8c/ Vol. 1/22) 7. Uganda: Mbarara University of Science and Technology, Institutional Ethical Review Committee, 22nd August 2007 (ref. Dos 1/6) 8. Nigeria: University of Ilorin Teaching Hospital, Ethical Review Committee, 26th October 2007 (ref. UITH/CAT/189/10/659) 9. Rwanda: Ministry of Health National Ethics Committee, 3rd April 2008 (ref. IRB 00001497 of IORG 0001100)

All patients or their attendant relative or guardian gave fully informed written consent before enrolment into the study.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Additional file 1

Supplementary figures.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Watson, J.A., Holmes, C.C. Graphing and reporting heterogeneous treatment effects through reference classes. Trials 21, 386 (2020).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: