 Research article
 Open Access
 Published:
Adjusting for multiple prognostic factors in the analysis of randomised trials
BMC Medical Research Methodology volume 13, Article number: 99 (2013)
Abstract
Background
When multiple prognostic factors are adjusted for in the analysis of a randomised trial, it is unclear (1) whether it is necessary to account for each of the strata, formed by all combinations of the prognostic factors (stratified analysis), when randomisation has been balanced within each stratum (stratified randomisation), or whether adjusting for the main effects alone will suffice, and (2) the best method of adjustment in terms of type I error rate and power, irrespective of the randomisation method.
Methods
We used simulation to (1) determine if a stratified analysis is necessary after stratified randomisation, and (2) to compare different methods of adjustment in terms of power and type I error rate. We considered the following methods of analysis: adjusting for covariates in a regression model, adjusting for each stratum using either fixed or random effects, and MantelHaenszel or a stratified Cox model depending on outcome.
Results
Stratified analysis is required after stratified randomisation to maintain correct type I error rates when (a) there are strong interactions between prognostic factors, and (b) there are approximately equal number of patients in each stratum. However, simulations based on real trial data found that type I error rates were unaffected by the method of analysis (stratified vs unstratified), indicating these conditions were not met in real datasets. Comparison of different analysis methods found that with small sample sizes and a binary or timetoevent outcome, most analysis methods lead to either inflated type I error rates or a reduction in power; the lone exception was a stratified analysis using random effects for strata, which gave nominal type I error rates and adequate power.
Conclusions
It is unlikely that a stratified analysis is necessary after stratified randomisation except in extreme scenarios. Therefore, the method of analysis (accounting for the strata, or adjusting only for the covariates) will not generally need to depend on the method of randomisation used. Most methods of analysis work well with large sample sizes, however treating strata as random effects should be the analysis method of choice with binary or timetoevent outcomes and a small sample size.
Background
Some randomised controlled trials (RCTs) adjust their analyses for prognostic factors which are thought to influence outcome (such as age or disease stage). This is commonly done to increase power [1–7], to guard against chance imbalances between treatment arms [3, 8], or because the prognostic factors have been used as balancing variables in the randomisation process and it is necessary to account for them in the analysis to obtain correct type I error rates [9–14]. There are often several available methods to account for covariates in a trial analysis. For example, with a binary outcome either logistic regression with the prognostic factors as covariates or a MantelHaenszel technique may be used to estimate the treatment effect. Alternatively, one could adjust for the individual strata, formed by all combinations of the covariates, using a logistic regression model with the strata modelled as either fixed or random effects.
Although many articles have highlighted the benefits of covariate adjustment [1–8], relatively little attention has been paid to the best method of adjustment with multiple prognostic factors (with only one prognostic factor most methods of adjustment will give a similar answer [3]). Likewise, little research has looked into whether the type of adjustment should match the type of randomisation (e.g. a stratified analysis for stratified randomisation). When randomisation is carried out within each stratum (for example using stratified permuted blocks [15]), not only will each stratification factor be balanced between treatment arms, but each combination of stratification factors (i.e. each stratum) will as well. If there is an interaction between balancing factors (e.g. if the effect of age on outcome depends on the patient’s disease stage), it may be necessary to account for not only the stratification factors, but also their interactions (or for each stratum) in the analysis in order to obtain correct type I error rates [9]. Conversely, when randomised is not carried out within strata (e.g. when balancing factors are not used in the randomisation process, or when covariates are balanced marginally), it may be unnecessary to account for interactions between covariates to obtain correct type I error rates (although adjustment for strong interactions may lead to increased power). Minimisation [15] is the most commonly used method of balancing covariates marginally [10]. Briefly, the balance between treatment groups is calculated for each covariate, and then summed across all covariates to give an overall measure of balance. The patient is then allocated to the group that would give the best overall balance (usually with an element of probability [16]). Thus, treatment assignments are balanced within a covariate considered individually, but not within combinations of balancing covariates. This implies that for minimisation, adjusting only for the covariates used in the minimisation process (and not for their interactions, or equivalently each strata) should give valid type I error rates.
The goals of this paper are (1) to determine whether a stratified analysis is necessary to maintain correct type I error rates after randomisation is performed within each stratum (stratified randomisation), and (2) to compare different methods of adjustment in terms of type I error rate and power, irrespective of the method of randomisation used. We do not consider the issue of how best to adjust for centreeffects in multicentre RCTs, as this issue has different considerations, and has been discussed previously [3, 14, 17–21]. We also do not consider the case of treatmentbycovariate (or treatmentbystrata) interaction (that is, all analysis methods presented here assume the treatment effect is constant across different covariates or strata).
Methods
Methods of adjustment
Methods of adjustment for covariates will generally fall into two classes. The first involves adjusting only for the individual covariates. We refer to this as a covariateadjusted analysis. The second involves adjusting for each individual stratum. We refer to this as a stratified analysis. We illustrate these two different approaches using an example. Suppose we wish to account for two binary covariates in the analysis: gender (male vs. female) and disease stage (early vs. late). A covariateadjusted analysis would involve adjusting for gender and disease stage as two separate variables in a regression model. A stratified analysis however would account for each stratum formed by these covariates (male/early stage vs male/late stage vs female/early stage vs female/late stage). This could be done by adjusting for each stratum in a regression model using three dummy variables, but is often done by performing the analysis within each stratum, and combining the results. Examples of this include MantelHaenzel for binary outcomes, or a stratified Cox model for timetoevent outcomes.
We illustrate some general approaches to adjustment using the previous example, where there were two covariates of interest, gender and disease stage. Let X _{ G } be a binary variable indicating the patient’s gender (0 = female, 1 = male), X _{ S } be a binary variable indicating the disease stage (0 = early, 1 = late), and X _{ treat } be a binary variable indicating whether the patient received the treatment or not.
Then, a covariateadjusted analysis can be carried out by adjusting for the individual covariates in a regression model. This can be done with a model of the form:
Where Y is the patient outcome, f(.) is the link function, α the intercept, and the β’s represent regression coefficients.
There are several methods of performing a stratified analysis, some of which apply only to certain outcome types. One method of performing a stratified analysis is to account for all the strata in a regression model using indicator variables. This can be thought of as a stratified analysis using fixed effects (this is a common method of analysis for multicentre trials with continuous outcomes [14]). Since gender and disease stage form four strata (female/early, female/late, male/early, male/late) we need three dummy variables. Let X _{ FL } be a binary variable indicating whether the patient was female with latestage disease (0 = no, 1 = yes), X _{ ME } be a binary variable indicating whether the patient was male with earlystage disease (0 = no, 1 = yes), and X _{ ML } be a binary variable indicating whether the patient was male with latestage disease (0 = no, 1 = yes) (the choice of which stratum to drop from the parameterisation is arbitrary, and will have no impact on the estimated treatment effect or its standard error).
Then, a stratified analysis using fixed effects can be performed using the following model:
It should be noted that (provided there are no continuous covariates) equation (2) is equivalent to adjusting for all the individual covariates as well as all interactions in the sense that the treatment effect and its standard error will be identical.
Another method of performing a stratified analysis is to treat strata as random effects from a distribution (which is also sometimes used to analyse multicentre trials [14]). This can be thought of as a stratified analysis using random effects. Consider the scenario where we have j strata (in the above example we have four strata). A stratified analysis using random effects could then be performed using the following model:
where u _{ j } is a random effect for the jth stratum. u _{ j } would generally be assumed to follow a normal distribution. This assumption is likely to be violated in many scenarios, but previous research has shown that the fixed parameters from random effects models are robust to misspecification of the random effects distribution [14, 22].
As mentioned previously, some types of stratified analyses can only be performed for specific outcome types. Two examples of this are a MantelHaenszel analysis and a stratified Cox model. MantelHaenszel applies to binary outcomes, and involves calculating an odds ratio within each stratum, then calculating a weighted average of the results to get a final estimate. A stratified Cox model is performed with timetoevent outcomes, and involves calculating a hazard ratio within each stratum, then combining the results for a final estimate.
For continuous outcomes, the interpretation of the treatment effect will not depend on the method of analysis. However, for binary or timetoevent outcomes, adjustment for different factors can lead to different estimates [23, 24], and therefore must be interpreted based on the adjustment factors. If the interactions between prognostic factors are large, a stratifiedanalysis may lead to larger estimates of treatment effect compared with a covariateadjusted analysis, and may therefore increase power [23, 24].
Simulation study based on theoretical data
We performed a simulation study to determine (i) if a stratified analysis is necessary after stratified randomisation to maintain correct type I error rates, and (ii) whether a covariateadjusted analysis is adequate after minimisation for correct type I error rates (rendering a stratified analysis unnecessary).
We used two different methods of randomisation; (i) stratified permuted blocks, with a block size of 2, and (ii) minimisation with a random component of 80%. For each method of randomisation we performed two analyses; (a) covariateadjusted analysis, using equation 1, and (b) stratified analysis using fixed effects, using equation 2 (which, as noted previously, is the same as model (4), and so is equivalent to the data generating model). We therefore assessed four randomisationanalysis combinations in total:

