Skip to main content
  • Research Article
  • Open access
  • Published:

Multiple imputation by predictive mean matching in cluster-randomized trials

Abstract

Background

Random effects regression imputation has been recommended for multiple imputation (MI) in cluster randomized trials (CRTs) because it is congenial to analyses that use random effects regression. This method relies heavily on model assumptions and may not be robust to misspecification of the imputation model. MI by predictive mean matching (PMM) is a semiparametric alternative, but current software for multilevel data relies on imputation models that ignore clustering or use fixed effects for clusters. When used directly for imputation, these two models result in underestimation (ignoring clustering) or overestimation (fixed effects for clusters) of variance estimates.

Methods

We develop MI procedures based on PMM that leverage these opposing estimated biases in the variance estimates in one of three ways: weighting the distance metric (PMM-dist), weighting the average of the final imputed values from two PMM procedures (PMM-avg), or performing a weighted draw from the final imputed values from the two PMM procedures (PMM-draw). We use Monte-Carlo simulations to evaluate our newly proposed methods relative to established MI procedures, focusing on estimation of treatment group means and their variances after MI.

Results

The proposed PMM procedures reduce the bias in the MI variance estimator relative to established methods when the imputation model is correctly specified, and are generally more robust to model misspecification than even the random effects imputation methods.

Conclusions

The PMM-draw procedure in particular is a promising method for multiply imputing missing data from CRTs that can be readily implemented in existing statistical software.

Peer Review reports

Background

A cluster-randomized trial (CRT) is a trial in which intact groups, or clusters, rather than individuals are randomized to treatment conditions. As with any study, CRTs are plagued by problems with dropout and nonresponse. The added statistical challenge for CRTs is that the assumption of independence is violated: subjects within the same cluster tend to have correlated outcomes. When data are missing in a CRT, procedures used to fill in, or impute, the missing data should account for this correlation; failure to do so may result in inflated Type I error rates [1] and thus misleading conclusions.

Fully parametric procedures for imputing missing data from a CRT are commonly used in practice, but a semiparametric procedure for imputation should be more robust to misspecification of the imputation model. In this article, we propose three new semiparametric procedures for multiple imputation and compare them to established methods for CRTs.

Estimation and inference after multiple imputation

When data are missing from a CRT, how we handle the missing data depends in part on the reason behind the missing data. These missing data mechanisms are commonly classified into one of three types: missing completely at random, missing at random, or missing not at random [2]. We say data are missing completely at random (MCAR) if the probability that data are missing does not depend on any observed or unobserved data. A more reasonable assumption in many cases is that the data are missing at random (MAR), meaning the probability that data are missing depends on the observed data, but does not depend on any missing observations. Lastly, we say data are missing not at random (MNAR) if the probability that data are missing depends at least in part on unobserved data (e.g., the observations that are missing).

Multiple imputation (MI) is a common procedure for handling missing data that is valid under MAR and involves three phases: imputation, analysis, and pooling. In the imputation phase, we copy the incompletely observed data D times and augment each incomplete dataset with different imputed estimates of the missing values. Then in the analysis phase, we analyze each of the D imputed datasets using the planned method of analysis for the study (e.g., random effects models for CRTs). Finally, in the pooling phase, we use Rubin’s rules to combine the results of the D analyses to produce a single result [3]. We are primarily concerned with the imputation phase in this paper, but for completeness we describe the analysis and pooling phases below.

Assume we measure a continuous outcome yijl and a set of covariates xijl for subject i=1,…,m in cluster j=1,…,k of study condition l=1,2 for a total of 2km participants. The data generating model is yijl=xijlβ+bjl+eijl where the cluster-specific intercepts \(b_{jl} \overset {\text {i.i.d.}}{\sim } N\left (0,\,\sigma ^{2}_{b}\right)\) and are mutually independent of the random error terms, \(e_{ijl} \overset {\text {i.i.d.}}{\sim } N\left (0,\,\sigma ^{2}_{e}\right)\). The total variation in yijl is \(\sigma ^{2}=\sigma ^{2}_{b} + \sigma ^{2}_{e}\), and the intracluster correlation coefficient (ICC), which measures the within-cluster association, is given by \(\rho = \sigma ^{2}_{b}/\sigma ^{2}\).

Of primary interest is the lth treatment group mean, θl, estimated in complete data by \(\hat {\theta }_{l} = \bar {y}_{\cdot \cdot l}\) with corresponding variance

$$ \text{Var} \left({\hat{\theta}_{l}}\right) = \frac{\sigma^{2}}{km}\left[ 1 +(m-1)\rho \right]. $$

When σ2 and ρ are unknown, we can estimate this quantity with

$$ \widehat{\text{Var}} \left({\hat{\theta}_{l}}\right) = \frac{1}{2k(k-1)} \sum_{l=1}^{2}\sum_{j=1}^{k}(\bar y_{\cdot jl} - \bar y_{\cdot \cdot l})^{2}, $$

using the ANOVA method [4]. If we only observe outcomes for the first r out of m subjects (without loss of generality) in each of the k clusters and we impute the remaining mr values with \(y_{ijl}^{(d)}\), then the estimator of the treatment group mean in the dth imputed dataset is

$$ \hat {\theta}_{l}^{(d)} = \frac{1}{km} \left(\sum_{j=1}^{k} \sum_{i=1}^{r} y_{ijl} + \sum_{j=1}^{k} \sum_{i=r+1}^{m} y_{ijl}^{(d)}\right) $$

with estimated variance

$$ W_{l}^{(d)} =\widehat{\text{Var}} \left(\hat {\theta}_{l}^{(d)} \right) = \frac{1}{2k(k-1)} \sum_{l=1}^{2}\sum_{j=1}^{k} \left(\bar y^{(d)}_{\cdot jl}- \bar y^{(d)}_{\cdot \cdot l}\right)^{2}. $$

