 Research article
 Open Access
 Published:
Planning a cluster randomized trial with unequal cluster sizes: practical issues involving continuous outcomes
BMC Medical Research Methodology volume 6, Article number: 17 (2006)
Abstract
Background
Cluster randomization design is increasingly used for the evaluation of healthcare, screeening or educational interventions. At the planning stage, sample size calculations usually consider an average cluster size without taking into account any potential imbalance in cluster size. However, there may exist high discrepancies in cluster sizes.
Methods
We performed simulations to study the impact of an imbalance in cluster size on power. We determined by simulations to which extent four methods proposed to adapt the sample size calculations to a prespecified imbalance in cluster size could lead to adequately powered trials.
Results
We showed that an imbalance in cluster size can be of high influence on the power in the case of severe imbalance, particularly if the number of clusters is low and/or the intraclass correlation coefficient is high. In the case of a severe imbalance, our simulations confirmed that the minimum variance weights correction of the variation inflaction factor (VIF) used in the sample size calculations has the best properties.
Conclusion
Publication of cluster sizes is important to assess the real power of the trial which was conducted and to help designing future trials. We derived an adaptation of the VIF from the minimum variance weights correction to be used in case the imbalance can be a priori formulated such as "a proportion (γ) of clusters actually recruit a proportion (τ) of subjects to be included (γ ≤ τ)".
Background
A cluster randomized trial involves randomizing social units or clusters of individuals rather than the individuals themselves. This design, which is increasingly being used for evaluating healthcare, screening and educational interventions presents specific constraints that must be considered during planning and analysis [1, 2]. Indeed, the responses of individuals within a cluster tend to be more similar than those of individuals of different clusters, and we thus define the clustering effect as 1 + (m  1)ρ, where m is the average number of subjects per cluster and ρ the intraclass correlation coefficient (ICC). This clustering effect is used during the planning of cluster randomized trials as an inflation factor to increase the sample size required by an individual randomization trial. However, such an approach does not take into account variations in cluster size, which might differ greatly. Indeed, as illustrated by Kerry et al [3], cluster size may depend on, for example, (i) the potential of recruitment of the cluster (i.e., the number of subjects belonging to each cluster), (ii) the eligible fraction of subjects, which may vary among clusters, or (iii) the ability of physicians to recruit subjects within each cluster. Such an imbalance in cluster size reduces the power of the trial and has to be taken into account in the sample size calculation.
Kerry et al [3] assessed the theoretical efficacy of 3 weightings of the inflation factor but in the context of cluster level analysis, so summary statistics are estimated at the cluster level and the unit of analysis remains the cluster. Manatunga et al [4], however, assessed a correction on the basis of the assumed distribution of cluster sizes in the context of marginal models, but the authors' simulations covered a range of ICCs larger than those usually observed in cluster randomized trials.
Our aim was therefore to assess these proposed corrections in the framework of cluster randomized trials in which the unit of analysis remains the subject, embedded in the cluster. We first describe the random effects model used to simulate clustered data; then display the simulation design used to evaluate the loss of power due to imbalance in cluster size and the findings. Corrections of the variance inflation factor to allow for cluster size inequality evaluated by simulation and robustness of these corrections to misspecification of the ICC is assessed. practical guidelines for the planning stage of cluster randomized trials are drawn and perspectives for future research.
Methods and results
Theoretical background
The mixed effects model
Let us supposed a continuous outcome distributed according to the following mixedeffects model:
Y _{ ijk }= θ _{ i }+ β _{ ij }+ ε _{ ijk } (1)
where Y _{ ijk }is the observed response for the kth subject in the jth cluster of the ith group, θ _{ i }is the overall mean in the ith group, β _{ ij }is the random effect associated with the cluster effect and ε _{ ijk }is the residual effect. The β _{ ij }and ε _{ ijk }are assumed to be independent and normally distributed as (0; ${\sigma}_{b}^{2}$) and (0; ${\sigma}_{w}^{2}$) respectively.
The ICC quantifies the degree of similarity between the responses of subjects in the same cluster and is defined as the proportion of the total outcome variation between clusters:
$\rho =\frac{{\sigma}_{b}^{2}}{{\sigma}_{b}^{2}+{\sigma}_{w}^{2}}\left(2\right)$
Sample size calculations
Considering g clusters of m individuals to be randomized in each group, the total number of subject N per group is given by [2]:
$N=mg=\frac{2{\sigma}^{2}{\left({t}_{\left(1\alpha /2\right),2\left(g1\right)}+{t}_{\left(1\beta \right),2\left(g1\right)}\right)}^{2}\left[1+\left(m1\right)\rho \right]}{{\Delta}^{2}}\left(3\right)$
where Δ is the absolute mean difference between groups (i.e., Δ = θ _{0}  θ _{1}), σ ^{2} is the total variance defined as (${\sigma}_{b}^{2}$ + ${\sigma}_{w}^{2}$) and t _{(1  α/2),2(g 1) }and t _{(1  β),2(g 1) }is the 100 × (1  α/2) and 100 × (1  β) percentiles of the Student tdistribution with 2(g  1) degrees of freedom. Considering the effect size, defined as the relative difference between groups (i.e., ES = θ _{0}  θ _{1}/σ = Δ/σ), expression (3) can be rewritten as:
$N=\frac{2{\left({t}_{\left(1\alpha /2\right),2\left(g1\right)}+{t}_{\left(1\beta \right),2\left(g1\right)}\right)}^{2}\left[1+\left(m1\right)\rho \right]}{E{S}^{2}}\left(4\right)$
Impact of cluster size inequality
Simulation study
Monte Carlo simulations were used to assess the impact of imbalance in cluster size on both power and type I error. A 2 × 4 × 4 factorial plan was used, considering 2 effect sizes (0.25, 0.50) to be detected with fixed numbers of clusters (5, 10, 20, 40) and 4 a priori postulated values of the ICC (0.005, 0.02, 0.05, 0.10). The ICC values were chosen according to previously published estimates [5–15], and the number of clusters is in agreement with that from a recent review of cluster randomized trials in primary care settings in which the median number of randomized clusters was estimated at 34 [13]. The α and β values were fixed at 0.05 and 0.20, respectively, in any case.
Once the sample size was calculated, correlated data were simulated, according to model (1). From a practical point of view, data were generated as the sum of a fixed effect (θ _{0} or θ _{1} if the control or experimental group, respectively) and realizations of the 2 random variables β _{ ij }and ε _{ ijk }. For convenience and without loss of generality we set θ _{0} equal to 0 and (${\sigma}_{b}^{2}$ + ${\sigma}_{w}^{2}$) equal to 1. These constraints then allow for defining θ _{1} as the effect size ES, ${\sigma}_{b}^{2}$ as ρ and ${\sigma}_{w}^{2}$ as (1  ρ).
Cluster size
For any combination of ES, g and ρ, we simulated randomized trials with, on the one hand, constant cluster size and, on the other, imbalance in cluster size. In the absence of cluster sizes publications, three types of imbalance were considered:
1. A moderate imbalance:
For each group, each of the N subjects had an equiprobability of being in any of the g clusters randomized in this group. From a practical point of view, for any of the N subjects, we randomly selected with equiprobability the cluster to which it belongs, before adding the appropriate realizations of random variables β _{ ij }and ε _{ ijk }.
2. A "Pareto" imbalance
Following the economic Pareto's principle, we considered the situation in which 80% of the subjects actually belong to only 20% of the clusters. From a practical point of view, we thus defined 2 strata within each group: the strata of large clusters (e.g., 20% of the g clusters) and the strata of small clusters. Eighty percent of the N subjects were in the large cluster strata, while the 20% remaining were in the small cluster strata. Then, within each stratum, subjects were randomly assigned with equiprobability to one of the clusters.
3. A Poisson imbalance
Cluster sizes were finally defined according to a Poisson distribution, which has already been used in such a context [16, 17]. We thus considered a Poisson distribution with parameter m defined as N/g and defined the cluster size of any cluster before generating the associated observations.
In this latter situation, and contrary to the 2 previous ones, the total number of patients per group varies and is equal to N only on average. Moreover, in the 3 types of cluster size inequality, the actual number of clusters per group could be smaller than g, because clusters could be empty.
For any combination of ES, g and ICC, and for any situation (balance or any type of imbalance in cluster size), 5000 replications of data were simulated by use of SAS 8.1 software.
Analysis
Data analysis involved no stratification on cluster size. We used the MIXED procedure in SAS [18, 19] to assess restricted maximum likelihood (REML) estimates of variance components. The Wald test statistic was then used to test the significance of the intervention effect with the Student tdistribution, with g_{0}+g_{1}2 degrees of freedom as the reference distribution, where g_{0} and g_{1} are the actual numbers of nonempty clusters in the control and intervention groups, respectively.
The empirical type I error and power were calculated as the proportion of significant trials (defined as a p value smaller than the nominal α level) when θ _{1} equals 0 and ES, respectively.
Results
Results are expressed as absolute bias and mean square error on the one hand, and empirical' type I error and power on the other. Table 1 displays the results associated with an a priori postulated effect size of 0.25, while Table 2 displays the results associated with a 0.50 effect size. In 7 situations, data sets could not be generated for the following combinations ES/ICC/g: 0.25/0.020/5, 0.25/0.050/5, 0.25/0.050/10, 0.25/0.100/5, 0.25/0.100/10, 0.25/0.100/20 and 0.50/0.100/5. Indeed, when the number of clusters is small and/or the ICC high, even an infinite cluster size may not allow for achieving 80% power [20].
No significant bias was induced by inequality in cluster size (since the relative bias was no more than about 1.5%, in absolute value), while the mean square error was barely increased in cases of severe imbalance (Pareto imbalance).
When the number of clusters is small, type I errors were estimated at a lower level than the nominal one, even with no imbalance in cluster sizes. A symmetrical result was also observed for power, which was estimated at a lower level than the nominal one. This result was of greater magnitude for small ICCs and for greater effect size, which corresponded to situations in which the total number of subjects to be included is reduced. Otherwise, although moderate and Poisson imbalances were of no influence, a Pareto's imbalance was associated with an increase in both type I and type II errors. As an example, if one is willing to detect a 0.25 effect size and plan a randomized trial with 10 clusters per arm with an a priori postulated ICC of 0.02, a Pareto imbalance leads to type I and type II errors of 9% and 38%, respectively, and nominal values fixed at 5% and 20%. This result is of greater magnitude for large ICCs and a small number of clusters.
Thus, while moderate imbalances (based on an equiprobability hypothesis) and Poisson's imbalances can be neglected at the planning stage, a more severe imbalance (such as the Pareto's imbalance) should be taken into account, thus leading to an adjustment in sample size calculations.
Sample size adjustment for unbalanced trials
Adjusted variance inflation factors
The (1 + (m  1)ρ) factor in expressions (3) and (4) defines the variance inflation factor (VIF) that takes into account the correlation induced by the cluster randomization. This VIF supposes a constant cluster size (m) or is based on the average cluster size in case of imbalance. Kerry et al [3] and Manatunga et al [4] proposed to adjust the VIF in cases of an imbalance in cluster size. Thus, we propose 4 corrections. The first 3 are based on weights derived from the a priori postulated distribution of cluster sizes among the g clusters (i.e., the different values of m _{ j }, where m _{ j }is the size of the j ^{th} cluster), and the fourth is based on the expected mean and variance of this latter distribution.