a)
Stratified permuted blocks, with a covariateadjusted analysis

b)
Stratified permuted blocks, with a stratified analysis

c)
Minimisation, with a covariateadjusted analysis

d)
Minimisation, with a stratified analysis
Our hypothesis was that using a covariateadjusted analysis after stratified randomisation would lead to inflated type I error rates when there were substantial interactions between prognostic factors, but that a stratified analysis would lead to nominal type I error rates. Conversely, we hypothesised that a covariateadjusted and a stratified analysis would lead to nominal type I error rates after minimisation.
We generated continuous outcomes from the following model (which in this scenario is equivalent to model (2) above):
where Y _{ i } is the outcome from the ith patient, X _{ 1 } and X _{ 2 } are balancing factors and X _{ 12 } is their interaction, β _{ 1 } and β _{ 2 } are the regression coefficients for those balancing factors, and β _{ 12 } is the regression coefficient for their interaction. ϵ _{ i } is a random error term, and is normally distributed with mean 0 and variance σ ^{2}.
We performed two sets of simulations. In the first, we varied the size of β _{ 12 } while holding the other parameters constant. In the second, we varied the proportion of patients with X _{ 12 } = 1 while holding the other parameters constant. More information on both of these scenarios is available below. We set the sample size to 250 patients, and used 5000 replications for each scenario to give a standard error of about 0.3% when estimating the type I error rate, assuming a true type I error rate of 5%.
Varying the size of the interaction term
For the first set of simulations we varied the size of β _{ 12 } while holding the other parameters constant. We varied β _{ 12 } from 0 to 3 in increments of 0.2. β _{ 1 } and β _{ 2 } were set to 0.5, β _{ treat } was set to 0 and σ ^{2} to 1. We set P(X _{ 1 } = 1) = P(X _{ 2 } = 1) = 0.5, and generated X _{ 1 } and X _{ 2 } independently. It follows that P(X _{ 12 } = 1) = 0.25.
Varying the distribution of patients across strata
For the second set of simulations we varied the proportion of patients with X _{ 12 } = 1 while holding the other parameters constant. We did this by varying P(X _{ 1 } = 1) and P(X _{ 2 } = 1) together from 0.1 to 0.5 in increments of 0.05. This corresponds to varying P(X _{ 12 } = 1) from 0.01 to 0.25. All other parameters were set to the same values as above, except β _{ 12 } which was set to 1.5 (which is 50% larger than σ, and is unlikely to occur often in practice, but is used here for the purposes of illustration).
Simulation study based on real trial data
Methods
We performed a simulation study based on real datasets to (1) determine whether stratified randomisation is necessary to maintain correct type I error rates after stratified randomisation in real trial scenarios, and (2) to compare different methods of adjustment in terms of type I error rate and power, irrespective of the method of randomisation used. We used three datasets (one each with a continuous, binary, and timetoevent outcome), which are further described below.
When generating data, we used the linear predictor:
where β _{ c } denotes the main effect from the cth covariate, and β _{ cd } denotes the twoway interaction between the cth and dth covariates (for c ≠ d). More information on the exact data generating models can be found below.
For simplicity, we chose to simulate data based only on the twoway interactions between covariates, rather than including any threeway or higher interactions. It should be noted that although we simulated data based only on the twoway interactions, stratified analyses were performed adjusting for all interactions (or, equivalently, all strata), rather than only the twoway interactions.
We generated prognostic variables from a multivariate normal distribution with a covariance matrix based on the original data set so that the proportion of patients in each stratum was similar to the original study. We then categorised binary covariates using a cutpoint specified to give the desired proportions in each group.
We randomised patients to one of two treatments using three different methods: (1) simple randomisation, where all patients had a 50% chance of either treatment; (2) stratified permuted blocks, with a block size of 4; and (3) minimisation, with a random element of 80% (i.e. patients were assigned to the preferred treatment arm with a probability of 80%).
As above, we used 5000 replications for each scenario. We compared different analysis methods in terms of the type I error rate and power. For continuous, binary, and timetoevent outcomes, the treatment effect was calculated as a difference in means, an odds ratio, and a hazard ratio respectively. To assess the type I error rate, we set β _{treat} to 0. To assess power, we set β _{treat} to give 80% power based on the specified sample size (for binary and timetoevent outcomes, we powered the study based on reducing, rather than increasing, the number of events).
MIST2 (continuous outcome)
For continuous outcomes, we based our simulations on the MIST2 trial, which has been described previously [9, 10, 25, 26]. Briefly, MIST2 was a randomised controlled trial assessing whether tissue plasminogen activator, deoxyribonoclease, or their combination was effective in reducing the size of patients’ pleural effusion (a continuous outcome). Two hundred and ten patients were randomised using minimisation, with a random component of 80%. Balancing variables were the size of the baseline pleural effusion (greater or less than 30% of the hemithorax), whether the patient was purulent, and whether the infection was community or hospital acquired.
We generated data from the following model:
where Y _{ i } is the outcome for the ith patient, η _{ i } is the linear predictor (as in equation 5), and ϵ _{ i } is a random error term. The parameters for the covariates and their twoway interactions can be found in Table 1. ϵ _{ i } was generated from a normal distribution with mean 0 and standard deviation 19.1.
We used sample sizes of 100, 200, 500, and 1000 patients. We used three methods of analysis; (a) covariateadjusted analysis (equation 1); (b) stratified analysis using fixed effects (equation 2); and (c) stratified analysis using random effects (equation 3).
AUGIB (binary outcome)
For binary outcomes, we based our simulations on the Acute Upper Gastrointestinal Bleeding (AUGIB) audit dataset. This dataset has been described previously [27–30]. Briefly, this was an observational dataset collected on consecutive patients presenting with AUGIB in the UK. We used further bleeding as an outcome. We chose four prognostic factors; urea (as a binary covariate, dichotomised at its median), presence of shock, prolonged coagulation, and outpatient at admission. The dataset comprised of 4342 patients with complete data on the above covariates.
We generated latent outcomes using the following model:
where Y _{ i } ^{*} is a latent outcome for ith patient, η _{ i } is the linear predictor (as in equation 5), and ϵ _{ i } is a random error term that follows a logistic distribution with mean 0 and variance π^{2}/3. Binary responses were generated as Y _{ i } = 1 if Y _{ i } ^{*} > 0, and 0 otherwise. The regression parameters for the covariates and their twoway interactions can be found in Table 2.
We used sample sizes of 100, 200, 500, 1000, and 2000 patients. We used four methods of analysis; (a) covariateadjusted analysis (equation 1); (b) stratified analysis using fixed effects (equation 2); (c) stratified analysis using random effects (equation 3); and (d) MantelHaenszel estimates (a type of stratified analysis).
The event rate was approximately 23.6% in the control arm for all scenarios, except for a sample size of 100 where we used an event rate of about 30.1% in order to ensure an adequate number of events occurred in the treatment arm when assessing power.
PBC (timetoevent outcome)
For timetoevent outcomes, we based our simulations on the PBC trial. This dataset has been described previously [9, 31]. Briefly, this was a randomised trial assessing whether Dpenicillamine could increase overall survival time (primary outcome) in patients with primary biliary cirrhosis. We chose four prognostic factors; age, log(bilirubin), albumin (all as binary covariates, dichotomised at their medians), and disease stage (1/2 vs 3/4). The dataset comprised of 312 patients.
We generated time to event outcomes using the method described by Bender et al.[32]:
where Y _{ i } is the time to death, η _{ i } is the linear predictor (as in equation 5), H _{ 0 } is the cumulative baseline hazard function, and U ~ Uniform (0, 1). This model implies proportional hazards. We censored event times at a cutpoint specified to give a similar proportion of censoring as seen in the original dataset. The event rate was approximately 40.4% in the control arm for all scenarios. The regression parameters for the covariates and their twoway interactions can be found in Table 3.
We used sample sizes of 100, 200, 500, 1000, and 2000 patients. We used four methods of analysis; (a) covariateadjusted analysis (equation 1); (b) stratified analysis using fixed effects (equation 2); (c) stratified analysis using random effects (equation 3); and (d) a stratified Cox model (a type of stratified analysis).
Sensitivity analysis
We performed a sensitivity analysis to assess whether increasing the size of the observed interactions in the MIST2, PBC, and AUGIB datasets had any impact on type I error rates. Simulations were performed as above, but we systematically increased the size of each interaction term by of a factor of 2.5, 5, 7.5, and 10. For example, the size of the observed interaction terms in the MIST2 dataset (Table 1) was −1.6, 3.5, and 24.4. Increasing these interactions by a factor of 2.5 for this sensitivity analysis led to interaction sizes of −4.0, 8.8, and 61.0 respectively.
Results
Simulation study based on theoretical data
Varying the size of the interaction term
Results are shown in Figure 1a. When patients were randomised using minimisation, both a covariate adjusted analysis and a stratified analysis gave valid type I error rates, regardless of the size of the interaction. Likewise, when a stratified analysis was used after patients were randomised using stratified permuted blocks, error rates were nominal. However, a covariate adjusted analysis gave incorrect type I error rates whenever the interaction was ≠ 0.
This demonstrates that, in principle, when randomisation has been balanced within strata, a stratified analysis may be necessary to maintain nominal type I error rates when there are large interactions between balancing factors. For minimisation, which does not balance within strata, either a stratified or a covariate adjusted analysis will give valid type I error rates in the presence of large interactions.
Varying the distribution of balancing factors
Results are shown in Figure 1b. The impact of a covariate adjusted analysis after randomisation using stratified blocks on the type I error rate depended on the proportion of patients with X _{ 12 } = 1; when this was small, type I error rates were close to nominal. However, as this increased, the type I error rates became too low.
This demonstrates that it is not only the size of the interaction which could impact the type I error rate under a covariate adjusted analysis, but also the distribution of patients across the different strata.
Simulation study based on real trial data
MIST2 (continuous outcome)
Results after stratified permuted blocks and minimisation are shown in Figure 2. As expected, all methods of analysis (covariateadjusted analysis, stratified analysis using fixed effects, and a stratified analysis using random effects) gave close to nominal type I error rates after simple randomisation (results not shown) or minimisation. Stratified analyses (using either fixed or random effects) gave valid results after randomisation using stratified permuted blocks. However, a covariate adjusted analysis also gave close to nominal type I error rates after stratified permuted blocks, contradicting results seen earlier.
A stratified analysis using random effects gave a small increase in power compared to either a covariate adjusted analysis or a stratified analysis using fixed effects with a sample size of 100 (approximately 12% across different randomisation methods). For larger sample sizes (between 200 and 1000 patients), stratified analyses using either fixed or random effects had similar levels of power, and were slightly more powerful than covariate adjusted analysis (approximately 1.5%).
Each method of analysis had a convergence rate of 100% in all scenarios.
AUGIB (binary outcome)
Results after stratified permuted blocks and minimisation are shown in Figure 3. For larger sample sizes (500 or more patients), all analysis methods gave similar type I error rates and power; as above, a covariateadjusted analysis gave correct type I error rates, even when used after stratified permuted blocks. Convergence rates were greater than 99% for all analysis methods.
For smaller sample sizes (100 or 200 patients), results for the different analysis methods were less similar. With 100 patients, all analysis methods apart from a stratified analysis using random effects had convergence issues; convergence rates for a covariateadjusted analysis, a stratified analysis using fixed effects, and MantelHaenszel varied between 9697%, whereas rates for a stratified analysis using random effects were >99%. All convergence rates were >99% with 200 patients.
The type I error rate for MantelHaenszel was too low with a sample size of 100 patients; this lead to a small loss in power (between 25% compared with a stratified analysis using random effects). With 200 patients, MantelHaenszel experienced a loss in power of 15% compared with a stratified analysis using random effects. Type I error rates and power results between a covariateadjusted analysis and stratified analyses using either fixed or random effects were similar for 100 or 200 patients.
PBC (timetoevent outcome)
Results after stratified permuted blocks and minimisation are shown in Figure 4. Convergence rates were above 99.9% for each method of analysis in all scenarios. For large sample sizes (1000 or 2000 patients) each method of analysis gave similar results; as above, a covariateadjusted analysis gave correct type I error rates when used with stratified permuted blocks.
For other sample sizes (100, 200, and 500 patients) a stratified analysis using fixed effects had type I error rates that were too large (range across three different randomisation methods 7.48.5%, 6.26.7%, and 5.55.8% for 100, 200, and 500 patients respectively). Type I error rates were slightly too large for covariateadjusted analyses, although less so than for stratified analyses using fixed effects (range across different randomisation methods 5.46.0%, 5.55.7%, and 5.15.7% for 100, 200, and 500 patients respectively). Conversely, stratified analyses using random effects and stratified Cox models gave nominal type I error rates (range across randomisation methods and sample sizes 4.75.5% and 4.45.6% for 100–500 patients for stratified analyses using random effects and stratified Cox models respectively).
Stratified analyses using fixed effects and covariateadjusted analyses had highest power for smaller sample sizes, although this is likely a result of the inflated type I error rate associated with these analysis methods. Of the two analysis methods that gave nominal type I error rates for smaller sample sizes, stratified analyses using random effects had higher power than stratified Cox models (power increases of 3.65.5% and 1.72.5% for sample sizes of 100 and 200 respectively).
Sensitivity analysis
Results are shown in Figure 5. For MIST2, the type I error rate was too low when the size of the observed interactions was increased by a factor of at least 2.5. For the PBC and AUGIB datasets, type I error rates were not substantially affected until the interactions had been increased by a factor of at least 7.5.
To be these results in perspective, increasing the observed interactions from the MIST2 dataset by a factor of 2.5 resulted in the effect size of the largest interaction being increased to almost 60 (approximately 3 times larger than the residual standard deviation). Increasing the observed interactions in the PBC and AUGIB datasets by a factor of 7.5 resulted in the odds ratio or hazard ratio of the largest interactions being increased to almost 399 and 162 respectively.
Discussion
Our aims for this paper were to (1) determine whether it is necessary to perform a stratified analysis after using a randomisation method that balances within strata (such as stratified permuted blocks) to obtain correct type I error rates, and (2) to compare different methods of accounting for multiple prognostic factors in terms of power and type I error rates, irrespective of the method of randomisation.
Regarding point (1), it has previously been noted that for randomisation methods that balance within each stratum (e.g. stratified permuted blocks), it may be necessary to use a stratified analysis to obtain correct type I error rates when there are large interactions between balancing factors [9]. By comparison, this issue should not affect randomisation methods that do not balance within strata (e.g. simple randomisation, permuted blocks without stratification, or minimisation), and so both covariateadjusted and stratified analyses should give correct results. We explored this issue using simulation under specific (and potentially unrealistic) conditions, and found that the necessity of a stratified analysis after stratified randomisation depended on (a) the size of the interactions between prognostic factors, and (b) the distribution of patients across strata. When there were both large interactions, and a relatively equal number of patients in each stratum, a covariateadjusted analysis led to type I error rates that were too low. A stratified analysis by comparison gave valid results. However, when either the interactions were small, or there was a low percentage of patients in some strata, a covariateadjusted analysis gave close to nominal type I error rates. As expected, both analysis methods gave valid results after minimisation. This is because minimisation balances baseline variables marginally, meaning that although variables are balanced, their interactions are not. Adjustment for the main effects will then be sufficient to obtain the nominal type I error rates.
In order to determine whether this issue was likely to affect real RCTs, we performed further simulations based on real data. Contrary to expectations, we found that a stratified analysis was not necessary after stratified randomisation; covariateadjusted analyses lead to valid results in each of the three datasets we used. The reasons for this are not entirely clear. One possible explanation is that the interaction sizes we used (based on observed data) were not large enough to affect results. However, some of the interactions we used were substantial. For example, in the MIST2 trial one of the interactions was 28% larger than the standard deviation, in the AUGIB dataset one interaction had an odds ratio of 2.01 and another an odds ratio of 1.65, and in the PBC dataset one interaction had a hazard ratio of 0.45 and two others a hazard ratio of 0.67. Another explanation is that the distribution of patients across strata affected the results (i.e. some strata had too low a proportion of patients). This indicates that in practice, both large interactions between balancing factors and similar numbers of patients in most strata are necessary for a covariateadjusted analysis to affect type I error rates after balancing within strata. However, the second condition may be unlikely; this would require a similar proportion of patients in each group for all balancing factors (i.e. close to 50% of patients in each level of a binary factor), as well as small correlations between balancing factors (as moderate to large correlations would lead to patients being much more likely to fall into certain stratum). In our view, these conditions seem unlikely to be met in practice. Given the imbalance in the number of patients in each stratum observed in the datasets, the size of the interactions would have to have been 2.57.5 times larger than they were in order to affect results. For the MIST2 trial for example, this would have required an interaction term of almost 60 (about three times larger than the standard deviation), which is not realistic in practice. We conclude that choosing between covariateadjusted and stratified analyses does not need to be based on whether stratified randomisation was used.
This brings us to our second question; of the numerous methods of analysis available, which is most powerful, irrespective of the randomisation method used? For continuous outcomes, stratified analyses (either fixed or random effects) gave slightly higher power than a covariateadjusted analysis, while all methods of analysis gave nominal type I error rates.
For binary and timetoevent outcomes, all methods of analysis gave similar results with large sample sizes. However, there were differences between analysis methods for small sample sizes. A stratified analysis using fixed effects led to inflated type I error rates in several scenarios, and cannot be recommended. A covariateadjusted analysis also led to type I error rates that were too large when used with a timetoevent outcome; this is similar to results seen previously [9] where accounting for several balancing factors led to inflated type I error rates with a binary or timetoevent outcome.
Both MantelHaenszel for binary outcomes and a stratified Cox model for timetoevent outcomes gave close to nominal type I error rate (though MantelHaenszel was slightly too low in certain scenarios), but both suffered from a lack of power compared with other methods.
The one method of analysis which gave good results across all scenarios and sample sizes was a stratified analysis using random effects. While other analysis methods gave inflated type I error rates (stratified analysis using fixed effects, covariateadjusted analysis) or led to a loss of power (MantelHaenszel, stratified Cox model) with a binary or timetoevent outcome and a small sample size, a stratified analysis using random effects gave nominal type I error rates and good power.
In this paper we have only considered methods of adjustment for prognostic covariates, and have not discussed ways to account for centre effects in multicentre RCTs. Comparison of methods for adjusting for centre effects in multicentre RCTs have been published previously [14, 17, 18]. However, many trials may adjust for both prognostic covariates and centre effects, and it is therefore worth considering whether the methods we have discussed in this paper will apply when also accounting for centre effects. A stratified analysis could be performed by accounting for the strata made up of all the centreprognostic covariate combinations. However, if the number of centres is large, this may lead to overstratification, which could lead to a loss of power. Therefore, we do not recommend this approach in general. An alternative approach is to perform a covariateadjusted analysis for the prognostic factors (provided the sample size is large enough), and to account for centreeffects separately (e.g. using fixed or random effects, or generalised estimating equations). Alternatively, if centre effects are accounted for using fixed effects, a stratified analysis using random effects could be used for the prognostic factors.
One limitation of this paper is that we have dichotomised the continuous covariates from the original datasets for use in our simulation study. This has been done because a stratified analysis is only possible with categorical covariates. However, we would generally not recommend categorising continuous variables in practice. Provided the sample size is large enough, we would recommend accounting for continuous variables as covariates in a regression model. If there is a mixture of continuous and categorical variables, we could either perform a covariateadjusted analysis for all variables, or perform a mixture of a covariateadjusted and a stratified analysis, where the categorical covariates are grouped into strata and accounted for using random effects, and the continuous variables are included as covariates in the regression model.
Conclusion
It is unlikely that a stratified analysis is necessary after stratified randomisation except in extreme scenarios. Therefore, the method of analysis (accounting for the strata, or adjusting only for the covariates) will not generally need to depend on the method of randomisation used. All of the methods of analysis considered in this article are acceptable with a continuous outcome, although when there are large interactions between covariates, a stratified analysis may increase power. With a binary or timetoevent outcome and a small sample size, we recommend the use of a stratified analysis using random effects, as this has been shown to maintain nominal type I error rates while giving high power. For binary or timetoevent outcomes with a large sample size, all methods of analysis are acceptable; however, it is often unclear what constitutes a large sample size. Therefore, if in doubt, we recommend the use of a stratified analysis using random effects to ensure correct type I error rates and power.
Abbreviations
 AUGIB:

Acute upper gastrointestinal bleeding
 MIST2:

The second multicentre intrapleural sepsis trial
 PBC:

Primary biliary cirrhosis
 RCT:

Randomised controlled trial.
References
 1.
Hernandez AV, Steyerberg EW, Habbema JD: Covariate adjustment in randomized controlled trials with dichotomous outcomes increases statistical power and reduces sample size requirements. J Clin Epidemiol. 2004, 57 (5): 454460. 10.1016/j.jclinepi.2003.09.014.
 2.
Turner EL, Perel P, Clayton T, Edwards P, Hernandez AV, Roberts I, Shakur H, Steyerberg EW: Covariate adjustment increased power in randomized controlled trials: an example in traumatic brain injury. J Clin Epidemiol. 2012, 65 (5): 474481. 10.1016/j.jclinepi.2011.08.012.
 3.
Senn S: Statistical issues in drug development. 2007, Chichester: Wiley
 4.
Hernandez AV, Eijkemans MJ, Steyerberg EW: Randomized controlled trials with timetoevent outcomes: how much does prespecified covariate adjustment increase power?. Ann Epidemiol. 2006, 16 (1): 4148. 10.1016/j.annepidem.2005.09.007.
 5.
Hernandez AV, Steyerberg EW, Butcher I, Mushkudiani N, Taylor GS, Murray GD, Marmarou A, Choi SC, Lu J, Habbema JD, et al: Adjustment for strong predictors of outcome in traumatic brain injury trials: 25% reduction in sample size requirements in the IMPACT study. J Neurotrauma. 2006, 23 (9): 12951303. 10.1089/neu.2006.23.1295.
 6.
