Abstract
Background
Analysis of variance (ANOVA), changescore analysis (CSA) and analysis of covariance (ANCOVA) respond differently to baseline imbalance in randomized controlled trials. However, no empirical studies appear to have quantified the differential bias and precision of estimates derived from these methods of analysis, and their relative statistical power, in relation to combinations of levels of key trial characteristics. This simulation study therefore examined the relative bias, precision and statistical power of these three analyses using simulated trial data.
Methods
126 hypothetical trial scenarios were evaluated (126 000 datasets), each with continuous data simulated by using a combination of levels of: treatment effect; pretestposttest correlation; direction and magnitude of baseline imbalance. The bias, precision and power of each method of analysis were calculated for each scenario.
Results
Compared to the unbiased estimates produced by ANCOVA, both ANOVA and CSA are subject to bias, in relation to pretestposttest correlation and the direction of baseline imbalance. Additionally, ANOVA and CSA are less precise than ANCOVA, especially when pretestposttest correlation ≥ 0.3. When groups are balanced at baseline, ANCOVA is at least as powerful as the other analyses. Apparently greater power of ANOVA and CSA at certain imbalances is achieved in respect of a biased treatment effect.
Conclusions
Across a range of correlations between pre and posttreatment scores and at varying levels and direction of baseline imbalance, ANCOVA remains the optimum statistical method for the analysis of continuous outcomes in RCTs, in terms of bias, precision and statistical power.
Keywords:
Statistical analysis; Randomized controlled trials; Baseline imbalance; Bias; Precision; Statistical powerBackground
Many randomized controlled trials (RCTs) involve a single posttreatment measurement of a continuous outcome variable previously measured at baseline. Although randomization creates asymptotic balance in important prognostic factors, including baseline values of the outcome variable [1], in finite samples an imbalance in such factors may occur notwithstanding randomization [26]; this represents the difference between the expectation of a random process and its realization[6]. Depending crucially on the correlation between the baseline covariate and the outcome variable, this chance imbalance may not only create a potential bias in crude estimates of treatment effect in the outcome variable, but may also affect the precision with which such an effect is measured and the statistical power of the analysis. Attempts are made to address this problem either at the level of design (e.g. stratification and minimization) or at the level of analysis, or indeed both. Although opinions are still divided on the firstline strategy to deal with baseline imbalance in RCTs [711], the general consensus seems to be that, whichever method is employed at the design stage to achieve balance in covariate distribution, an adjusted statistical analysis that accounts for important covariates should take precedence over an unadjusted analysis [3,8,9,1216]. Nonetheless, there appears to be varied practice in this area and further consideration of the relative merits of adjusted and unadjusted analyses has been called for [17].
For a single posttreatment assessment of a continuous outcome variable, three statistical methods have commonly been used: crude comparison of treatment effect by t test or, equivalently, analysis of variance (ANOVA); changescore analysis (CSA); and analysis of covariance (ANCOVA). On occasions, CSA is performed using percentage change, but this has been shown to be an inefficient approach [18]. Whereas CSA compares changes between pre and posttreatment scores between treatment groups, ANCOVA accounts for the imbalance by including baseline values in a regression model – theoretically, this regressionbased procedure yields unbiased estimates of treatment effect [19,20].
Given their different statistical basis, each of these statistical methods has a potentially marked effect on the estimate of the treatment effect and its associated precision, and differing statistical conclusions may therefore be reached according to the method of analysis chosen [2123]. In addition, contrary views have been reported on the implications of using CSA as a method for statistical adjustment in an RCT [3,12,24,25] and this warrants further investigation, to clarify the appropriateness of particular methods.
This study therefore seeks to quantify, through an established approach based on data simulation [22,2628], differences in the estimate (bias) and precision of treatment effect and associated statistical power through using either ANOVA or CSA in relation to the unbiased estimate of treatment effect by ANCOVA, in differing hypothetical trial scenarios. Although previous authors [19,29] have provided theoretical accounts of bias and precision in estimates of treatment effect derived through ANOVA and CSA when baseline imbalance exists, we are aware of no previous study that has sought simultaneously to quantify bias, precision and statistical power of these three methods in relation to a wide range of combinations of different levels of experimental conditions, including baseline imbalance in the outcome variable, that are typical of pragmatic RCTs. Addressing this issue will allow practical recommendations to be made for the future analysis of RCTs in the presence of baseline imbalance.
Methods
Data simulation
A statistical program was developed in STATA to generate hypothetical twoarm trials involving specific levels of experimental conditions, run the regression models for the statistical methods being studied, and then post selected results into a file. Each hypothetical trial scenario was repeated a thousand times, so as to generate robust estimates (e.g. allowing statistical power to be estimated with a margin of error no greater than ±3% at a 95% confidence level). Detailed information on the statistical program is included in the Appendix.
Levels of experimental conditions
A population standard deviation of 1 (σ = 1) for the outcome data was assumed in each trial and these data were normally distributed at baseline and at followup. A 1:1 allocation ratio was employed. Rather than choose arbitrary levels of other experimental conditions, these were selected in relation to specific criteria so as to reproduce conditions typical of an empirical trial scenario. Data for the outcome variable (Y_{T,}Y_{C}, for the treatment and control groups, respectively, with higher values taken to be clinically desirable) were simulated so as to produce a standardized treatment effect :
A treatment effect was taken to be a higher (i.e. better) score in the treatment than in the control group, and was set at three levels of 0.2, 0.5 and 0.8, classified by Cohen [30] as ‘low’, ‘medium’, and ‘large’ respectively.
For a nominal statistical power of 80%, the required sample size was utilized for each of these standardized effect sizes: 394, 64 and 26 per group, respectively. The correlation between baseline values (Z_{T}, Z_{C}, for the treatment and control groups, respectively) and posttreatment values was varied from 0.1 to 0.9 in increments of 0.2, as it has been argued that the correlation between baseline covariates and outcome scores in RCTs may range between these values [31]. A correlation of zero was also included as a reference value.
For each hypothetical trial, imbalance in baseline values of the outcome measure was computed as a standardized score , in terms of its standard error:
Here, z is a standard normal deviate. In this way, realistic values of imbalance were derived in relation to the sample size, thus avoiding large absolute imbalance for large sample sizes that would contradict the principles of randomization. Imbalance was simulated in both the same direction (‘positive’ imbalance, where the treatment group has ‘better’ baseline scores than the control group) and the opposite direction (‘negative’ imbalance, where the control group has ‘better’ scores) in relation to the treatment effect. The predetermined levels of for this study were calculated in relation to standard normal deviates of ±1.28, ±1.64 and ±1.96, representing 20%, 10% and 5% twotailed probabilities respectively of the standard normal distribution.
Hence, the various levels of imbalance had a predetermined probability of occurring, whatever the sample size and on whatever scale the covariate or outcome variable is scored.
In total, 126 scenarios representing hypothetical combinations of experimental conditions were simulated at 80% nominal power, comprising:
7 standardized baseline imbalances: −1.96; −1.64; −1.28; 0; 1.28; 1.64; 1.96
6 covariateoutcome (ZY) correlations: 0; 0.1; 0.3; 0.5; 0.7; 0.9
3 standardized treatment effect sizes: 0.2; 0.5; 0.8
Each scenario was analysed by each of the statistical methods. In the analyses, a binary variable represented group allocation, such that the estimate of the treatment effect in each simulated dataset was derived from the associated regression coefficient (β).
Bias, precision and power
To quantify bias associated with the estimates of effect by ANOVA and CSA, the following indices were computed:
Bias was assessed not in relation to the nominal standardized treatment effect, as this effect is liable to be biased in the presence of confounding. Rather, bias was determined in relation to the adjusted estimate from ANCOVA, as this is known to provide the unbiased estimate of outcome, conditional upon the conditions represented by a given scenario.
In order to quantify the relative precision of the three methods of analysis, ratios of the resulting standard errors (design effects) were calculated:
Finally, the conditional statistical power of each of the three methods of analysis was calculated as the percentage of rejections of the null hypothesis in the 1000 simulations within each scenario; this was compared to the nominal power of 80%.
Results
Bias
Figure 1 shows the mean estimated treatment effect and thereby the directional pattern of bias for ANOVA and CSA, in relation to ANCOVA as the reference unbiased analysis. Table 1 indicates the bias, in standardized (SD) units, for each of ANOVA and CSA, again in relation to ANCOVA. Values are given in the table conditional on the three treatment effects, the six levels of ZY correlation, the situation in which there is no baseline imbalance, and the six values of standardized imbalance.
Figure 1. Directional bias of statistical methods. Estimates are given at differing levels of baselineoutcome correlation, treatment effect sizes, and baseline imbalance (−1.96, −1.64, −1.28, 0, 1.28, 1.64, 1.96). Estimates derived from ANCOVA represent the unbiased treatment effect. ANOVA – solid line; ANCOVA – dotted line; CSA – dashed line.
Table 1. Bias (standard deviation units) in respect of ANCOVA versus ANOVA and ANCOVA versus CSA
The results displayed in Figure 1 demonstrate that, when there is no imbalance at baseline (i.e. ), all three statistical methods yield the same unbiased estimate of treatment effect, irrespective of the level of ZY correlation or the standardized effect size. It is also clear that, for a given nominal treatment effect, the estimates yielded by ANOVA and CSA do not change in relation to the level of ZY correlation.
However, when treatment groups differ at baseline (i.e. ) there is a noticeable difference in the estimate of treatment effect by these methods. The magnitude of this difference depends on the degree of ZY correlation and the size of baseline imbalance. At a given level of baseline imbalance, ANOVA and ANCOVA give precisely equivalent estimates when ZY correlation is zero (Figure 1 graphs A, B and C). However, the bias of ANOVA (relative to the unbiased estimates derived through ANCOVA) increases as ZY correlation rises and, holding ZY correlation constant, also increases with a higher degree of baseline imbalance. ANOVA and ANCOVA produce similar estimates of effect when ZY correlation is less than 0.3 (see, for example, Figure 1 graphs D, E and F), but at higher ZY correlations, the difference in the estimate of effect for the two methods becomes more obvious (see, for example, Figure 1 graphs M, N and O). This bias is equal in magnitude for either direction of imbalance. Thus, Table 1 shows there is a bias of 0.07 SD and −0.07 SD respectively associated with the estimate of effect by ANOVA when a standardized baseline imbalance of 1.96 exists in the same direction (i.e. ), or opposite direction (i.e. ), at a standardized treatment effect of 0.2 and a ZY correlation of 0.5 (see Figure 1 graph J).
If the ZY correlation is large, even a small imbalance yields a substantial bias in the estimate of treatment effect when using ANOVA (for example, Figure 1 graphs N and O). Conversely, if the ZY correlation is small, only a small bias results even if the baseline imbalance is large (for example, Figure 1 graphs H and I). Thus, from Table 1, when the ZY correlation is 0.7, ANOVA shows an upward bias with regard to ANCOVA of 0.25 SD at a standardized baseline imbalance of −1.28 and standardized treatment effect of 0.8. In contrast, when the ZY correlation is 0.3, a larger imbalance of −1.96 produces an upward bias for ANOVA of only 0.16 SD when estimating the same effect (Table 1).
Turning to CSA, the magnitude of bias similarly is greater with an increase in the absolute value of baseline imbalance, and is equal for both directions of baseline imbalance (see, for example, Figure 1 graphs K and L). It is apparent from Figure 1 and Table 1 that CSA produces an opposite bias to that induced by ANOVA; when the one method overestimates the unbiased treatment effect, the other method underestimates it, and vice versa. However, in contrast to the case of ANOVA, at a given level of baseline imbalance, bias in the estimate of effect through CSA decreases as ZY correlation increases. When baseline imbalance is in the same direction as the treatment effect (i.e. ), the estimate derived from CSA is markedly lower than that of either ANOVA or ANCOVA if ZY correlation is low (see, for example, Figure 1 graphs F and I). Here, CSA underestimates the true treatment effect to a much larger degree than ANOVA overestimates it. Conversely, the bias associated with CSA is much smaller than that of ANOVA if ZY correlation is high (see, for example, Figure 1 graphs O and R).
When ZY correlation is at or below 0.7, CSA yields the smallest estimate of treatment effect of the three methods if baseline imbalance is in the same direction as the treatment effect, and the largest estimate of effect if imbalance is in the opposite direction to the treatment effect , indicating that it provides the strongest adjustment for baseline imbalance in these circumstances. The bias of ANOVA relative to ANCOVA can be expressed algebraically by the formula:
and the bias of CSA to ANCOVA by the formula:
Precision
Figure 2 shows the mean standard error, at each standardized treatment effect size, for the three methods of analysis, at different levels of ZY correlation (the direction and magnitude of baseline imbalance was found to have no effect on precision and has therefore been ignored). The size of the standard error is proportional to the treatment effect, but this simply reflects the sample sizes corresponding to these effects. For ANOVA (black markers), the standard error is constant across ZY correlations, reflecting the fact that this analysis takes no account of the baseline values. For the other two analyses, it can be observed that the standard error associated with ANCOVA (grey markers) is similar to that of ANOVA at a low ZY correlation, but decreases monotonically as correlation increases. Standard errors for CSA (white markers) are, however, variable. At a low ZY correlation, mean standard error is markedly higher than that of both ANOVA and ANCOVA, whereas at ZY correlations above 0.5, it is markedly lower than that of ANOVA and comparable to that of ANCOVA. Overall, ANCOVA is the most precise analysis, especially at ZY correlations from 0.5 to 0.9.
Figure 2. Standard errors of statistical methods. Estimates are given at differing levels of baselineoutcome correlation, conditional on treatment effect. The markers show the mean standard error, averaged across the treatment effects. ANOVA – black markers; ANCOVA – grey markers; CSA – white markers.
Table 2 shows the relative precision of the three analyses, expressed as a ratio of their standard errors. As in Table 1, values of these ratios are given for the three treatment effects, the six levels of ZY correlation, the situation in which there is no baseline imbalance, and the six values of standardized imbalance. Ratios greater than unity indicate that the numerator analysis has a larger standard error (i.e. is less precise) than the denominator analysis. Table 2 confirms the equivalent precision of CSA and ANOVA at a correlation of 0.5. However, it shows that when ZY correlation is as low as 0.1, ANOVA can yield approximately a 36% gain in precision against CSA, whereas when ZY correlation is 0.9, CSA provides approximately a 57% gain in precision over ANOVA. Table 2 also indicates that only at a correlation of 0.7 or greater does CSA produce comparable precision to that of ANCOVA.
Table 2. Design effect (ratio of standard errors) in respect of ANCOVA versus ANOVA, CSA versus ANOVA, and ANCOVA versus CSA
The computed ratio of the standard errors of ANCOVA and ANOVA from the simulated datasets approximately fits the algebraic expression , irrespective of whether or not treatment groups are balanced at baseline, and the ratios for CSA and ANOVA and for ANCOVA and CSA approximately fit the expressions and respectively.
Statistical power
The power of ANCOVA, CSA and ANOVA is shown in Table 3 in terms of increments or decrements in relation to the nominal power of 80%, again conditional on treatment effect and levels of ZY correlation and baseline imbalance. Absolute values of power for ANCOVA, CSA and ANOVA are shown graphically in Figure 3.
Table 3. Increments (positive values) and decrements (negative values) of power (%) for ANCOVA, ANOVA and CSA relative to a nominal power of 80% and conditional upon levels of baseline imbalance and ZY correlation
Figure 3. Power (%) of statistical methods. Estimates are given at differing levels of baselineoutcome correlation, treatment effect sizes, and baseline imbalance (−1.96, −1.64, −1.28, 0, 1.28, 1.64, 1.96). ANOVA – solid line; ANCOVA – dotted line; CSA – dashed line.
The power of ANOVA is at its nominal level of 80% throughout, subject to some minor fluctuation from one simulation to the next (i.e. there are small fluctuations between the graphs in Figure 3). It is clear that for ANOVA, within any set of simulations (i.e. within any one graph in Figure 3), power is wholly unaffected by baseline imbalance, reflecting the fact that the statistical model for ANOVA has no term that represents such imbalance. It can be seen that if baseline imbalance is in the same direction as the treatment effect (indicated by positive values of Z), the power of both ANCOVA and CSA decreases with greater levels of imbalance, and CSA does so more markedly, especially at lower levels of ZY correlation. Thus, for a treatment effect of 0.2 and a ZY correlation of 0.1 (Figure 3 graph D), the power of CSA is as low as 9% if there were to be an extreme positive imbalance of 1.96. Conversely, when imbalance is in the opposite direction from the treatment effect, the power of both ANCOVA and CSA exceeds the nominal 80% power of ANOVA, and if ZY correlation is 0.7 or greater in these circumstances (Figure 3 graphs M to R), the superiority of ANCOVA and CSA is equivalent. If, however, ZY correlation is 0.3 or less in these circumstances, the power of CSA exceeds that of ANCOVA when negative baseline imbalance is most extreme (Figure 3 graphs D to I). If there is no baseline imbalance, the power of ANCOVA is either greater than or equal to that of ANOVA, whereas the power of CSA is superior to that of ANOVA at high correlations but inferior at low correlations. When ZY correlation is zero, ANCOVA has power approximately equivalent to that of ANOVA (Figure 3 graphs A to C).
Discussion
This simulation study has examined the effect of baseline imbalance in an RCT on the bias and precision of estimates of treatment effect, and the power of a statistical test conditional on such imbalance. Although the statistical implications of baseline imbalance have previously been described, they have not hitherto been simultaneously quantified for these three analyses in relation to various combinations of levels of associated trial characteristics: effect size, degree of baselineoutcome (ZY) correlation and both magnitude and direction of baseline imbalance.
ANCOVA is known to produce unbiased estimates of treatment effect in the presence of baseline imbalance when groups are randomized [19,20]. ANOVA and CSA, however, produce biased estimates in such circumstances. For both ANOVA and CSA, the direction of bias is related to the direction of baseline imbalance, and bias is greatest when baseline imbalance, in either direction, is most pronounced. At a low ZY correlation, ANOVA exhibits less bias than CSA, but at a high ZY correlation the reverse is the case. In a situation in which ANOVA overestimates the unbiased treatment effect, CSA underestimates it, and vice versa. Both ANOVA and CSA show equal levels of bias (albeit in different directions) when the ZY correlation is 0.5. When ZY correlation is 0, estimates from ANCOVA and ANOVA are equivalent, as the absence of correlation means that the ANCOVA takes no account of imbalance and thereby reduces to ANOVA.
As regards precision, ANOVA and CSA yield less precise estimates than ANCOVA. ANOVA is progressively less precise than ANCOVA as ZY correlation increases; by contrast, CSA shows increasing precision as ZY correlation increases. CSA is less precise than ANOVA at ZY correlations below 0.5, but more precise at ZY correlations greater than 0.5, and both analyses present the same magnitude of associated standard error when the correlation is 0.5. In no situation do either CSA or ANOVA exceed the precision of ANCOVA.
The results for statistical power of the three analyses are not straightforward. The greater precision noted for ANCOVA might suggest that it would be unconditionally the most powerful analysis. Yet, as Figure 3 shows, whilst under some circumstances its power exceeds the nominal 80% power of ANOVA, under other circumstances ANOVA has greater power. This can be explained by the adjusted treatment effect derived through ANCOVA. When baseline imbalance is in the opposite direction from the treatment effect, ANCOVA corrects the resulting bias by producing an adjusted treatment effect that is larger than the nominal treatment effect, and ANCOVA therefore has greater power to detect this effect than ANOVA has to detect the nominal effect, at the same sample size. Correspondingly, when imbalance is in the same direction as the treatment effect, ANCOVA corrects the bias by adjusting the treatment effect downwards; its power to detect this effect is therefore less than that of ANOVA to detect the nominal treatment effect. However, when ZY correlation is 0 (Figure 3 graphs A to C), ANCOVA and ANOVA produce equivalent estimates of treatment effect, as noted earlier, and the difference in power therefore essentially disappears. This phenomenon also explains why baseline imbalance affects precision and power differently; precision is unaffected by imbalance but power reflects imbalance when it is calculated in relation to an adjusted treatment effect. When there is no imbalance, the adjusted treatment effect equals the nominal treatment effect and here ANCOVA is more powerful than ANOVA by virtue of its greater precision [18,31,32]. An important point to emphasize is that, in the presence of imbalance, nominal power is inappropriate due to the underlying bias in the estimation of the true treatment effect by ANOVA, which fails to address the baseline imbalance of the two treatment groups. As regards the analyses that accommodate baseline imbalance, ANCOVA is unconditionally more powerful than CSA, especially at lower ZY correlations [33].
The power of CSA shows a similar pattern to that of ANCOVA when ZY correlation is 0.7 or greater. At lower correlations, however, it demonstrates greater extremes of power than ANCOVA – higher than ANCOVA with imbalance in the opposite direction from the treatment effect and lower than ANCOVA with imbalance in the same direction. This indicates CSA’s overcorrection of bias, in both directions, when ZY correlation is low; this stems from its failure to account for regression to the mean [24,34]. In the absence of imbalance, the power of CSA exceeds the nominal 80% power of ANOVA when ZY correlation is high, but is lower than that of ANOVA when ZY correlation is low. This reflects the relative precision of these two analyses conditional upon ZY correlation; CSA is the more precise at high correlations whereas ANOVA is the more precise a low correlations, as indicated by the ratios of standard errors in Table 2.
Relative to ANCOVA, the alternative analyses are thus liable to be either too conservative or too liberal [26]. It is clear therefore that the use of either ANOVA or CSA is inadvisable when baseline imbalance exists. Although all three methods are unbiased when there is no baseline imbalance, the likelihood is that in a clinical trial with several baseline covariates there will be some degree of imbalance across a number, if not all, of these variables. Similarly, the level of correlation between these covariates and the outcome variable is likely to be greater than zero (or possibly less than zero, though baseline values of the outcome variable are more likely to be positively than negatively correlated with posttreatment values). Moreover, ANCOVA is consistently the most precise method of analysis and hence delivers greatest efficiency in respect of testing against the null hypothesis and reducing the type II error. Our results concur with previous literature that emphasizes the advantages of covariate adjustment [3,8,9,1216,24,35].
These simulations are based on imbalance in a single covariate. Where imbalance exists in a number of covariates, the degree of bias associated with either ANOVA or CSA will depend upon the combined effect of imbalances that may be in different directions, and upon the particular ZY correlations associated with each of these covariates. However, loss of precision (and hence of statistical power) through the use of ANOVA or CSA is likely to be greater with imbalance in multiple covariates than with imbalance in a single covariate, as there will normally be a greater proportion of variance in the outcome measure that is unaccounted for by either of these analyses.
Our results show the advantages of ANCOVA in reducing bias, increasing precision and providing appropriate power of statistical testing across a number of practical situations commonly seen in clinical trials. Several authors [2,34,3639] argue that covariates should be selected a priori in terms of their prognostic importance, rather than on the basis of examining baseline imbalance in the trial data – even large imbalance is of little consequence in terms of bias if the covariate is not related to outcome. Moreover, the primary analysis in an RCT should be prespecified [40,41]. Accordingly, our findings suggest that ANCOVA should be adopted as the analysis of choice, regardless of the magnitude of imbalance observed in the trial data. Consideration should also be given to achieving balance in important prognostic covariates at baseline in addition to subsequent statistical adjustment [42] – e.g. through stratified randomization or covariateadaptive methods of allocation [11,43,44].
Limitations
The conditions under which we have investigated the effect of baseline imbalance – in terms of magnitude of effect sizes, baseline imbalance and ZY correlation – are plausible and realistic, although the extremes of baseline imbalance examined will, reassuringly, be uncommon. Our findings are therefore readily transferable to specific reallife RCT scenarios. However, our findings assume equal allocation, and results may differ where this is not the case. Nor do our findings necessary generalize fully to trials where groups are not formed by randomization [45] or where outcomes are binary or timetoevent [28,42,46]. These results are also based on analyses whose assumptions were optimally satisfied through the simulation process, and are likely to differ in respect of reallife data that depart from such assumptions – e.g. a skewed outcome variable, or heterogeneous ZY regression coefficients between groups. Large trials will produce data that are robust to certain deviations in the assumptions underlying parametric analysis. Nonetheless, future work could usefully explore the impact of some of these deviations on the conclusions of the current study.
Conclusion
In conclusion, ANCOVA should be the analysis of choice, a priori, for RCTs with a single posttreatment outcome measure previously measured at baseline; its superiority is particularly marked when baseline imbalance is present, but also – in terms of precision – when groups are balanced at baseline. We specifically caution against the use of ANOVA when the baselineoutcome correlation is (or is anticipated to be) moderatetolarge, and against CSA when it is (or is anticipated to be) smalltomoderate. Randomization generally leads to wellbalanced groups, though nonsystematic differences often arise across a number of covariates, and hence adjustment through ANCOVA is recommended to reduce risk of bias whilst also improving the precision of estimates and the power of the statistical test.
Appendix
Simulation program in STATA. The prime identifies values that are specific to a particular simulation; i.e. r′ indicates r = 0.1, r = 0.3, r = 0.5, r = 0.7, r = 0.9; y′ indicates y = 0.2, y = 0.5, y = 0.8; z′ indicates standardized imbalance (the standard error of absolute imbalance multiplied by the appropriate standard normal deviate).
set seed
set obs n
[defines number of observations (n) for the trial]
g g = mod(_n,2)
[defines two treatment groups – Control (0); Treatment(1)]
g z = invnorm(uniform())*1
[generates normally distributed baseline scores (z) with mean = 0 and SD = 1 and randomly assigns these to treatment groups]
g r = r′
[generates a predetermined correlation between baseline and posttreatment scores]
g k = invnorm(uniform())*1
[generates another normally distributed set of scores (k)]
g y = z*r + k*(1−r^2)^.5
[transforms k into an outcome score (y) that has a predetermined correlation with the baseline score (z)]
replace z = z + g*z′
[applies a predetermined directionspecific baseline imbalance to the treatment groups; with ‘z + g’, imbalance is in the same direction as the treatment effect, but with ‘z−g’ it is in the opposite direction]
replace y = y + g*y′
[creates a predetermined treatment effect]
g c = y−z
[generates change scores for the treatment groups]
regress y g
[performs analysis of variance]
regress c g
[performs changescore analysis]
regress y g z
[performs analysis of covariance]
Abbreviations
ANCOVA: Analysis of covariance; ANOVA: Analysis of variance; CSA: Changescore analysis; RCT: Randomized controlled trial.
Competing interests
The authors have no competing interests.
Authors’ contributions
JS and ML conceived the study. All authors designed the study. BEE planned and performed the simulations. All authors interpreted the data. All authors drafted the manuscript and approved the final version.
Acknowledgments
The authors wish to thank Peter Jones for helpful advice on the study.
References