1.
Equal weights (denoted w _{1})[3]:
where $\overline{m}=\frac{1}{g}{\displaystyle \sum _{j=1}^{g}{m}_{j}}$

2.
Cluster size weights (denoted w _{2})[3]:
where $\overline{{m}_{A}}=\frac{{\displaystyle \sum _{j=1}^{g}{m}_{j}^{2}}}{{\displaystyle \sum _{j=1}^{g}{m}_{j}}}$

3.
Minimum variance weights (denoted w _{3}) [3]:
$VI{F}_{{w}_{3}}=\frac{\overline{m}g}{{\displaystyle \sum _{j=1}^{g}\frac{{m}_{j}}{1+\left({m}_{j}1\right)\rho}}}$

4.
Distributionbased correction (denoted d) [4]:
$VI{F}_{d}=1+\left(\frac{E{\left(m\right)}^{2}+\mathrm{var}\left(m\right)}{E\left(m\right)}1\right)\rho $
where E(m) and var(m) are the expected mean and the variance of the cluster size.
We considered these 4 adjustments when a Pareto's imbalance is a priori supposed to be observed. Since moderate imbalances have been shown to be of no influence, we assumed a constant cluster size within each stratum associated with the Pareto's imbalance. The adjusted VIF then becomes (Appendix A):
$VI{F}_{{w}_{1}}=3.25+\left({\overline{m}}_{{w}_{1}}3.25\right)\rho \left(5\right)$
with ${\overline{m}}_{{w}_{1}}=\frac{6.5\left(1\rho \right){T}^{2}}{gE{S}^{2}2\rho {T}^{2}}$ and T = t _{(1  α/2),2(g 1) }+ t _{(1  β),2(g  1)}
$VI{F}_{{w}_{2}}=1+\left(3.25{\overline{m}}_{{w}_{2}}1\right)\rho \left(6\right)$
with ${\overline{m}}_{{w}_{2}}=\frac{2\left(1\rho \right){T}^{2}}{gE{S}^{2}6.5\rho {T}^{2}}$
$VI{F}_{{w}_{3}}=\frac{\left(1+\left(4{\overline{m}}_{{w}_{3}}1\right)\rho \right)\left(1+\left(0.25{\overline{m}}_{{w}_{3}}1\right)\rho \right)}{1+\left({\overline{m}}_{{w}_{3}}1\right)\rho}\left(7\right)$
with ${\overline{m}}_{{w}_{3}}$ being the positive solution of the following equation:
${\overline{m}}_{{w}_{3}}^{2}\rho \left[gE{S}^{2}2\rho {T}^{2}\right]+{\overline{m}}_{{w}_{3}}\left(1\rho \right)\left[gE{S}^{2}8.5\rho {T}^{2}\right]2{\left(1\rho \right)}^{2}{T}^{2}=0$
$VI{F}_{d}=1+\left[3.25{\overline{m}}_{d}1\right]\rho \left(8\right)$
with ${\overline{m}}_{d}=\frac{2\left(1\rho \right){T}^{2}}{gE{S}^{2}6.5\rho {T}^{2}}$
The distributionbased and cluster size weights correction are equivalent [21]. We therefore no longer consider the distributionbased correction and focus on the 3 weighted corrections proposed by Kerry et al [3].
Simulation study
Monte Carlo simulations were performed to determine to what extent the proposed corrections could lead to adequately powered trials. We thus calculated the sample size needed assuming a Pareto repartition, using each of the adjusted VIFs. For each situation, we then simulated cluster randomized trials with a Pareto imbalance to estimate empirical type I error and power. The same approach as that explained in the preceeding was used.
Results
Results are displayed in Tables 3 and 4 for effect sizes of 0.25 and 0.50, respectively. For the cluster size weights correction, several situations existed in which the sample size calculations showed that 80% power could not be reached, thus preventing the generation of associated data sets. If sample size calculations were possible, this correction led to sample sizes barely greater than the sample size obtained with the minimal variance weights correction and empirical type I error and power near the nominal value. This result is consistent for the different values of ES, ρ and g in Tables 3 and 4, except for the combination 0.25/0.02/20. Actually, for fixed values of ES, couples of values for (g, ρ) lead to null values of the denominator of m _{ w2}. If ES is fixed at 0.25, the couple (20, 0.0233) is one of these. For ρ just under this critical value (0.020 in our case), m_{w2} begins to diverge, and when ρ is greater, m_{w2} can no longer be calculated. Equal weights correction led to a much greater sample size than minimum variance weights, particularly when the ICC is small, and the empirical power obtained was therefore much higher than its nominal value: it may even reach 99% if the nominal value were fixed at 80%. The minimum variance weights correction required the smallest increase in sample size and resulted in the smallest difference between empirical and nominal power. Empirical type I errors were also near the nominal 5% level, except when both the number of clusters and the ICC are small.
Robustness of sample size adjustment for unbalanced trials with misspecification of the ICC
Method
We assessed the robustness of the different sample size adjustments for Paretolike unbalanced trials with misspecification of the ICC. We considered an effect size of 0.25, a priori postulated ICCs of 0.005 and 0.020 and the combinations of number of clusters and cluster sizes previously used (see sample sizes in Table 3). Then, for each weighting method, (i.e., for each total number of subjects of each arm N_{w1}, N_{w2}, N_{w3}) we plotted the expected power calculated for a prespecified ICC as a function of the real ICC (which will be a posteriori assessed). This power was calculated by use of the variance inflation factor VIF_{w3} derived from minimum variance weights, because it allows for calculating an expected power that does not differ from the empirical one by more than 3.8% in the situations explored in Table 3 (data not shown). For reference, we also plotted the expected power (calculated with the usual VIF) as a function of the real ICC in cases of no imbalance in cluster size.
Results
Results are displayed in Figures 1 and 2 for an effect size of 0.25 and a priori postulated ICC values of 0.005 and 0.020, respectively. As expected [20], in any situation, the power decreases as the ICC increases, and this result is all the more important when the number of clusters is low. In the planning situations explored, minimum variance weights and cluster size weights curves are very close, except when 20 clusters per intervention arm are randomized and the ICC is a priori fixed at 0.020, but this latter situation is extreme, as discussed previously. Otherwise, the power associated with equal weights remains greater than that associated with minimum variance weights in any situation. However, this finding probably just reflects that the use of this weighting system leads to higher required sample sizes than the use of a minimum variance weights system (cf Tables 3 and 4) and therefore higher power. In any case, imbalance in cluster size is associated with a higher sensitivity to the a priorispecified ICC than constant cluster size. For example, let us consider the case of 20 clusters per intervention arm: if the ICC is a priori postulated at 0.005, but in reality equals 0.015, the power associated with constant cluster size decreases from 0.80 to 0.75 only, whereas the power associated with Pareto repartition decreases from 0.80 to 0.68 (with the minimum variance weighting system). However, all weighting systems show great sensitivity to the actual value of the ICC. Consider the former example (ES = 0.25, g = 20 and Pareto repartition, increase in ICC from 0.005 to 0.015), the power associated with equal weights will decrease from 0.98 to 0.90, and the power associated with cluster size weights from 0.80 to 0.68. Thus, if little prior knowledge is available concerning the value of the ICC, the sensitivity analysis involving several values of ICC is of major importance, particularly when imbalance in cluster size is expected.
Practical implications
General considerations
Cluster size inequality may induce a loss of power and must be taken into account at the planning stage by using the minimum variance weights correction. From a practical point of view, 2 situations must be distinguished. First, when entire clusters are randomized such as in clustercluster trials [22]. the cluster size distribution is a priori known and cluster size inequalities are therefore easy to be taken into account at the planning stage. Second, if physicians have to recruit patients to each cluster according to selection criteria, cluster size distribution cannot a priori be known. In this latter situation, a sensitivity analysis must be performed considering several hypotheses on cluster size distribution for an optimal sample size determination.
Adaptation of the VIF for a Pareto like imbalance
Let us assume that the cluster size inequality corresponds to a Paretolike distribution, say that in each arm a proportion (γ) of clusters actually recruit the proportion (τ) of patients to be recruited (which implies γ ≤ τ). If γ and τ are fixed at 20% and 80%, respectively, we have the Pareto imbalance defined previously; if γ and τ are equal, the cluster size imbalance is absent or moderate (and can then be neglected). The sensitivity analysis then consists of varying the parameters (γ) and (τ), thus allowing for imbalance increases with the absolute difference between the 2 values. The inflation factor calculated with the minimum variance weights correction will be the following (Appendix B):
$VIF=\frac{\left[1+\left(\frac{1\tau}{1\gamma}m1\right)\rho \right]\left[1+\left(\frac{\tau}{\gamma}m1\right)\rho \right]}{\tau \left[1+\left(\frac{1\tau}{1\gamma}m1\right)\rho \right]+\left(1\tau \right)\left[1+\left(\frac{\tau}{\gamma}m1\right)\rho \right]}\left(9\right)$
To illustrate the discrepancy between nominal and real power if an imbalance of the form "γ clusters actually recruit τ patients" is not taken into account, we performed the following calculations. We used formula (4) (i.e., assuming a constant cluster size) to derive the number of subjects needed. Then, using expression (9), we calculated the expected power with such a sample size, with a proportion of γ clusters actually recruiting a proportion τ of the patients to be included.
Figures 3 and 4 display the results for several combinations of ES/ICC/g and γ/τ under the assumption of no empty cluster. The upper part of Figures 3 and 4 is empty, since an 80% power cannot be reach for the associated combinations of ICC and g. Moreover, γ is smaller than or equal to τ, which explains why any upper part of matrices associated with an ICC/g combination is empty. As expected, the bigger the cluster size inequality, the more important the discrepancy between nominal and real power. For example, let us consider a trial aimed at detecting a 0.25 effect size in which 10 clusters are to be randomized in each arm. Assuming an ICC of 0.005 and a balance in cluster size, this study would require 326 subjects to be recruited in each arm to reach 80% power. If 10% of the clusters recruit 50% of the subjects, the power barely declines, to 77%; if a major imbalance such as 90% of the patients are to be recruited by 10% of the clusters, the power would fall to 54%. The latter phenomenon is all the more acute with a low number of clusters; critical situations in which a substantial loss in power may be expected are displayed in Figures 3 and 4. Red levels approximately follow diagonals representing constant τγ differences. It can be shown (appendix C) that the gini coefficient, a quantitative measure of site accrual inequality [23], comes down to the absolute difference between τ and γ when a proportion γ of clusters actually recruit a proportion τ of patients to be recruited. Our results show that varying this summary measure of imbalance is enough for performing a sensitivity analysis and that there is no need to specify both τ and γ.
Assigning a value of 1 to τ creates a situation in which a proportion (1γ) of clusters is empty. In this situation achieving the required sample size supposes to increase the average cluster size of the γg clusters by a factor 1/γ. However one has to be aware that such a strategy will indeed allow achieving the prespecified sample size, but it will not allow to reach the nominal power. Indeed it is known that for a fixed total number of subjects, the higher the number of clusters, the higher the power [1] which means that reducing the number of clusters will translate in a loss in power even if the prespecified sample size is achieved. Therefore, in case it is anticipated that empty clusters may occur, sensitivity analyses have to be conducted using formula (4) on the basis of the hypothesized number of active clusters g' = γg.
Discussion
A moderate inequality in cluster sizes has little effect on power and can thus be neglected at the planning stage. However, a major imbalance in cluster sizes, like the "Pareto" imbalance, (i.e. 80% of the subjects belong to only 20% of the clusters) is associated with a loss in power, and the phenomenon is all the more important when the number of clusters is low and/or the ICC is high. In these situations, the minimum variance weights correction has good properties and allows for achieving the nominal power. This result, obtained in the extreme situation of a Pareto imbalance, suggests that this correction can be used to derive sample size or power in any situation where, in each group, cluster sizes can be separated in two strata, the small cluster stratum and the big cluster stratum. The higher sensitivity of severely unbalanced trials to the a prioripostulated value of the ICC compared to that of balanced trials emphasized the necessity of a sensitivity analysis on this parameter. We derived an adaptation of the VIF, which should be used when the imbalance is a priori hypothesized to be "a proportion of γ clusters will actually recruit a proportion τ of the subjects to be included".
A limit to this approach remains the degree of imbalance being usually difficult to foresee at the planning stage, except when, for instance, families or practices are randomized and clusters as a whole are included in the trial. In these latter situations, one may a priori know precisely the cluster size repartition and therefore use the minimum variance weights correction as initially specified by Kerry et al [3]. However, if, within each cluster, the physician has to recruit patients to be included in the trial, cluster size distribution may then be difficult to hypothesize. It is all the more difficult since cluster sizes are usually not reported in published clustered randomized trials. We therefore proposed to consider that cluster sizes distribution can be divided in each arm in two strata: a stratum of small clusters, and another of large clusters. This hypothesis may be debatable. However, since a moderate inequality of cluster size is of minor effect, it seems a rather useful and simple way to consider the risk of cluster size inequality at the planning stage, particularly since no precise data on cluster size inequality are available. Another limitation is that our work focused on normally distributed continuous outcomes. More work is needed to extend our results to nonnormal distributions, especially with binary variables. Finally, we restricted our work to cases of no differential recruitment between arms, thus considering that imbalance is the same in the two arms. Such a hypothesis may be questionable in cluster randomized trials: since inclusion is posterior to randomization, this may indeed induce differential recruitment and imbalance in patient characteristics, which may lead to questioning the results of the study [24].
Conclusion
In conclusion, our study demonstrates that severely imbalanced trials with continuous outcomes may be highly underpowered. If such imbalance in cluster size can be anticipated at the design stage, minimum variance weights correction should be used to inflate the required sample size. A priori estimation of the expectable imbalance would be facilitated if more details on cluster sizes were given in published cluster randomized trials, as was recently advised in the extension of the CONSORT statement for cluster randomized trials [25]. Moreover, such publication of cluster sizes would be of particular interest to assess the real power of the trial conducted.
Appendix A: corrected variance inflation factor (VIF) for an a prioripostulated Pareto imbalance
Four corrections have been proposed for adjusting sample size in cases of imbalance in cluster size. Considering the specific situation of a Pareto imbalance, the general form of these corrections can be simplified.
Characteristics of the Pareto imbalance
g refers to the number of clusters within each arm and $\overline{m}$ is the average cluster size
Equal weights (denoted w _{1}) [3]
With an equal weights correction, the VIF is expressed as:
where $\overline{m}=\frac{1}{g}{\displaystyle \sum _{j=1}^{g}{m}_{j}}$
With a Pareto imbalance, this equation is expressed as:
$\begin{array}{c}VI{F}_{{w}_{1}}=\frac{{\overline{m}}_{{w}_{1}}}{g}\left(\frac{0.8g}{0.25{\overline{m}}_{{w}_{1}}}+\frac{0.2g}{4{\overline{m}}_{{w}_{1}}}\right)\left(1\rho \right)+{\overline{m}}_{{w}_{1}}\rho \\ =3.25+\left({\overline{m}}_{{w}_{1}}3.25\right)\rho \end{array}$
where ${\overline{m}}_{{w}_{1}}$ (the average cluster size for which an equal weights correction is used) is defined as:
${\overline{m}}_{{w}_{1}}g=\frac{2{T}^{2}}{E{S}^{2}}\left[3.25+\left({\overline{m}}_{{w}_{1}}3.25\right)\rho \right]$
which leads to :
${\overline{m}}_{{w}_{1}}=\frac{6.5\left(1\rho \right){T}^{2}}{gE{S}^{2}2\rho {T}^{2}},$
where ES refers to the effect size and T = t _{(1  α/2),2(g 1) }+ t _{(1  β),2(g  1)}
Cluster size weights (denoted w _{2}) [3]
where $\overline{{m}_{A}}=\frac{{\displaystyle \sum _{j=1}^{g}{m}_{j}^{2}}}{{\displaystyle \sum _{j=1}^{g}{m}_{j}}}$
With a Pareto imbalance, we can write the equation as:
${\overline{m}}_{A}=\frac{0.8g{\left(0.25{\overline{m}}_{{w}_{2}}\right)}^{2}+0.2g{\left(4{\overline{m}}_{{w}_{2}}\right)}^{2}}{{\overline{m}}_{{w}_{2}}g}=3.25{\overline{m}}_{{w}_{2}}$
So the VIF is reduced to:
$VI{F}_{{w}_{2}}=1+\left(3.25{\overline{m}}_{{w}_{2}}1\right)\rho \left(6\right)$
and
${\overline{m}}_{{w}_{2}}=\frac{2\left(1\rho \right){T}^{2}}{gE{S}^{2}6.5\rho {T}^{2}}$
Minimum variance weights (denoted w _{3}) [3]
$VI{F}_{{w}_{3}}=\frac{\overline{m}g}{{\displaystyle \sum _{j=1}^{g}\frac{{m}_{j}}{1+\left({m}_{j}1\right)\rho}}}$
With a Pareto imbalance, the equation can be written as:
$\begin{array}{c}VI{F}_{{w}_{3}}=\frac{{\overline{m}}_{{w}_{3}}g}{0.8g\frac{0.25{\overline{m}}_{{w}_{3}}}{1+\left(0.25{\overline{m}}_{{w}_{3}}1\right)\rho}+0.2g\frac{4{\overline{m}}_{{w}_{3}}}{1+\left(4{\overline{m}}_{{w}_{3}}1\right)\rho}}\\ =\frac{\left(1+\left(4{\overline{m}}_{{w}_{3}}1\right)\rho \right)\left(1+\left(0.25{\overline{m}}_{{w}_{3}}1\right)\rho \right)}{1+\left({\overline{m}}_{{w}_{3}}1\right)\rho}\end{array}$
with
${\overline{m}}_{{w}_{3}}g=\frac{2{T}^{2}}{E{S}^{2}}\left[\frac{\left(1+\left(4{\overline{m}}_{{w}_{3}}1\right)\rho \right)\left(1+\left(0.25{\overline{m}}_{{w}_{3}}1\right)\rho \right)}{1+\left({\overline{m}}_{{w}_{3}}1\right)\rho}\right]$
which leads to ${\overline{m}}_{{w}_{3}}$ being the positive solution of the following equation:
${\overline{m}}_{{w}_{3}}^{2}\rho \left[gE{S}^{2}2\rho {T}^{2}\right]+{\overline{m}}_{{w}_{3}}\left(1\rho \right)\left[gE{S}^{2}8.5\rho {T}^{2}\right]2{\left(1\rho \right)}^{2}{T}^{2}=0$
Distributionbased correction (denoted d) [4]
$VI{F}_{d}=1+\left(\frac{E{\left(m\right)}^{2}+\mathrm{var}\left(m\right)}{E\left(m\right)}1\right)\rho $
So we have:
with
${\overline{m}}_{d}g=\frac{2{T}^{2}}{E{S}^{2}}\left[1+\left(3.25{\overline{m}}_{d}1\right)\rho \right]$
that is to say:
${\overline{m}}_{d}=\frac{2\left(1\rho \right){T}^{2}}{gE{S}^{2}6.5\rho {T}^{2}}$
One then recognizes the results obtained using the cluster size weights correction.
Appendix B: minimum variance weightscorrected variance inflation factor (VIF) for an a prioripostulated Paretolike imbalance
Characteristics of the Paretolike imbalance
g refers to the number of clusters within each arm and $\overline{m}$ is the average cluster size
Minimum variance weighs VIF
$\begin{array}{c}VI{F}_{{w}_{3}}=\frac{\overline{m}g}{{\displaystyle \sum _{j=1}^{g}\frac{{m}_{j}}{1+\left({m}_{j}1\right)\rho}}}\\ =\frac{\overline{m}g}{\left(1\gamma \right)g\frac{\frac{1\tau}{1\gamma}\overline{m}}{1+\left(\frac{1\tau}{1\gamma}\overline{m}1\right)\rho}+\gamma g\frac{\frac{\tau}{\gamma}\overline{m}}{1+\left(\frac{\tau}{\gamma}\overline{m}1\right)\rho}}\end{array}$
So we obtain:
$VIF=\frac{\left[1+\left(\frac{1\tau}{1\gamma}m1\right)\rho \right]\left[1+\left(\frac{\tau}{\gamma}m1\right)\rho \right]}{\tau \left[1+\left(\frac{1\tau}{1\gamma}m1\right)\rho \right]+\left(1\tau \right)\left[1+\left(\frac{\tau}{\gamma}m1\right)\rho \right]}$
Appendix C: gini coefficient for an a prioripostulated Paretolike imbalance
$gini=\frac{1}{2{g}^{2}\overline{m}}{\displaystyle \sum _{i=1}^{g}{\displaystyle \sum _{j=1}^{g}\left{m}_{i}{m}_{j}\right}}$
Given the characteristics of the Paretolike imbalance presented in appendix B, considering that clusters are ordered hierarchically by increasing size, the matrix of the difference m _{ i } m _{ j } can be written as:
$M=\left(\begin{array}{cc}{0}_{\left(\gamma g,\gamma g\right)}& {1}_{\left(\gamma g,\left(1\gamma \right)g\right)}\left\frac{\tau \gamma}{\gamma \left(1\gamma \right)}\right\\ {1}_{\left(\left(1\gamma \right)g,\gamma g\right)}\left\frac{\tau \gamma}{\gamma \left(1\gamma \right)}\right& {0}_{\left(\left(1\gamma \right)g,\left(1\gamma \right)g\right)}\end{array}\right)$
Where 0_{(γg,γg) }and 0_{((1γ)g,(1γ)g) }are squared matrices of size γg and (1γ)g respectively and 1_{(γg,(1γ)g) }and 1_{((1γ)g,γg) }are matices of size γg × (1γ)g and (1γ)g × γg respectively, containing only 1 s.
Thus:
$\begin{array}{l}gini=\frac{1}{2{g}^{2}\overline{m}}2{g}^{2}\gamma \left(1\gamma \right)\left\frac{\tau \gamma}{\gamma \left(1\gamma \right)}\right\overline{m}\\ gini=\left\tau \gamma \right\end{array}$
References
 1.