Pooling these results for d=1,…,D, the MI estimator of θl is simply \( \hat {\theta }^{\text {MI}}_{l} = \frac {1}{D}\sum \hat {\theta }_{l}^{(d)} \). The corresponding variance estimator after MI captures both the variability within each imputed dataset \(\left (\overline {W}_{l} = \frac {1}{D}\sum W_{l}^{(d)}\right)\) and the variability between the D imputed datasets \(\left (B_{l} = \frac {1}{D-1}\sum \left [\hat {\theta }_{l}^{(d)}-\hat {\theta }_{l}^{\text {MI}} \right ]^{2}\right)\). The MI variance estimator is

$$ \widehat{V}_{l}^{\text{MI}} = \widehat{\text{Var}}\left(\hat \theta_{l}^{\text{MI}}\right) = \overline{W}_{l} + \left(1+\frac{1}{D}\right)B_{l}, $$

where the factor \(\left (1+\frac {1}{D}\right)\) corrects the bias due to the finite number of imputed datasets [3]. Inference on θ can proceed by assuming the test statistic

$$ t_{\nu}=\frac{ \hat{\theta}_{l}^{\text{MI}} - \theta_{l} }{ \sqrt{ \widehat{V}_{l}^{\text{MI}}} } $$

follows a t distribution with ν degrees of freedom. The typical formula for the degrees of freedom after MI is

$$ \nu = (D-1)\left(1+ \frac{D}{D+1}\frac{\overline{W}_{l}}{B_{l}} \right), $$

but a different formula should be used in small samples or in study designs with limited degrees of freedom, as in CRTs where the degrees of freedom are driven by the number of clusters rather than the number of subjects [2, 5]. In this case, the degrees of freedom are \( \nu ^{*} = \left (\nu ^{-1} + \hat {\nu }_{\text {obs}}^{-1} \right)^{-1} \), where \(\hat {\nu }_{\text {obs}} = {\left (\frac {\overline {W}_{l}}{\widehat {V}_{l}^{\text {MI}}} \right)}{ \left (\frac {\nu _{\text {com}}+1}{\nu _{\text {com}}+3} \right)}\) and νcom are the degrees of freedom based on complete data.

Fully parametric imputation

While estimation and inference for CRTs are fairly straightforward after multiple imputation, the imputation phase itself poses the greatest challenge. Ideally, the imputation model is congenial to the analysis model, meaning the model used to analyze the data can be derived from the imputation model [6]. For CRTs, this means we should use a random effects model to impute the missing data. Some authors have shown this method to work well in limited simulations [1, 7], but it relies heavily on model assumptions. Additionally, the number of clusters may be quite small for some CRTs, and random effects models may not be the most appropriate or most powerful analysis approach [8, 9].

Although the random effects model is an appropriate congenial imputation model for CRTs, models that ignore clustering or model clusters as fixed effects have been used in practice [1013]. For continuous outcomes, the imputation model that ignores clustering is the standard regression model:

$$ \begin{aligned} y_{ijl} &= \pmb{x}_{ijl}'\pmb{\beta} + e_{ijl},\\ e_{ijl} & \overset{\text{i.i.d.}}{\sim} N(0,\,\phi^{2}_{e}). \end{aligned} $$

We use \(\phi ^{2}_{e}\) here to distinguish the imputation model parameters from the data-generating parameters of the random effects model. The fixed effects imputation model is similar, with the intercept term replaced by the following set of indicators:

$$\sum_{g=1}^{2}\sum_{c=1}^{k}\beta_{0cg}\pmb{1}(c=j,\,g=l).$$

Neither of these models are congenial to a random effects analysis model, but they still produce unbiased estimates of the treatment group mean. However, these imputation models result in biased estimates of the variance when used for fully parametric multiple imputation [1, 7]. Specifically, assuming the data are MCAR and the response rate π is the same for all clusters, the bias of the multiple imputation variance estimator based on the fixed effects (FE) imputation model as D is

$$ \text{Bias}_{\texttt{FE}}\left(\hat V^{\text{MI}}_{l} \right) = \frac{2(1-\pi)(1-\rho)\sigma^{2}}{km\pi}, $$
(1)

which is always positive [7]. This overestimation is worse with smaller ICCs and smaller cluster sizes. On the other hand, the bias of the MI variance estimator when ignoring clustering (IGN) in the imputation model is

$$ \begin{aligned} \text{Bias}_{\texttt{IGN}}\left(\hat V^{\text{MI}}_{l} \right) = \frac{\sigma^{2}\rho}{km\pi-1}(m\pi-2)(\pi^{2}-1), \end{aligned} $$
(2)

which is always negative and worsens with larger ICCs. The derivation of (2) can be found in Additional File 1.

Imputation by predictive mean matching

An alternative approach to imputation that is relatively less reliant on model assumptions is predictive mean matching (PMM), where the missing outcome for a nonrespondent (or recipient) is imputed by the observed outcome from a respondent (or donor) with a similar predicted mean outcome [14]. We outline a typical PMM procedure here for recipient 0:

  1. 1.

    For a partially observed outcome y, use regression models to obtain predicted means (\(\hat y_{i}\)) for all subjects and a posterior predicted mean (\(y^{*}_{0}\)) for recipient 0.

  2. 2.

    Find a pool of K donors that minimize the distance \(d(0,\, i) = |{y}^{*}_{0} - \hat {y}_{i}|\).

  3. 3.

    Randomly select a single donor from the donor pool, and use the observed value from this donor as the imputed value for recipient 0.

To multiply impute, we repeat this procedure D times and proceed with the analysis and pooling phases as described previously. There are many different variants of PMM, based on varying the way the predicted means are calculated, the size of the donor pool, and the way a donor is selected from the pool (e.g., [1517]). For a comprehensive review of the many flavors of PMM, see [14].