Rosenberger WF, Lachin JM: Randomization in Clinical Trials: Theory and Practice. New York, NY: WileyInterscience; 2002.

Roberts C, Torgerson DJ: Baseline imbalance in randomised controlled trials.
BMJ 1999, 319:185. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Altman DG, Doré CJ: Baseline comparisons in randomized clinical trials.
Stat Med 1991, 10:797799. PubMed Abstract

Tu D, Shalay K, Pater J: Adjustment of treatment effect for covariates in clinical trials: statistical and regulatory issues.

Ciolino JD, Martin RH, Zhao W, Jauch EC, Hill MD, Palesch YY: Covariate imbalance and adjustment for logistic regression analysis of clinical trial data.
J Biopharm Stat 2013, 23:13831402. PubMed Abstract  Publisher Full Text

Piantadosi S: Clinical Trials: a Methodologic Perspective. 2nd edition. New York: Wiley; 2005.

Kernan WN, Makuch RM: Response.
J Clin Epidemiol 2001, 54:105. Publisher Full Text

Scott NW, McPherson GC, Ramsay CR, Campbell MK: The method of minimization for allocation to clinical trials: a review.
Control Clin Trials 2002, 23:662674. PubMed Abstract  Publisher Full Text

Hagino A, Hamada C, Yoshimura I, Ohashi Y, Sakamoto J, Nakazato H: Statistical comparison of random allocation methods in cancer clinical trials.
Control Clin Trials 2004, 25:572584. PubMed Abstract  Publisher Full Text