Murray DM: Design and Analysis of GroupRandomized Trials. 1998, Oxford University Press: New York
 2.
Donner A, Klar N: Design and Analysis of Cluster Randomization Trials in Health Research. 2000, Arnold: London
 3.
Kerry SM, Bland JM: Unequal cluster sizes for trials in English and Welsh general practice: implications for sample size calculations. Stat Med. 2001, 20: 377390. 10.1002/10970258(20010215)20:3<377::AIDSIM799>3.0.CO;2N.
 4.
Manatunga AK, Hudgens MG, Chen S: Sample size estimation in cluster randomized studies with varying cluster size. Biometrical Journal. 2001, 1: 7586. 10.1002/15214036(200102)43:1<75::AIDBIMJ75>3.0.CO;2N.
 5.
Hannan PJ, Murray DM, Jacobs DR, McGovern PG: Parameters to aid in the design and analysis of community trials: intraclass correlations from the Minnesota Heart Health Program. Epidemiology. 1994, 5: 8895.
 6.
Martinson BC, Murray DM, Jeffery RW, Hennrikus DJ: Intraclass correlation for measures from a worksite health promotion study: estimates, correlates, and applications. Am J Health Promot. 1999, 13: 347357.
 7.
Murray DM, Short BJ: Intraclass correlation among measures related to tobacco use by adolescents: estimates, correlates, and applications in intervention studies. Addict Behav. 1997, 22: 112. 10.1016/03064603(95)000992.
 8.