Multiple imputation using predictive mean matching has many desirable properties, particularly when data do not satisfy the assumption of multivariate normality that is common in fully parametric imputation methods. PMM may be more robust to model misspecification than fully parametric imputation methods since parametric assumptions are only present in the metric used to match donors to recipients. In addition, only plausible values are imputed for the missing data, allowing distributions to be preserved. In practice, PMM is also computationally simpler than fully parametric imputation methods. We are therefore interested in extending the PMM algorithm to multiple imputation of CRT data in a manner that is both convenient and statistically valid.

While PMM has been shown to work well in single-level data, it is not clear how best to extend the procedure to multilevel data as found in CRTs. To emulate fully parametric imputation, a natural extension is to include random effects for clusters in the predictive mean models. This would involve using the best linear unbiased prediction estimates to obtain \(\hat {y}_{ijl} = \pmb {x}_{ijl}'\pmb {\beta } + \hat {b}_{0jl}\), and implementing a Gibbs sampler to obtain posterior draws of β and b for the posterior predictive mean model [18]. Although this approach is a natural way to extend the PMM matching procedure to multilevel data and is recently available in an R package [19], it has not been extensively evaluated.

To our knowledge, only one group of authors has recommended a PMM procedure for multiple imputation of multilevel data. Vink et al. in 2015 [20] proposed incorporating cluster indicators as fixed effects in the predictive mean model to account for between-cluster variability. They used simulation to compare a PMM procedure that included fixed effects for clusters to two fully parametric MI procedures that used random effects for clusters, evaluating bias in the estimated cluster means, coverage rate of the corresponding 95% confidence intervals, and the estimated ICC. The authors found that the PMM procedure with a fixed effects model performed as well as the fully parametric procedures across all cases, and that the PMM procedure actually outperformed the parametric procedures when there was a large amount of missing data or when cluster-level variables were missing.

Despite these promising results, the simulation in [20] involved a single data set, and we suspect that the results are not fully generalizable to a range of ICCs and cluster sizes. Thus, more work is needed to evaluate the use of PMM for multilevel data arising from CRTs.

In this paper, we use our knowledge of the biases described in Eqs. 1 and (2) to propose new PMM procedures for multiple imputation of multilevel data that might mitigate the bias in the MI variance after MI and can be implemented using current software. We evaluate these methods in an extensive simulation study, comparing them to both fully parametric imputation methods as well as PMM methods based on fixed effects for clusters, ignoring clusters, and the random effects model. We also apply the new methods to data from the Work, Family, and Health Study [21].

Methods

We know that ignoring clustering in the imputation model results in underestimation of the variance of the treatment group mean, while fixed effects imputation results in overestimation of the variance, so neither of these approaches alone are appropriate for multiple imputation of CRT data. While this bias is a direct result of the imputation model for fully parametric procedures, the imputation model only controls the donor pool for predictive mean matching procedures. To reduce this bias without changing the imputation model itself, we need to adjust the donor pool so that the final imputed values, and thus the pooled estimates themselves, better reflect the true variability after multiple imputation. We propose to do this by allowing both models to contribute to the donor pool in an amount inversely proportional to the magnitude of its expected bias. In the extreme, if one model is expected to produce an unbiased estimate of the MI variance, it will be the only model contributing to the donor pool. Capitalizing on the opposing directions in bias, we propose three new weighted PMM procedures that combine both an imputation model that uses fixed effects for clusters and one that ignores clustering.

Choice of weights

We require weights that sum to one and that favor the imputation model with the smaller magnitude of the bias. We propose the following weight for the predictive mean model that ignores clustering, noting that wFE=1−wIGN:

$$ w_{\texttt{IGN}} = \frac{|\text{Bias}_{\texttt{FE}}|} {|\text{Bias}_{\texttt{IGN}}|+|\text{Bias}_{\texttt{FE}}|} $$

Plugging in the derived formulas for the biases in (1) and (2) and assuming \(\frac {\sigma ^{2}}{km\pi }\approx \frac {\sigma ^{2}}{km\pi -1}\), we get

$$ w_{\texttt{IGN}} = \frac{|2(1-\pi)(1-\rho)|} {|\rho(m\pi-2)(\pi^{2}-2)| + |2(1-\pi)(1-\rho)|}. $$

To estimate these weights, we use the observed response rate for π and estimate ρ from a complete case analysis of the data. Alternatively, depending on the extent and nature of the missing data, we might consider using a prior estimate of the ICC from similar studies. We note that the bias formulae were derived assuming a balanced design with equal numbers of respondents and nonrespondents in each cluster. It is unlikely that the number of respondents per cluster is the same across all clusters, so in practice mπ in the formula can be replaced by \(\bar {r}\), the average number of respondents per cluster.

PMM-dist: minimize the weighted distance

The PMM imputation procedure can be modified at one of two stages to incorporate the weighting of the two single-level imputation models: the creation of the donor pool (e.g., via definition of the distance metric) or the final donor selection. Our first proposed procedure, which we call PMM-dist, modifies the definition of the distance metric (and therefore creation of the donor pool). We define a new distance metric, d(0,i), that weights the magnitude of the distances from each single-level imputation procedure. We calculate the distances dIGN(0, i) and dFE(0, i) under each predictive mean model and combine them in a final distance metric:

$$ d^{*}(0,\,i)= w_{\texttt{IGN}}d_{\texttt{IGN}}(0,\,i)+ w_{\texttt{FE}}d_{\texttt{FE}}(0,\,i). $$

The PMM procedure then proceeds as usual: we find the K donors that minimize d(0,i) and randomly select a single donor from this pool. Relative to the two methods we describe next, the downside of this method is that it cannot be implemented in existing software since creation of a new distance metric requires internal modification of the PMM algorithm.

PMM-draw: randomly draw from final two donors

To make implementation easier in available software, we can instead weight the final donor selection after producing a donor from each imputation procedure separately. That is, if we use PMM with a model that ignores clustering and select donorIGN, and use PMM with fixed effects for clusters and select donorFE, then we can select one of these two donors for final imputation with corresponding probabilities wIGN and wFE. This is easily implemented in existing software by running the two imputation procedures separately, for each recipient generating a random draw, S, from a Bernoulli distribution with probability wIGN, then selecting donorIGN if S=1, and selecting donorFE otherwise. This method, which we call PMM-draw, is equivalent to selecting a donor from a combined pool of 2K donors (K from each predictive mean model), where the weight for each donor is either \(\frac {1}{K}w_{\texttt {IGN}}\) or \(\frac {1}{K}w_{\texttt {FE}}\).

PMM-avg: impute weighted average from final two donors

Our third proposed procedure, which we call PMM-avg, combines the observed values of the final donors produced by each imputation procedure. Let yIGN represent the observed value from donorIGN and yFE represent the observed value from donorFE. We define the final imputed value as the weighted average of these two values; that is, \(\dot {y}=w_{\texttt {IGN}}y_{\texttt {IGN}} + w_{\texttt {FE}}y_{\texttt {FE}}\). As with the PMM-draw method, this procedure can be readily implemented in existing software. One potential disadvantage, however, is the possibility of imputing values that are not observed or plausible (for example, with discrete data).

Simulation study

We conducted a two-part simulation study to evaluate the performance of the proposed PMM procedures (PMM-dist, PMM-draw, and PMM-avg) relative to six existing methods for multiple imputation of CRT data that are available in current software. The six existing methods were split between fully parametric procedures (NORM-IGN, NORM-FE, and NORM-RE) and PMM procedures (PMM-IGN, PMM-FE, and PMM-RE). As before, IGN indicates an imputation or predictive mean model that ignores clustering; FE indicates a model that uses fixed effects for clusters; and RE indicates a model that uses random effects for clusters.

We generated continuous outcomes for k clusters of equal size m for each of two study conditions using the three models below:

$${\begin{aligned} \text{ Model 1a:} y_{ijl} &=\beta_{0}+\beta_{1}\texttt{Trt}_{l}+b_{jl}+e_{ijl}\\ \text{ Model 1b:} y_{ijl} &=\beta_{0}+\beta_{1}\texttt{Trt}_{l}+ \beta_{2} x_{ijl} + b_{jl}+e_{ijl}\\ \text{ Model 2:} y_{ijl} &=\beta_{0} +\beta_{1}\texttt{Trt}_{l}+\beta_{2}x_{ijl}+\beta_{3}{x^{2}_{ijl}}+b_{jl}+e_{ijl} \end{aligned}} $$

where Trtl was the treatment group indicator and xijl was a continuous covariate.

In the first part of the simulation, Models 1a and 1b were used to establish how well the proposed PMM procedures for CRTs performed in ideal circumstances for multiple imputation; that is, the data were MCAR, and imputation models for data generated from Model 1a correctly included only the treatment group indicator as a covariate effect while imputation procedures for Model 1b correctly included both the treatment group indicator and the continuous covariate. In the second part of the simulation, Model 2 was used to examine how robust each procedure was to misspecification of the mean structure in the imputation models. Here, imputation models incorporated only the treatment effect and a linear effect of xijl, ignoring the squared term.

To simplify exposition and without loss of generality, we set β0=β1=0 for all models. We fixed the total variance at σ2=16 across simulations, with the cluster-specific intercepts generated as bjlN(0, ρσ2) and the residual errors generated as eijlN(0, (1−ρ)σ2). The continuous covariate xijl in Models 1b and 2 was generated as xijlN(1, 1) and remained fixed for all simulations. For Model 1b, we set β2=3. For Model 2, following [14], we set β2=0 and β3=3.33. This corresponds to a strong association between xijl and yijl (R2≈0.8).

We considered (k,m)=(4,400), (10, 8), (10, 40), (20, 8), (20, 40), (40, 8), (40, 40), (100, 4), which reflect typical study sizes from a variety of CRT designs, including community-based trials, small psychotherapy trials, site-randomized trials, and family-based trials. To reflect the typical range of ICCs in CRTs, we simulated data with ρ=0.01, 0.03, 0.08, 0.15.

We generated missing data completely at random (MCAR) with response rates of π = 0.60, 0.85. For Model 2 only, we additionally generated missing data at random (MAR) using a logistic regression model with the coefficient of the covariate xijl chosen such that subjects with smaller values of x were more likely to have observed outcomes. The strength of the association between xijl and P(Rijl=1) was defined as either weak (log odds ratio of −1.25) or strong (log odds ratio of −2.5). The intercept in the logistic regression model was chosen so as to produce the desired response rate. Because the imputation procedures under Model 1 correctly included all data-generating covariate effects, there was no need to additionally evaluate the imputation procedures under an MAR missing data mechanism.

Data were imputed D=50 times for all nine imputation procedures. For all PMM procedures, we produced pools of K=5 donors that were matched to recipients based on Type 1 matching, where predicted means for donors are based on the maximum likelihood estimates from the regression models, but predicted means for recipients are based on draws of their posterior predicted means [14]. After imputation, we estimated the treatment group means for Models 1a and 2, and only the regression coefficient β2 for Model 1b. We used Rubin’s Rules to pool the imputed estimates and then tested whether the MI estimate was different from zero using the t test with small sample degrees of freedom as described earlier.

We repeated this process 1000 times for each of the nine imputation procedures, and evaluated the performance of each procedure based on (1) bias in estimation of the treatment group mean or the coefficient of the continuous covariate, (2) magnitude of the empirical variance, (3) relative percent error in the pooled standard error after multiple imputation, \(\sqrt {\hat V^{\text {MI}}}\) (or MI standard error), and (4) empirical coverage of 95% confidence intervals for the treatment group mean. Bias in estimation of the treatment group mean or the regression coefficient was calculated as the average of the 1000 mean estimates or coefficient estimates, denoted \(\bar \theta \), minus the true data-generating treatment group mean or regression coefficient. The relative percent error in the pooled standard error (SE) was calculated as \(100\left (\frac { \widehat {\text {SE}}^{\text {MI}} }{ \widehat {\text {empSE}}} - 1 \right)\), where \(\widehat {\text {SE}}^{MI} = \sqrt { \frac {1}{1000} \sum _{I=1}^{1000} \hat V_{I}^{\text {MI}} }\) and \(\widehat {\text {empSE}} = \sqrt { \frac {1}{1000-1} \sum _{I=1}^{1000} \left (\hat \theta _{I}^{\text {MI}} - \bar {\theta } \right)^{2} }\) [22]. Results are presented with their corresponding Monte Carlo 95% confidence intervals (see [22] for specific formulas).

Results

Simulation study

Results from the simulation study are described only for the data generated with a response rate of 60%. When the response rate was 85%, the direction of any observed biases was the same, but the magnitude of any biases was typically smaller. Where the magnitude of the ICC had an impact, only ρ=0.03 versus ρ=0.08 are shown for contrast. Increasing the size of the study generally improved estimation, with increases in cluster size showing a greater effect than increases in number of clusters. Results are therefore shown for only four of the eight sample sizes considered: (k,m) = (100,4), (20,8), (20,40), (4,400). Complete results are available from the authors upon request.

Model 1a: estimation of treatment group mean with correctly specified mean model

When data were MCAR and the models used for imputation included the appropriate data-generating covariate effects, estimation of the treatment group mean after multiple imputation was unbiased for all MI procedures, regardless of the response rate (not shown).

Although PMM methods yielded slightly smaller estimates of the empirical variance relative to parametric methods, there were no meaningful differences in efficiency across imputation methods with the exception of the PMM-RE approach, which was less efficient than all other methods in this setting (Supplemental Figure 1).

Figure 1 shows the relative percent error in the MI standard error of the treatment group mean. As expected and as previously shown, ignoring clustering in the imputation procedure generally underestimated the empirical standard error, and the bias was worse for larger ICCs, larger cluster sizes, and higher rates of missing data. Modeling clusters as fixed effects, on the other hand, generally overestimated the empirical standard error, more so for smaller ICCs, smaller cluster sizes, and higher rates of missing data. We observed this same pattern of biases in the results from the PMM-RE and PMM-dist procedures, although they both offered some improvement over the PMM-FE and NORM-FE procedures. Among all methods considered, the newly proposed PMM-draw procedure was the only one to produce unbiased estimates of the empirical standard error in all scenarios. The PMM-avg procedure performed similarly, with some underestimation of the variance when there was a higher rate of missing data.

Fig. 1
figure 1

Relative percent error in the MI standard error of the treatment group mean after MI with a correctly specified imputation model. Missing data were generated completely at random (MCAR) at a rate of 15% or 40% (π=0.85 in red or π=0.60 in green, respectively). From top to bottom, results are presented in increasing order of cluster sizes m within an increasing order of number of clusters k. From left to right, results are presented in increasing order of the intracluster correlation coefficient (ICC, ρ). Filled circles indicate PMM methods while open circles indicate parametric (NORM) methods

Coverage rates for 95% confidence intervals for the treatment group mean are shown in Tables 1 and 2 and correspond with the relative percent error in the MI standard error: methods where the MI standard error overestimated the empirical SE resulted in overcoverage of the 95% CIs, whereas methods where the empirical SE was underestimated resulted in undercoverage.

Table 1 Empirical coverage of 95% confidence intervals for the treatment group mean after multiple imputation by PMM
Table 2 Empirical coverage of 95% confidence intervals for the treatment group mean after parametric multiple imputation

Model 1b: estimation of regression coefficient with correctly specified mean model

When we moved from estimation of the treatment group mean to estimation of the regression coefficient for the continuous covariate, an unexpected pattern emerged. Figure 2 shows that the parametric procedures produced unbiased estimates of β2 across all scenarios, but the PMM procedures tended to underestimate the true data-generating value of β2, which was mitigated by increasing the cluster size or number of clusters. Further investigation revealed that this general underestimation of β2 with the PMM procedures was complemented by a general overestimation of β0 to the same degree (Supplemental Figure 2), while all methods still produced unbiased estimates of β1 (not shown). Although this bias was negligible when the rate of missing data was low (within 0.5% of the true value), the magnitude of the bias was two to 10 times larger when the rate of missing data was higher.

Fig. 2
figure 2

Bias in estimation of β2 after MI with a correctly specified imputation model. Missing data were generated completely at random (MCAR) at a rate of 15% or 40% (π=0.85 in red or π=0.60 in green, respectively). From top to bottom, results are presented in increasing order of cluster sizes m within an increasing order of number of clusters k. Filled circles indicate PMM methods while open circles indicate parametric (NORM) methods

As with estimation of the treatment group mean, we saw no meaningful difference in efficiency across methods, this time with the exception of the imputation methods based on fixed effects models. When the rate of missing data was higher, the PMM-FE and NORM-FE procedures yielded relatively higher estimates of the empirical variance (Supplemental Figure 3).

Figure 3 shows the relative percent error in the MI standard error of β2. Despite the bias in estimation of β2, all methods except the PMM-avg procedure produced unbiased estimates of its empirical standard error when the rate of missing data was low. The PMM-avg procedure generally underestimated the empirical standard error of β2, and all other PMM procedures tended to underestimate the empirical standard error when the rate of missing data was higher and the cluster size was smaller (m≤8). In contrast, patterns of bias in the standard errors of the other two regression coefficients matched those of the standard error of the treatment group mean (see Supplemental Figure 4), but the magnitudes of the bias in the standard errors of the coefficients were much greater.

Fig. 3
figure 3

Relative percent error in the MI standard error of β2 after MI with a correctly specified imputation model. Missing data were generated completely at random (MCAR) at a rate of 15% or 40% (π=0.85 in red or π=0.60 in green, respectively). From top to bottom, results are presented in increasing order of cluster sizes m within an increasing order of number of clusters k. Filled circles indicate PMM methods while open circles indicate parametric (NORM) methods

Coverage rates for 95% confidence intervals for β2 under a correctly specified imputation model are shown in Tables 3 and 4. As before, the patterns of under- and overcoverage correspond with the relative percent error in the MI standard error in each scenario.

Table 3 Empirical coverage of 95% confidence intervals for β2 after multiple imputation by PMM
Table 4 Empirical coverage of 95% confidence intervals for β2 after parametric multiple imputation

Given the poor performance of the PMM procedures in estimating β2, we did not further investigate covariate effect estimation under a misspecified imputation model.

Model 2: estimation of treatment group mean with misspecified mean model

In estimating the treatment group mean and its variance, the PMM procedures showed small improvements over parametric methods under MCAR when the imputation model was correctly specified. When the imputation model covariate effects were misspecified (missing the squared term in the model), we saw greater disparities among methods.

Figure 4 shows the bias in the estimates of the treatment group mean after multiple imputation with a misspecified imputation model. When the data were MCAR, most methods produced little or no bias in the estimates of the treatment group mean, and parametric methods performed better than PMM methods. Under MAR, all methods underestimated the treatment group mean, and this bias was worse under strong MAR. However, the PMM procedures greatly outperformed the parametric procedures under MAR, cutting the bias by more than half in most cases.

Fig. 4
figure 4

Bias in the treatment group mean estimate after MI with a misspecified imputation model. Missing data were generated completely at random (MCAR in red) or at random (weak MAR in green or strong MAR in blue) at a rate of 40%. From top to bottom, results are presented in increasing order of cluster sizes m within an increasing order of number of clusters k. Filled circles indicate PMM methods while open circles indicate parametric (NORM) methods

Performance of these methods appeared to flip when estimating the empirical variance of the treatment group mean. Under MCAR, the PMM methods were noticeably more efficient than the parametric imputation methods in most cases, but the parametric methods were considerably more efficient under MAR, especially under strong MAR (Supplemental Figure 6).

The relative percent error in the MI standard error is shown in Fig. 5. Under MCAR, the parametric procedures showed greater bias in estimation of the empirical standard error than the PMM procedures. As before, the empirical standard error was generally underestimated for imputation methods that ignored clustering and overestimated for imputation methods that used fixed effects for clusters. Bias in estimation of the empirical standard error was generally worse under weak MAR compared to strong MAR.

Fig. 5
figure 5

Relative percent error in the MI standard error of the treatment group mean after MI with a misspecified imputation model. Missing data were generated completely at random (MCAR in red) or at random (weak MAR in green or strong MAR in blue) at a rate of 40%. From top to bottom, results are presented in increasing order of cluster sizes m within an increasing order of number of clusters k. Filled circles indicate PMM methods while open circles indicate parametric (NORM) methods

Due to the severe underestimation of the treatment group means in most cases, we did not consider coverage of the corresponding 95% confidence intervals.

Data example: work family and health study

We illustrate our proposed imputation methods using data from a Fortune 500 company that participated in the Work, Family, and Health Study (WFHS; [21]), a multisite cluster-randomized trial designed to evaluate the impact of a workplace intervention on employees’ conflict spillover from work to family or family to work, risk of cardiovascular disease, sleep patterns, and psychological distress. The WFHS included 56 groups of employees ranging in size from 3 to 42 employees per group (median group size of 12 and mean of about 14), where all employees in a group reported to the same leadership. Twenty-seven study groups were assigned to the workplace intervention, while the remaining 29 groups continued business as usual.

We reanalyzed data from a study reporting results after six months of followup, focusing on the measure of control over work hours (CWH) since it had the greatest difference between treatment groups (employees in the intervention reported more control over their work hours) [23]. The study began with 799 participants who completed the baseline CWH survey, but only 694 provided data for the 6-month followup, meaning 13% of the participants were excluded from the available case analysis reported in [23]. The authors modeled baseline and follow-up data with random effects models using random cluster- and subject-specific intercepts as well as random slopes for the time effect [4, 23]. In addition to time (baseline, follow-up), the intervention indicator, and their interaction, the model also included two factors used as part of the randomization scheme: core job function (software developers vs. not) and cluster size. To simplify the analysis and align it with our simulation study, we fit a random effects model predicting CWH at 6 months post-intervention with random cluster-specific intercepts. Baseline CWH, treatment group, core job function, and cluster size were included as covariate effects.

Using the ANOVA method on the available cases, the estimate of the ICC for CWH at 6 months was \(\hat \rho =0.14\). Given this moderate-to-large ICC and the moderate cluster sizes, we expect the newly proposed PMM procedures—and the PMM-draw procedure in particular—to produce fairly consistent estimates across analyses, and these variance estimates should be closer to the truth than those produced from the established imputation procedures.

We first fit our model with an available case analysis to coincide with the approach described in [23]. Though not directly comparable due to the difference in models, results from the available case analysis under our fitted model were similar to the results from the model fit in the original analysis in terms of direction and significance of effects [23]. Specifically, neither core job function nor cluster size were significant at the 0.05 level, but there was a significant effect of the workplace intervention (\(\hat \beta = 0.19, p = < 0.001\); Table 5).

Table 5 Available case analysis of the Work, Family, and Health Study (WFHS) data

We compared these results to analyses after multiple imputation of the data using the nine MI methods considered in our simulation study. Twenty imputations were used for each method. The imputation models included all covariate effects that were used in the analysis model, five additional covariates that were associated with CWH (job authority, time adequacy, work-to-family conflict spillover, supervisor supportive behaviors, and burnout), and two variables associated with the likelihood of missing CWH at six months (job demands and psychological distress). Consistent with the results of our simulation study, estimates of the intervention effect were similar for all imputation methods (range: 0.188−0.206; Table 6). As expected based on our analytical results, the standard errors after multiple imputation were smallest in methods that ignored clustering and largest in fixed effects methods. The standard errors were also comparable among the three newly proposed procedures, with estimates of 0.048, 0.049, and 0.050 for the PMM-avg, PMM-draw, and PMM-dist procedure, respectively. Importantly, our conclusion about the intervention effect remained the same across all imputation methods: the WFHS intervention significantly increased perceived control over work hours, with a p-value <.001 (Table 6).

Table 6 Results after correctly-specified multiple imputation of the CWH outcome in the WFHS

As a further check of robustness, we analyzed the data again with only the intervention indicator as a covariate effect in the imputation models (see Table 7). In this case, the estimates of the intervention effect all decreased while the standard errors after multiple imputation all increased. The standard errors after multiple imputation remained smallest in methods that ignored clustering and largest in methods that used fixed effects for clusters, and there were smaller disparities between the three newly proposed procedures relative to the established methods. Again, these results are consistent with the biases we saw in the second part of our simulation study.

Table 7 Results after misspecified multiple imputation of the CWH outcome in the WFHS

Discussion

Our goal was to develop a new PMM procedure that could handle missing data from a two-level cluster-randomized trial and would be robust to misspecification of the imputation model. We showed that, relative to the PMM-RE procedure and most other imputation methods that have been used for multilevel multiple imputation, our three newly proposed procedures generally improved estimation of the variance of the treatment group mean when the data were missing completely at random. Parametric procedures actually produced better estimates of the variance of the treatment group mean when the data were missing at random and the imputation model was misspecified, but did so at the cost of greater bias in estimation of the treatment group mean relative to the predictive mean matching procedures.

Among the newly proposed PMM procedures, we are particularly fond of the PMM-draw method. It outperformed all other methods when the imputation model was correctly specified, producing unbiased estimates of the treatment group mean and its variance and maintaining nominal coverage of 95% confidence intervals of the treatment group mean. Keeping in mind the bias-variance tradeoff issues mentioned earlier, the three newly proposed procedures outperformed all other procedures when the imputation model was misspecified. Although the three procedures performed similarly in this setting, the PMM-draw procedure is still recommended over the other two since it can be readily implemented in available software and, like traditional PMM procedures, only imputes plausible values.

Performance of the PMM procedures in estimating regression coefficients in the linear model varied widely depending on the coefficient and the rate of missing data. Although the bias in the estimates of the intercept and continuous covariate effect was minimal for the PMM procedures, we would recommend using the parametric NORM-RE procedure in particular when estimating regression coefficients from a linear model.

This work was limited to estimation of treatment group means and linear regression coefficients when only the outcome was missing and all covariates were fully observed. Future work should investigate these procedures when covariates are not fully observed or when multiple variables are subject to missing data. It is also important to evaluate these procedures in other settings, such as estimation of logistic regression coefficients. Another limitation of this work is the focus on Normally distributed errors when the Normality assumption is often violated in real applications. He and Raghunathan [24] investigated the performance of multiple imputation procedures that assumed Normality in the presence of skewed data, including parametric imputation and predictive mean matching procedures. They showed that the MI procedures performed well when estimating the mean but could perform poorly when estimating regression coefficients if the underlying distribution was strongly skewed. We expect similar results to hold in the context of cluster randomized trials and with our newly proposed PMM procedures, but future work should investigate these procedures in this setting.

Conclusion

While our new methods offer an improvement over established methods in estimating the variance, there is still some bias in the variance estimation when data are missing at random and the predictive mean model is misspecified. When estimating the weights for these methods, we used naïve estimates of the bias in the variance that assumed there were no covariates in the data set and that the data were missing completely at random. Additionally, our weights were derived assuming a balanced design (equal number of clusters in each treatment group, and equal number of subjects in each cluster). If an improved estimator can be derived to allow for more relaxed assumptions, we may see further improvement in multiply imputed parameter estimates from these methods.

Availability of data and materials

The datasets generated and analyzed for this study are available from the corresponding author upon request.

Abbreviations

CRT:

cluster-randomized trial

distributions; FE:

fixed effects for clusters

ICC:

intracluster correlation coefficient

IGN:

ignoring clusters

MAR:

missing at random

MCAR:

missing completely at random

MI:

multiple imputation

MNAR:

missing not at random

NORM:

indicates a parametric multiple imputation procedure that relies on the assumption of Normality of the error PMM-avg: predictive mean matching via a weighted average of results from the PMM-FE and PMM-IGN procedures

PMM-dist:

predictive mean matching with a weighted distance metric

PMM-draw:

predictive mean matching via a weighted draw of results from the PMM-FE and PMM-IGN procedures

PMM:

predictive mean matching

RE:

random effects for clusters

SE:

standard error

WFHS:

Work, Family, and Health Study

References

  1. Taljaard M, Donner A, Klar N. Imputation strategies for missing continuous outcomes in cluster randomized trials. Biom J. 2008; 50(3):329–45.

    Article  Google Scholar 

  2. Little RJA, Rubin DB. Statistical Analysis with Missing Data, 2nd edn.Hoboken: Wiley; 2002.

    Book  Google Scholar 

  3. Rubin DB, Schenker N. Multiple imputation for interval estimation from simple random samples with ignorable nonresponse. J Am Stat Assoc. 1986; 81(394):366–74.

    Article  Google Scholar 

  4. Murray DM. Design and Analysis of Group-randomized Trials. New York: Oxford University Press; 1998.

    Google Scholar 

  5. Barnard J, Rubin DB. Small-sample degrees of freedom with multiple imputation. Biometrika. 1999; 86(4):948–55.

    Article  Google Scholar 

  6. Meng X-L. Multiple-imputation inferences with uncongenial sources of input. Stat Sci. 1994; 8(4):538–73.

    Article  Google Scholar 

  7. Andridge RR. Quantifying the impact of fixed effects modeling of clusters in multiple imputation for cluster randomized trials. Biom J. 2011; 53(1):57–74.

    Article  Google Scholar 

  8. McNeish D, Stapleton LM. Modeling clustered data with very few clusters. Multivar Behav Res. 2016; 51(4):495–518.

    Article  Google Scholar 

  9. Leyrat C, Morgan KE, Leurent B, Kahan BC. Cluster randomized trials with a small number of clusters: Which analyses should be used?. Int J Epidemiol. 2018; 47(1):321–31.

    Article  Google Scholar 

  10. Crean HF, Johnson DB. Promoting alternative thinking strategies (PATHS) and elementary school aged children’s aggression: Results from a cluster randomized trial. Am J Community Psychol. 2013; 52(1-2):56–72.

    Article  Google Scholar 

  11. Brown EC, Graham JW, Hawkins JD, Arthur MW, Baldwin MM, Oesterle S, Briney JS, Catalano RF, Abbott RD. Design and analysis of the community youth development study longitudinal cohort sample. Eval Rev. 2009; 33(4):311–34.

    Article  Google Scholar 

  12. Clark NM, Shah S, Dodge JA, Thomas LJ, Andridge RR, Little RJA. An evaluation of asthma interventions for preteen students. J Sch Health. 2010; 80(2):80–7.

    Article  Google Scholar 

  13. Sutherland RL, Campbell EM, Lubans DR, Morgan PJ, Nathan NK, Wolfenden L, Okely AD, Gillham KE, Hollis JL, Oldmeadow CJ, Williams AJ, Davies LJ, Wiese JS, Bisquera A, Wiggers JH. The physical activity 4 everyone cluster randomized trial. Am J Prev Med. 2016; 51(2):195–205.

    Article  Google Scholar 

  14. Morris TP, White IR, Royston P. Tuning multiple imputation by predictive mean matching and local residual draws. BMC Med Res Methodol. 2014; 14(75).

  15. Heitjan DF, Little RJA. Multiple imputation for the fatal accident reporting system. J R Stat Soc Ser C Appl Stat. 1991; 40(1):13–29.

    Google Scholar 

  16. Schenker N, Taylor JMG. Partially parametric techniques for multiple imputation. Comput Stat Data Anal. 1996; 22(4):425–46.

    Article  Google Scholar 

  17. Siddique J., Belin T. R.Multiple imputation using an interative hot-deck with distance-based donor selection. Stat Med. 2008; 27:83–102.

    Article  Google Scholar 

  18. Gelman A, Carlin JB, Stern HS, Dunson DB, Vehtari A, Rubin DB. Bayesian Data Analysis. Boca Raton: Chapman and Hall/CRC; 2013.

    Book  Google Scholar 

  19. Robitzsch A, Grund S, Henke T. miceadds: Some additional multiple imputation functions, especially for mice. 2019. R package version 3.3-33. https://CRAN.R-project.org/package=miceadds.

  20. Vink G, Lazendic G, van Buuren S. Partitioned predictive mean matching as a multilevel imputation technique. Psychol Test Assess Model. 2015; 57(4):577–94.

    Google Scholar 

  21. Work Family and Health Network. Work, family, and health study (WFHS). Ann Arbor: Inter-university Consortium for Political and Social Research (ICPSR) [distributor]; 2015. https://doi.org/10.3886/ICPSR36158.v1.

    Google Scholar 

  22. Morris TP, White IR, Crowther MJ. Using simulation studies to evaluate statistical methods. Stat Med. 2019; 38(11):2074–102.

    Article  Google Scholar 

  23. Kelly EL, Moen P, Oakes JM, Fan W, Okechukwu C, Davis KD, Hammer LB, Kossek EE, King RB, Hanson GC, Mierzwa F, Casper LM. Changing work and work-family conflict: Evidence from the work, family, and health network. Am Sociol Rev. 2014; 79(3):485–516.

    Article  Google Scholar 

  24. He Y, Raghunathan TE. On the performance of sequential regression multiple imputation methods with non normal error distributions. Commun Stat Simul Comput. 2009; 38(4):856–83.

    Article  Google Scholar 

Download references

Acknowledgements

Not applicable.

Funding

Research reported in this paper was supported in part by the National Cancer Institute of the National Institutes of Health through a Research Supplement to Promote Diversity in Health-Related Research under grant number R01CA186720. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health.

Author information

Authors and Affiliations

Authors

Contributions

BEB developed the research presented here, conducted the simulation study, and drafted the manuscript. RA and ABS contributed to the design of the study and made substantial revisions to the manuscript. All authors edited and approved the final manuscript.

Corresponding author

Correspondence to Brittney E. Bailey.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

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

Supplementary information

Additional file 1

The appendix contains the derivation of the formula for the bias in the variance of the treatment group mean after multiple imputation of missing CRT data using an imputation model that ignores clustering.

Additional file 2

The supplement contains additional figures and tables that were not necessary for the manuscript but may be useful references for the reader.

Rights and permissions

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bailey, B.E., Andridge, R. & Shoben, A.B. Multiple imputation by predictive mean matching in cluster-randomized trials. BMC Med Res Methodol 20, 72 (2020). https://doi.org/10.1186/s12874-020-00948-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12874-020-00948-6

Keywords