Taves DR: Faulty assumptions in Atkinson’s criteria for clinical trial design.
J R Stat Soc 2004, 167:179181. Publisher Full Text

Rosenberger WF, Sverdlov O: Handling covariates in the design of clinical trials.
Stat Sci 2008, 23:404419. Publisher Full Text

Frison L, Pocock SJ: Repeated measures in clinical trials: analysis using mean summary statistics and its implications for design.
Stat Med 1992, 11:16851704. PubMed Abstract  Publisher Full Text

Hernández AV, Eijkemans MJ, Steyerberg EW: Randomized controlled trials with timetoevent outcomes: how much does prespecified covariate adjustment increase power?
Ann Epidemiol 2006, 16:4148. PubMed Abstract  Publisher Full Text

Van Breukelen GJP: ANCOVA versus change from baseline had more power in randomized studies and more bias in nonrandomized studies.
J Clin Epidemiol 2006, 59:920925. PubMed Abstract  Publisher Full Text

Kent DM, Trikalinos TA, Hill MD: Are unadjusted analyses of clinical trials inappropriately biased toward the null?
Stroke 2009, 40:672673. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Ciolino JD, Martin RH, Zhao W, Hill MD, Jauch EC, Palesch YY: Measuring continuous baseline covariate imbalances in clinical trial data.
Stat Methods Med Res 2011.
doi:10.1177/0962280211416038