McHugh GS, Butcher I, Steyerberg EW, Marmarou A, Lu J, Lingsma HF, Weir J, Maas AI, Murray GD: A simulation study evaluating approaches to the analysis of ordinal outcome data in randomized controlled trials in traumatic brain injury: results from the IMPACT project. Clin Trials. 2010, 7 (1): 4457. 10.1177/1740774509356580.
 7.
Negassa A, Hanley JA: The effect of omitted covariates on confidence interval and study power in binary outcome analysis: a simulation study. Contemp Clin Trials. 2007, 28 (3): 242248. 10.1016/j.cct.2006.08.007.
 8.
Yu LM, Chan AW, Hopewell S, Deeks JJ, Altman DG: Reporting on covariate adjustment in randomised controlled trials before and after revision of the 2001 CONSORT statement: a literature review. Trials. 2010, 11: 5910.1186/174562151159.
 9.
Kahan BC, Morris TP: Improper analysis of trials randomised using stratified blocks or minimisation. Stat Med. 2012, 31 (4): 328340. 10.1002/sim.4431.
 10.
Kahan BC, Morris TP: Reporting and analysis of trials using stratified randomisation in leading medical journals: review and reanalysis. BMJ. 2012, 345: e584010.1136/bmj.e5840.
 11.
Parzen M, Lipsitz SR, Dear KBG: Does clustering affect the usual test statistics of no treatment effect in a randomized clinical trial?. Biom J. 1998, 40: 385402. 10.1002/(SICI)15214036(199808)40:4<385::AIDBIMJ385>3.0.CO;2#.
 12.