Murray DM, Clark MH, Alexander CW: Intraclass correlation from a communitybased alcohol prevention study: the effect of repeat observations on the same communities. J Stud Alcohol. 2000, 61: 88190.
 9.
Murray DM, Phillips GA, Bimbaum AS, Lytle LA: Intraclass correlation for measures from a middle school nutrition intervention study: estimates, correlates, and applications. Health Educ Behav. 2001, 28: 666679.
 10.
Siddiqui O, Hedeker D, Flay BR, Hu FB: Intraclass correlation estimates in a schoolbased smoking prevention study. Am J Epidemiol. 1996, 144: 425433.
 11.
Smeeth L, SiuWoon NgE: Intraclass correlation coefficients for cluster randomized trials in primary care: data from the MRC Trial of the Assessment and Management of Older People in the Community. Control Clin Trials. 2002, 23: 409421. 10.1016/S01972456(02)002088.
 12.
Reading R, Harvey I, McLean M: Cluster randomised trials in maternal and child health: implications for power and sample size. Arch Dis Child. 2000, 82: 7983. 10.1136/adc.82.1.79.
 13.
Eldridge SM, Ashby D, Feder GS, Rudnicka AR, Ukoumunne OC: Lessons for cluster randomized trials in the twentyfirst century: a systematic review of trials in primary care. Clinical Trials. 2004, 1: 8090. 10.1191/1740774504cn006rr.
 14.