Austin PC, Manca A, Zwarenstein M, Juurlink DN, Stanbrook MB: A substantial and confusing variation exists in handling of baseline covariates in randomized controlled trials: a review of trials published in leading medical journals.
J Clin Epidemiol 2010, 63:142153. PubMed Abstract  Publisher Full Text

Vickers AJ: The use of percentage change from baseline as an outcome in a controlled trial is statistically inefficient: a simulation study.
BMC Med Res Methodol 2001, 1:6. PubMed Abstract  BioMed Central Full Text  PubMed Central Full Text

Matthews JNS: Introduction to Randomized Controlled Clinical Trials. 2nd edition. Boca Raton, FL: Chapman & Hall/CRC; 2006.

Huitema B: The Analysis of Covariance and Alternatives: Statistical Methods for Experiments, QuasiExperiments, and SingleCase Studies. 2nd edition. Hoboken, NJ: Wiley; 2011.

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:10841091. PubMed Abstract  Publisher Full Text

Beach ML, Meier P: Choosing covariates in the analysis of clinical trials.
Control Clin Trials 1989, 10(4 Suppl):161S175S. PubMed Abstract

Steyerberg EW, Bossuyt PMM, Lee KL: Clinical trials in acute myocardial infarction: should we adjust for baseline characteristics?
Am Heart J 2000, 139:745751. PubMed Abstract  Publisher Full Text