Kahan BC, Morris TP: Assessing potential sources of clustering in individually randomised trials. BMC Med Res Methodol. 2013, 13 (1): 5810.1186/147122881358.
 13.
Weir CJ, Lees KR: Comparison of stratification and adaptive methods for treatment allocation in an acute stroke clinical trial. Stat Med. 2003, 22 (5): 705726. 10.1002/sim.1366.
 14.
Kahan BC, Morris TP: Analysis of multicentre trials with continuous outcomes: when and how should we account for centre effects?. Stat Med. 2013, 32 (7): 11361149. 10.1002/sim.5667.
 15.
Rosenberger WF, Lachin JM: Randomization in clinical trials: theory and practice. 2002, New York: John Wiley & Sons, Inc.
 16.
Kahan BC: Rank minimization with a twostep analysis should not replace randomization in clinical trials. J Clin Epidemiol. 2012, 65 (7): 808809.
 17.
Agresti A, Hartzel J: Strategies for comparing treatments on a binary response with multicentre data. Stat Med. 2000, 19 (8): 11151139. 10.1002/(SICI)10970258(20000430)19:8<1115::AIDSIM408>3.0.CO;2X.
 18.
Pickering RM, Weatherall M: The analysis of continuous outcomes in multicentre trials with small centre sizes. Stat Med. 2007, 26 (30): 54455456. 10.1002/sim.3068.
 19.
Chu R, Thabane L, Ma J, Holbrook A, Pullenayegum E, Devereaux PJ: Comparing methods to estimate treatment effects on a continuous outcome in multicentre randomized controlled trials: a simulation study. BMC Med Res Methodol. 2011, 11: 2110.1186/147122881121.
 20.
Localio AR, Berlin JA, Ten Have TR, Kimmel SE: Adjustments for center in multicenter studies: an overview. Ann Intern Med. 2001, 135 (2): 112123. 10.7326/00034819135220010717000012.
 21.
Glidden DV, Vittinghoff E: Modelling clustered survival data from multicentre clinical trials. Stat Med. 2004, 23 (3): 369388. 10.1002/sim.1599.
 22.
Neuhaus JM, McCulloch CE, Boylan R: Estimation of covariate effects in generalized linear mixed models with a misspecified distribution of random intercepts and slopes. Stat Med. 2013, 32 (14): 24192429. 10.1002/sim.5682.
 23.
Hauck WW, Anderson S, Marcus SM: Should we adjust for covariates in nonlinear regression analyses of randomized trials?. Control Clin Trials. 1998, 19 (3): 249256. 10.1016/S01972456(97)001475.
 24.
Robinson LD, Jewell NP: Some surprising results about covariate adjustment in logistic regression models. Int Stat Rev. 1991, 58: 227240.
 25.
Rahman NM, Maskell NA, West A, Teoh R, Arnold A, Mackinlay C, Peckham D, Davies CW, Ali N, Kinnear W, et al: Intrapleural use of tissue plasminogen activator and DNase in pleural infection. N Engl J Med. 2011, 365 (6): 518526. 10.1056/NEJMoa1012740.
 26.
Kahan BC: Bias in randomised factorial trials. Stat Med. 2013, 10.1002/sim.5869.
 27.
Jairath V, Kahan BC, Logan RF, Hearnshaw SA, Dore CJ, Travis SP, Murphy MF, Palmer KR: Outcomes following acute nonvariceal upper gastrointestinal bleeding in relation to time to endoscopy: results from a nationwide study. Endoscopy. 2012, 44 (8): 723730.
 28.
Jairath V, Kahan BC, Logan RF, Hearnshaw SA, Dore CJ, Travis SP, Murphy MF, Palmer KR: National audit of the use of surgery and radiological embolization after failed endoscopic haemostasis for nonvariceal upper gastrointestinal bleeding. Br J Surg. 2012, 99 (12): 16721680. 10.1002/bjs.8932.
 29.
Jairath V, Kahan BC, Logan RF, Hearnshaw SA, Travis SP, Murphy MF, Palmer KR: Mortality from acute upper gastrointestinal bleeding in the United Kingdom: does it display a “weekend effect”?. Am J Gastroenterol. 2011, 106 (9): 16211628. 10.1038/ajg.2011.172.
 30.
Jairath V, Kahan BC, Stanworth SJ, Logan RF, Hearnshaw SA, Travis SP, Palmer KR, Murphy MF: Prevalence, management, and outcomes of patients with coagulopathy after acute nonvariceal upper gastrointestinal bleeding in the United Kingdom. Transfusion. 2012, 53 (5): 10691076.
 31.
Christensen E, Neuberger J, Crowe J, Altman DG, Popper H, Portmann B, Doniach D, Ranek L, Tygstrup N, Williams R: Beneficial effect of azathioprine and prediction of prognosis in primary biliary cirrhosis. Final results of an international trial. Gastroenterology. 1985, 89 (5): 10841091.
 32.
Bender R, Augustin T, Blettner M: Generating survival times to simulate Cox proportional hazards models. Stat Med. 2005, 24 (11): 17131723. 10.1002/sim.2059.
Prepublication history
The prepublication history for this paper can be accessed here:http://0www.biomedcentral.com.brum.beds.ac.uk/14712288/13/99/prepub
Acknowledgements
We thank Caroline Doré and the two reviewers for helpful comments which helped to improve the manuscript. We would also like to acknowledge the UK NHS Blood and Transplant National Comparative Audit of blood transfusion programme lead by Professor Mike Murphy, for the use of their data in this project, as well as the MIST2 team for the use of their data.
Author information
Affiliations
Corresponding author
Additional information
Competing interests
Both authors declare that they have no competing interests.
Authors’ contributions
BK devised the study, performed the simulations, and wrote the first draft of the manuscript. TM input into the manuscript. Both authors read and approved the final manuscript.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Kahan, B.C., Morris, T.P. Adjusting for multiple prognostic factors in the analysis of randomised trials. BMC Med Res Methodol 13, 99 (2013). https://0doiorg.brum.beds.ac.uk/10.1186/147122881399
Received:
Accepted:
Published:
DOI: https://0doiorg.brum.beds.ac.uk/10.1186/147122881399
Keywords
 Randomised controlled trial
 Stratified randomisation
 Restricted randomisation
 Covariate adjusted analysis
 Stratified analysis