Ukoumunne OC, Gulliford MC, Chinn C, Sterne JAC, Burney PGJ: Methods for evaluating areawide and organisationbased interventions in health and health care: a systematic review. Health Technol Assess. 1999, 3: iii92.
 15.
Gulliford MC, Adams G, Ukoumunne OC, Latinovic R, Chinn S, Campbell MJ: Intraclass correlation coefficient and outcome prevalence are associated in clustered binary data. J Clin Epidemiol. 2005, 58: 246251. 10.1016/j.jclinepi.2004.08.012.
 16.
Ukoumunne OC: A comparison of confidence interval methods for the intraclass correlation coefficient in cluster randomized trials. Stat Med. 2002, 21: 37573774. 10.1002/sim.1330.
 17.
Bellamy SL, Gibberd R, Hancock L, Howley P, Kennedy B, Klar N, Lipsitz S: Analysis of dichotomous outcome data for community intervention studies. Stat Methods Med Res. 2000, 9: 135159. 10.1191/096228000672549488.
 18.
Verbeke G, Molenberghs G: Linear Mixed Models in Practice. A SAS Oriented Approach. 1997, SpringerVerlag: New York
 19.
Littell RC, Milliken GA, Stroup WW, Wolfinger RD: SAS System for Mixed Models. 1996, BBU Press: Cary
 20.
Guittet L, Giraudeau B, Ravaud P: A priori postulated and real power in cluster randomized trials: mind the gap. BMC Med Res Methodol. 2005, 5: 2510.1186/14712288525.
 21.
Lake S, Kammann E, Klar N, Betensky R: Sample size reestimation in cluster randomization trials. Stat Med. 2002, 21: 13371350. 10.1002/sim.1121.
 22.
Edwards SJ, Braunholtz DA, Lilford RJ, Stevens AJ: Ethical issues in the design and conduct of cluster randomised controlled trials. BMJ. 1999, 318: 14071409.
 23.
Haidich AB, Ioannidis JPA: The Gini coefficient as a measure for understanding accrual inequalities in multicenter clinical trials. J Clin Epidemiol. 2004, 57: 3418. 10.1016/j.jclinepi.2003.09.011.
 24.
Puffer S, Torgerson D, Watson J: Evidence for risk of bias in cluster randomised trials: review of recent trials published in three medical journals. BMJ. 2003, 327: 785789. 10.1136/bmj.327.7418.785.
 25.
Campbell MK, Elbourne DR, Altman DG: CONSORT statement: extension to cluster randomised trials. BMJ. 2004, 328: 702708. 10.1136/bmj.328.7441.702.
Prepublication history
The prepublication history for this paper can be accessed here:http://www.biomedcentral.com/14712288/6/17/prepub
Acknowledgements
The work was funded by a grant from the Foundation for Medical research (FRM).
Author information
Additional information
Competing interests
The author(s) declare that they have no competing interests.
Authors' contributions
This study was designed by LG, BG and PR. LG performed the statistical analysis and drafted the article, which was then revised by BG and PR.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
About this article
Cite this article
Guittet, L., Ravaud, P. & Giraudeau, B. Planning a cluster randomized trial with unequal cluster sizes: practical issues involving continuous outcomes. BMC Med Res Methodol 6, 17 (2006). https://doi.org/10.1186/14712288617
Received:
Accepted:
Published:
Keywords
 Intraclass Correlation Coefficient
 Cluster Size
 Sample Size Calculation
 Variance Inflation Factor
 Planning Stage