Vickers AJ, Altman DG: Analysing controlled trials with baseline and follow up measurements.
BMJ 2001, 323:11231124. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Senn SJ: Baseline comparisons in randomised clinical trials.
Stat Med 1991, 10:11571160. PubMed Abstract

Overall JE, Magee KN: Directional baseline differences and Type I error probabilities in randomized clinical trials.
J Biopharm Stat 1992, 2:189203. PubMed Abstract  Publisher Full Text

Overall JE, Doyle SR: Implications of chance baseline differences in repeated measurement designs.
J Biopharm Stat 1994, 4:199216. PubMed Abstract  Publisher Full Text

Chu R, Walter SD, Guyatt G, Devereaux PJ, Walsh M, Thorlund K, Thabane L: Assessment and implication of prognostic imbalance in randomized controlled trials with a binary outcome – a simulation study.
PLoS One 2012, 7:e36677. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Pocock SJ, Assmann SE, Enos LE, Kasten LE: Subgroup analysis, covariate adjustment and baseline comparisons in clinical trial reporting: current practice and problems.
Stat Med 2002, 21:29172930. PubMed Abstract  Publisher Full Text

Cohen J: Statistical Power Analysis for the Behavioral Sciences. 2nd edition. Hillsdale NJ: Lawrence Erlbaum; 1988.

Tu YK, Blance A, Clerehugh V, Gilthorpe MS: Statistical power for analyses of changes in randomized controlled trials.
J Dent Res 2005, 84:283287. PubMed Abstract  Publisher Full Text

Wei L, Zhang J: Analysis of data with imbalance in the baseline outcome variable for randomized clinical trials.
Drug Inf J 2001, 35:12011214. Publisher Full Text

Egger MJ, Coleman ML, Ward JR, Reading JC, Williams HJ: Uses and abuses of analysis of covariance in clinical trials.
Control Clin Trials 1985, 6:1224. PubMed Abstract  Publisher Full Text

Twisk J, Proper K: Evaluation of the result of a randomized controlled trial: how to define changes between baseline and follow up.
J Clin Epidemiol 2004, 57:223228. PubMed Abstract  Publisher Full Text

Assmann SF, Pocock SJ, Enos LE, Kasten LE: Subgroup analysis and other (mis)uses of baseline data in clinical trials.
Lancet 2000, 355:10641069. PubMed Abstract  Publisher Full Text

Armitage P, Gehan EA: Statistical methods for the identification and use of prognostic factors.
Int J Cancer 1974, 13:1636. PubMed Abstract  Publisher Full Text

Senn SJ: Covariate imbalance and random allocation in clinical trials.
Stat Med 1989, 8:467475. PubMed Abstract  Publisher Full Text

Senn SJ: Testing for baseline balance in clinical trials.
Stat Med 1994, 13:17151726. PubMed Abstract  Publisher Full Text

Raab GM, Day S, Sales J: How to select covariates to include in the analysis of a clinical trial.
Control Clin Trials 2000, 21:330342. PubMed Abstract  Publisher Full Text

DHHS: Guidance for Industry E9: Statistical Principles for Clinical Trials. Rockville MD: Department of Health and Human Services; 1998.

Chan AW, Tetzlaff JM, Gøtzsche PC, Altman DG, Mann H, Berlin JA, Dickersin K, Hróbjartsson A, Schulz KF, Parulekar WR, KrležaJeric K, Laupacis A, Moher D: SPIRIT 2013 explanation and elaboration: guidance for protocols of clinical trials.
BMJ 2013, 346:e7586. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Ciolino J, Zhao W, Martin R, Palesch Y: Quantifying the cost in power of ignoring continuous covariates imbalances in clinical trial randomization.
Contemp Clin Trials 2011, 32:250259. PubMed Abstract  Publisher Full Text

Kernan WN, Viscoli CM, Makuch RW, Brass LM, Horwitz RI: Stratified randomization for clinical trials.
J Clin Epidemiol 1999, 52:1926. PubMed Abstract  Publisher Full Text

Kahan BC, Morris TP: Reporting and analysis of trials using stratified randomisation in leading medical journals: review and reanalysis.
BMJ 2012, 345:e5840. PubMed Abstract  Publisher Full Text  PubMed Central Full Text

Overall JE, Ashby B: Baseline corrections in experimental and quasiexperimental clinical trials.
Neuropsychopharmacology 1991, 4:273281. PubMed Abstract

Hernández 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:454460. PubMed Abstract  Publisher Full Text
Prepublication history
The prepublication history for this paper can be accessed here: