- Research article
- Open Access
- Open Peer Review
Methods for calculating confidence and credible intervals for the residual between-study variance in random effects meta-regression models
© Jackson et al.; licensee BioMed Central Ltd. 2014
- Received: 25 April 2014
- Accepted: 28 August 2014
- Published: 6 September 2014
Meta-regression is becoming increasingly used to model study level covariate effects. However this type of statistical analysis presents many difficulties and challenges. Here two methods for calculating confidence intervals for the magnitude of the residual between-study variance in random effects meta-regression models are developed. A further suggestion for calculating credible intervals using informative prior distributions for the residual between-study variance is presented.
Two recently proposed and, under the assumptions of the random effects model, exact methods for constructing confidence intervals for the between-study variance in random effects meta-analyses are extended to the meta-regression setting. The use of Generalised Cochran heterogeneity statistics is extended to the meta-regression setting and a Newton-Raphson procedure is developed to implement the Q profile method for meta-analysis and meta-regression. WinBUGS is used to implement informative priors for the residual between-study variance in the context of Bayesian meta-regressions.
Results are obtained for two contrasting examples, where the first example involves a binary covariate and the second involves a continuous covariate. Intervals for the residual between-study variance are wide for both examples.
Statistical methods, and R computer software, are available to compute exact confidence intervals for the residual between-study variance under the random effects model for meta-regression. These frequentist methods are almost as easily implemented as their established counterparts for meta-analysis. Bayesian meta-regressions are also easily performed by analysts who are comfortable using WinBUGS. Estimates of the residual between-study variance in random effects meta-regressions should be routinely reported and accompanied by some measure of their uncertainty. Confidence and/or credible intervals are well-suited to this purpose.
- Informative priors
- Quadratic forms
Meta-analysis is well established in medical statistics and meta-regression models [1–3] are becoming increasingly popular . Here, study level covariates, sometimes referred to as moderator variables, are included in the model. A fixed effect meta-regression model, where the residual between-study variance is taken to be zero, results from the assumption that these covariates explain all between-study heterogeneity. Under this strong assumption, exact inference for the covariate effects is straightforward. This analysis can be performed using output from fitting standard weighted linear regression models, whilst ensuring that the reported standard errors are adjusted, as explained by Sharp and Thompson .
This fixed effect assumption is however generally implausible, because in most applications we anticipate the existence of residual between-study heterogeneity (i.e. between-study heterogeneity that is not explained by the covariates). Hence, the use of random effects meta-regression models (also called mixed-effects meta-regression models) is typically recommended . This model collapses to a fixed effect meta-regression only if the estimated residual between-study variance is zero. The standard approach for making inferences about the covariate effects using the random effects meta-regression model involves initially estimating the residual between-study variance and then treating this estimate as the true value, but a refined method has also been suggested . This standard approach results in straightforward inference for the covariate effects , but the resulting inferences are approximate and reasonably large numbers of studies are needed for this approach to provide accurate inference . Furthermore, meta-regression models are subject to further statistical issues and limitations .
The covariate effect parameters from a random effects meta-regression are usually of primary interest but the residual between-study variance is also of interest. This is because its magnitude describes the extent of the unexplained variation in the studies’ results. However, the uncertainty in the estimated between-study variance in random effects meta-analyses is usually considerable [7, 8] and this can also be expected to be the case in meta-regression models unless very many studies contribute to the analysis. Hence interpreting point estimates of the residual between-study variance without any regard to their uncertainty, which is quite common practice, could be misleading.
The main contributions of this paper are to show that two recently proposed exact frequentist methods for random effects meta-analysis (generalised Q statistics and the Q profile method [8, 9]) may be extended to meta-regression models, and to suggest how informative distributions for the between-study variance in Bayesian random effects meta-analysis  can also be used in the meta-regression setting. Our hope is that meta-analysts will consider using these methods to perform interval estimation for the residual between-study variance in their random effects meta-regressions and that they will find these intervals to be a useful aid to inference. However it is important to recognise that the two frequentist methods are only exact under the random effects meta-regression model. Hence the exactness of the confidence intervals for both examples below is brought into question, because the random effects model only provides an approximation for real data such as these. Some may therefore describe our confidence intervals as ‘non-approximate’ or ‘small sample’ confidence intervals, in order to avoid any connotations of the word ‘exact’.
Although the proposed extension of the Q profile method for meta-regression has previously been described, Viechtbauer’s account  does not provide proof that this procedure is guaranteed to produce a confidence interval (instead of a confidence set that need not be an interval). Furthermore, the proof of the result that ensures this by Panityakul et al.  involves quite sophisticated matrix theorems and calculations. In this paper we explain why both the proposed frequentist methods provide confidence intervals for the residual between-study variance. We also provide an alternative and, in our opinion, more elementary proof of the result given by Panityakul et al. As we explain below, our proof provides an easily computed derivative that can be used in a Newton-Raphson procedure for implementing the Q profile method in practice. To our knowledge, the two frequentist methods proposed in this paper are the only methods currently available that provide confidence intervals for the residual variance with exactly the nominal coverage probability under the random effects model for meta-regression. However, alternative, but approximate, methods for obtaining confidence intervals are also available in the meta-analysis setting  that could also be extended to meta-regression.
The random effects model for meta-regression
where Y is a column vector containing the Y i , X is the n×p design matrix (sometimes referred to as the model matrix) whose ith row is x i , (i.e. Δ is the diagonal matrix containing the ) and I is the n×n identity matrix. We will also define and make frequent use of Σ=Δ+τ 2 I. Although we use the conventional regression terminology of a ‘design matrix’ when referring to X, we agree with Thompson and Higgins  that meta-regressions have the same disadvantages as observational epidemiological investigations and that the covariates used in meta-regressions are rarely, if ever, chosen by design.
All the methods that follow are for performing interval estimation of τ 2 under the assumptions of the random effects model for meta-regression. This model makes a number of important assumptions, such as normal distributions, independent outcomes, fixed and known within study distributions and linear covariate effects. Assumptions such as these are usually approximations in practice. Hence the extent to which model (1) is an approximation should be taken into account when interpreting the intervals for τ 2 below. Alternative types of inference for the residual between-study variance parameter, such as testing for the presence of unexplained between-study heterogeneity and measuring its impact, can be obtained from the intervals presented in this paper. We return to these possibilities in the discussion.
In this section we develop two exact frequentist methods for computing confidence intervals for τ 2 and we also present our proposal for Bayesian meta-regressions using informative prior distributions for this parameter. By ‘exact’ we mean, under the random effects model for meta-regression (1), that these two frequentist methods provide confidence intervals with exactly the nominal coverage probability (subject to the way we interpret empty confidence intervals, see below). A disadvantage of these methods is that they are not based on sufficient statistics and so have not been shown to possess any optimality properties. We assume throughout that the design matrix is of full rank, so that all parameters are identifiable. In practice we suggest that, as a minimum, n=10 is needed to fit a meta-regression with a single covariate effect. Even larger n will be required in order to estimate the effect of multiple covariates in the same meta-regression model.
Generalised Cochran heterogeneity statistics for meta-regression
where and is the fitted value for the ith study from the fixed effects model, where τ 2=0. That is where and W=diag(w i )=Δ -1. Under the null hypothesis H 0:τ 2=0, Q follows a distribution and so may be used as a test statistic.
where the a i are arbitrary positive constants and is now , where and A=diag(a i ). If a i =w i for all i, or equivalently A=W, then Q a in equation (3) reduces to the usual heterogeneity statistic (2). We will develop the theory in terms of Q a and so include the conventional Q as a special case.
where B=A-A X(X t A X)-1 X t A.
where are mutually independent chi-squared random variables with 1 degree of freedom and λ 1(S)≥λ 2(S)≥⋯≥λ n (S) are the ordered eigenvalues of S. Because we take the covariates, the within-study variances and the a i as fixed constants, from (5) we have that the only unknown parameter that the distribution of Q a depends on is τ 2. The summation in (5) extends to n-p, rather than n, because p of the eigenvalues of S are zero. This is because S=Σ 1/2 A 1/2(I-H)A 1/2 Σ 1/2, where H is the hat matrix for the regression where the design matrix is A 1/2 X. Because A and Σ are diagonal, and because the eigenvalues of C D are those of D C when C and D are both square matrices , p 57, the eigenvalues of S are those of Σ 1/2 A 1/2(I-H)A 1/2 Σ 1/2 or equivalently those of (I-H)A Σ. Then, because (I-H) and A Σ are positive semi-definite symmetrical matrices, Theorem 8.12 from Zhang , p 274, implies that λ i (S)=λ i ((I-H)A Σ)≤λ i (I-H)λ 1(A Σ). λ 1(A Σ)>0 and, because Q a is non-negative, the eigenvalues of S are also non-negative; p eigenvalues of (I-H) are zero and hence so are p eigenvalues of S, as stated.
Obtaining confidence intervals numerically
The cumulative distribution function of Q a is decreasing in τ 2. This is because the eigenvalues of S are increasing in τ 2. This can be shown in a similar way to the meta-analysis setting as explained by Jackson . The eigenvalues of S are those of Σ 1/2 A 1/2(I-H)A 1/2 Σ 1/2 as noted above. Consider a larger between-study variance, so that Σ becomes Σ M and Σ 1/2 becomes Σ 1/2 M 1/2, where M is a diagonal matrix in which all diagonal entries and hence all eigenvalues are also greater than one. Then Theorem 8.12 from Zhang , p 274, implies that λ i (A 1/2 Σ 1/2 M 1/2 (I-H)A 1/2 Σ 1/2 M 1/2 )=λ i (A 1/2 Σ 1/2 (I-H)A 1/2 Σ 1/2 M)≥λ i ((A 1/2 Σ 1/2 (I-H)A 1/2 Σ 1/2 ))λ n (M), which means that the larger between-study variance has resulted in larger eigenvalues of S. Hence these eigenvalues are increasing in τ 2 as stated.
where q a is the observed value of Q a and the coverage probability is (1-α). As noted by Jackson , alternative values to α/2 are possible in (6) and (7), but we will use ‘equal tailed’ two-sided confidence intervals. If no satisfies (7) then we have two main choices. The first option is to follow Jackson  in providing an interval of [0,0] that increases the coverage probability by α/2 when τ 2=0 which is therefore conservative. The second option is to provide an empty set as suggested by Viechtbauer  in relation to the Q profile method below. Providing the empty set retains the nominal coverage probability for all τ 2 but means that the analyst is faced with the task of explaining why the empty set is appropriate to practitioners. We leave it to the reader to decide which convention they prefer. Since the empty set is itself an interval, either convention can be described as providing confidence intervals. A possible third convention, as discussed by Jackson , would be to refrain from giving a confidence interval in such instances and instead conclude that the interval is undefined. This statement would be accompanied with a conclusion like ‘the data appear to be highly homogenous’ or that ‘the interval estimation fails’.
Because the cumulative distribution function of Q a is decreasing in τ 2, we can easily perform numerical searches to obtain the confidence interval limits using Farebrother’s algorithm  to evaluate the distribution function of Q a implied by (5). Since, as in the Q profile method below, the confidence intervals are based upon an exact (under the assumptions of the model) distributional result, exact confidence intervals are obtained, subject to the [0,0] or empty set caveat discussed above. An R function is provided in the Additional files 1, 2 and 3 that produces confidence intervals using this method, where empty confidence sets are given as [0,0]. This function has now been implemented in the metafor package and code for use with this package is also provided in the Additional files 1, 2 and 3.
Choosing the ‘weights’
One issue when using this procedure is that it involves choosing a set of ‘weights’ a i . Jackson  discusses possible approaches for this. In the absence of information about the likely magnitude of the between-study variance, Jackson  suggested using a i =1/σ i but practitioners may prefer to use the conventional fixed effects weights because these may be more familiar. An investigation into the optimal choice of weights, as undertaken in a simulation study by Jackson , could provide suitable further work but similar results to those in the meta-analysis (no covariates) scenario may reasonably be anticipated: that is, weights that reflect the magnitude of the true residual heterogeneity (equal to the reciprocal of the true total variances) can be expected to perform well.
Moments of generalised Cochran heterogeneity statistics
The above method of computing confidence intervals using generalised Cochran heterogeneity statistics requires the use of Farebrother’s algorithm and iterative methods to find the bounds of the confidence interval. In this section we show how to use the moments of generalised Cochran heterogeneity statistics to produce a point estimate of the residual between-study variance and a much simpler method for quantifying the uncertainty in this point estimate. The point estimate of τ 2 proposed in this section is a natural estimate to accompany the confidence interval obtained using a generalised Cochran heterogeneity statistic.
where tr (·) denotes the trace of a matrix. Alternatively, E(Q a ) can be evaluated numerically as .
This formula reduces to equation (7) from Biggerstaff and Tweedie  for meta-analyses and the standard weights if a i =w i . Alternatively, Var(Q a ) can be obtained as . Together (10) and (11), after taking the square root, provide the standard error and hence a measure of the uncertainty in the ‘untruncated’ estimate . However, the distribution of Q a , and hence the distribution of , is usually very skewed in typical meta-analytic datasets with few studies. Hence using a normal approximation for these statistics is generally inadequate. For this reason we do not propose that confidence intervals are obtained using , its standard error and a normal approximation, but the standard error of could still be used to give an indication of the uncertainty in this point estimate by those who do not have access to Farebrothers’ algorithm and/or iterative methods. When , a normal approximation on the log scale might be expected to perform better because a log transformation would counteract the skewness of Q a but the resulting confidence interval could then not include zero.
Using weights equal to the reciprocal of the estimated total variances
Methods for estimating τ 2 have been suggested above and it is tempting to consider using weights , where is some estimate of τ 2. Jackson  found that this idea performed well in random effects meta-analyses using the DerSimonian and Laird  estimator. Weights of this form reflect the variation in the sample of study estimates, and can be expected to provide precise estimation (and so shorter confidence intervals). These weights mean that the conventional weights for making inferences about the overall effect are also used for making inferences about the residual between-study variance. However this choice of weights invalidates the theory because the weights are now random variables and are no longer fixed constants. Jackson  found that this problem was of little practical consequence in the context of meta-analysis and this idea warrants further investigation in both the meta-analysis and meta-regression scenarios.
The Q profile method for meta-regression
The Q profile method for meta-analysis has recently been proposed [9, 20, 21]. Viechtbauer  and Panityakul et al.  subsequently explained how to extend this method to meta-regression models in the way we also describe below. This method is based on the Q profile statistic given in equation (12) below and is not based on the profile likelihood. The Q profile method has been implemented in the R package metafor for both meta-analyses and meta-regressions. In this paper we show that the method proposed by Viechtbauer  and Panityakul et al.  for meta-regression is guaranteed to provide confidence intervals, that is, confidence sets that are not intervals are never produced. Viechtbauer  implicitly assumes that this is the case. The previous proof  that the function Q(τ 2) below is decreasing in τ 2 is sophisticated, so the main contribution of this paper concerning this particular method is to prove this result in a simpler and more direct way. We do this in a similar way to Knapp et al., who prove this result in the simpler setting of the random effects model for meta-analysis (no covariates).
In order to describe the Q profile method for meta-regression, we define as the fitted value of Y i from the true meta-regression model. This means that , where .
where we use (12) as a pivot to test the null hypothesis that the true value of the residual between-study variance is equal to τ 2. If , where and denote the α/2 and 1-α/2 quantiles of the distribution respectively, then we accept (or fail to reject) the null hypothesis that the true residual between-study variance is equal to τ 2 using a significance level of α. Otherwise, we reject this hypothesis.
The confidence set for the residual between-study variance, with (1-α) coverage probability, is again obtained by test inversion. The confidence set for τ 2 contains all the values of τ 2 that are accepted by the hypothesis test resulting from (12).
Ensuring that confidence intervals are obtained
which means that Q(τ 2) is decreasing in τ 2. This is a generalisation of the result provided in Appendix 2 of Hartung and Knapp , that Knapp et al. refer to when establishing that the Q profile method for meta-analysis is guaranteed to provide confidence intervals. The form of the derivative in (13) is considerably more straightforward than the expression previously given .
Obtaining confidence intervals numerically
From (13) we have that Q(τ 2) is decreasing in τ 2. If then no τ 2 satisfies , and an empty confidence set is obtained. This occurs when the data appear to be highly homogenous, and we can either follow Knapp et al. and Jackson  by interpreting these empty sets as providing confidence intervals of [0,0], or Viechtbauer  and report the empty confidence set. As for the confidence intervals obtained using generalised Cochran heterogeneity statistics described above, providing the interval [0,0] increases the coverage probability by α/2 when τ 2=0 but this avoids the difficulty in interpreting empty confidence sets.
If instead then there are no further difficulties. Furthermore if then for all τ 2, so that the confidence interval is comprised of the τ 2 that satisfy . The lower bound of the confidence interval is then zero and the upper bound is given by the value of τ 2 that satisfies .
Finally, if , then the lower and upper bounds of the confidence interval are given by the values of τ 2 satisfying and respectively. Since Q(τ 2) is continuous and decreasing in τ 2, simple numerical search methods for finding the values of τ 2 that satisfy the equations that give rise to the confidence intervals will always converge to the correct answers.
A Newton Raphson procedure for implementing the Qprofile method in practice
with a suitable starting value . Once convergence is reached and the solution to Q(τ 2)=c is obtained. This algorithm has been found to perform well provided that estimates of τ 2 are used as starting values and any negative values of are replaced by zero when performing the iteration.
A corresponding point estimate of the residual between-study variance
Paule-Mandel [13, 22] suggested solving in the context of meta-analysis. This idea can be generalised to the meta-regression scenario considered here  by solving . This equation can be solved using the Newton Raphson procedure suggested above, with c=n-p, and if there is no solution to this equation then [13, 22]. The empirical Bayes estimator  is equivalent to this Paule-Mandel estimator . By adopting the convention that empty sets are interpreted as [0,0], this estimator will always lie in the corresponding Q profile confidence interval. In general point estimates of τ 2 need not lie inside the various confidence intervals that are available, so this is an attractive property. Hence the Paule-Mandel estimator provides a natural point estimate to accompany the confidence interval from the Q profile method and we recommend using them together. The Paule-Mandel estimator is also unique, as previously noted .
Bayesian analyses with informative prior distributions for the residual between study variance
In addition to specifying the form of the likelihood, Bayesian analyses also require the specification of prior distributions. ‘Vague’ or ‘uninformative’ prior distributions, that are typically taken to be uniform distributions on a particular scale, are often used for this purpose. However choosing ‘vague’ prior distributions for variance components is problematic as Lambert et al. show for the between-study variance in random effects meta-analysis with small numbers of studies. We anticipate that that the issues surrounding the use of ‘vague’ priors for variance components, as exemplified by the simulation study by Lambert et al., will also apply in the meta-regression scenario.
Informative prior distributions for parameters in random effects meta-analyses are now available for some settings [10, 26–28]. In practice we suggest also using prior distributions for the between-study variance that have been derived for meta-analysis as prior distributions for the residual between-study variance in meta-regressions. Deriving prior distributions for τ 2 for specific meta-regression models is, at best, very difficult because there are very many combinations of study covariates that could be used in regression models. Typically meta-regression models involve only a few covariates and, although we might anticipate the residual between-study variance to be less than the between-study variance in a corresponding random effects meta-analysis (because we might expect the covariates to explain some heterogeneity), unless the covariate effects are strong we can reasonably expect the difference between these two types of between-study variance to be small. Furthermore, if the residual between-study variance is indeed the smaller of these two types of between-study variances, then using priors elicited in the context of meta-analysis for meta-regression models can be thought of as being conservative. This is because the values of τ 2 supported by the prior, and hence the posterior, will be too large. This generally results in wider credible intervals and larger posterior standard deviations for the regression parameters, and favours the side of concluding that there is further unexplained variation that could be explained using additional covariates.
We follow Turner et al. in using vague priors for the regression parameters (the entries of β) and informative priors for τ 2. An informative prior for τ 2, where available, is to be taken from the context of the meta-regression. Hence we only use out-of-sample information about the residual between-study variance, because it is this particular parameter that is hard to identify in typically small meta-analytic samples. We provide WinBUGS  code, for both examples, in the Additional files 1, 2 and 3 to show how informative priors for τ 2 can be used in practice. The use of MCMC to fit meta-regression models means that convergence of the chains must be carefully checked in practice. Alternative (non MCMC) methods for performing Bayesian estimation of meta-regression models deserve investigation and could form the subject of further work. Meta-analysts should be aware that Bayesian analyses of this kind make more assumptions than frequentist meta-analyses because they involve priors. However, by taking the limits of the credible interval as the 2.5% and 97.5% quantiles of the posterior distribution, Bayesian interval estimation is easily performed.
This is a paper on statistical methods. All data used are for illustration purposes and come from published meta-analyses from the Cochrane Library. Hence no ethical approval for the use of these data is required.
In this section we apply our methods to two contrasting examples and we discuss the results that we obtain.
Example one: paracetamol for pain relief after surgical removal of lower wisdom teeth
This example is taken from Analysis 1.1 of Cochrane review CD004487 , where paracetamol is compared to placebo and the outcome of interest is at least 50% pain relief at 4 hours. 16 studies contribute to the analysis where 10 studies treat patients with up to 1000mg of paracetamol and the remaining 6 studies treat patients with 1000mg or more. We follow the Cochrane review by using the log relative risk as the outcome measure for the analysis (the review presents the results in terms of the relative risk but the analysis is performed on the log scale), where 1/2 is added to all cells of the 2×2 tables of the two studies with zero counts. Normal approximations are used for the log relative risks.
The results of the subgroup analysis presented by the Cochrane review suggest that treatment effects may be larger in studies that treat patients with 1000mg or more. Meta-regression can be used to investigate this, by including a binary covariate that equals one if the study treats patients with 1000mg or more and equals zero otherwise. Fitting this meta-regression using the R package metafor using REML confirms that there is evidence of a covariate effect, where the estimated effect is 0.929 with a standard error of 0.302. The REML estimated residual between-study variance is (), for which metafor reports a standard error of and I 2=40%.
so that an approximate 95% REML confidence interval for τ 2 was obtained as . The width of this approximate confidence interval, from the asymptotic theory of maximum (REML) likelihood, gives a useful benchmark to compare the proposed methods to. We can however anticipate that the two proposed frequentist methods will result in wider confidence intervals than this interval for two main reasons. First of all, the proposed methods are not based on sufficient statistics (while likelihood based methods are). Hence we can anticipate some loss of precision when using the proposed procedures because they have not been shown to possess any optimality properties. Secondly, the asymptotic theory of maximum likelihood cannot be very accurate, because we estimate three parameters (the intercept, the covariate effect and the residual between-study variance) using just 16 observations. Since likelihood based methods take the standard errors as those implied by the Cramer-Rao bound, we can anticipate that the uncertainty in the estimated residual between-study variance will be underestimated using asymptotic likelihood based methods.
Confidence intervals using generalised Cochran heterogeneity statistics
Using the conventional weights , the moments estimate of τ 2 from (9) is 0.115 and the corresponding 95% confidence interval, obtained using Farebrother’s algorithm and numerical searches, is (0.003, 0.691). This confidence interval is in good agreement with the approximate REML interval but is slightly wider, as anticipated.
Jackson  suggested using the weights in situations where heterogeneity is anticipated but it is uncertain how much. However, this results in a notably larger , which helps to explain why the corresponding 95% confidence interval of (0.000, 1.125) is considerably wider. This choice of weights has not resulted in a shorter confidence interval for τ 2 for this example.
Confidence intervals using the Qprofile method
The R package metafor was used to implement the Q profile method. To check numerically that all the proposed methods for calculating the proposed extension of the Paule-Mandel estimator agree, this was obtained in three ways: using the metafor package and the empirical Bayes option, using the code provided in the Appendix of Panityakul et al., and also using the proposed Newton Raphson procedure with c=14. All three methods gave . The Q profile 95% confidence interval is (0.002, 1.487) which is even wider than the intervals obtained using other methods and provided above.
To summarise the results using the frequentist methods, wide confidence intervals for τ 2 are obtained using all methods. This means that it is not possible to make strong statements about whether the true residual between-study variance is large or small without making use of out-of-sample information, such as expert opinion or the informative prior distributions that follow.
Bayesian analyses using informative prior distributions
Uninformative uniform priors (from -10 to 10) were used for the regression parameters (the entries of β) and an informative τ 2∼logN(-1.83,1.522) prior was used, as suggested by Turner et al., where ‘logN’ denotes a log-normal distribution. Three chains were run using starting values equal to the REML estimate of τ 2 and the lower and upper bounds of the corresponding approximate 95% confidence interval. A burn-in of 10,000 iterations was used and another 200,000 iterations were used to make inference, so that with three chains 600,000 simulated realisations from the posterior were used to calculate estimates and credible intervals. The WinBUGS implementation of the Gelman-Rubin statistic, as modified by Brooks and Gelman , was stable for each parameter and trace plots after the burn-in showed no apparent trend. These findings indicate that convergence was achieved for all three chains.
Similar results for the covariate effect parameter were obtained from this Bayesian analysis: the posterior mean was 0.917 with a posterior standard deviation of 0.330, again suggesting that treatment effects may be larger in studies that treat patients with 1000mg of paracetamol or more. The posterior distribution of τ 2 was positively skewed, with a posterior mean and median of 0.135 and 0.095 respectively. The bounds of the 95% credible interval for τ 2, obtained as the 2.5% and 97.5% quantiles of the posterior density, were 0.011 and 0.495. The posterior median of τ 2 is quite close to the REML estimate 0.083 but the upper bound of this credible interval is appreciably less than all the upper bounds of the 95% confidence intervals. The use of this informative prior distribution has substantively reduced the range of plausible values of τ 2, but this more precise inference comes at the price of specifying priors and hence making more assumptions.
Summary of results for example one: paracetamol for pain relief
Gen Q ()
Gen Q ()
Example two: interventions for promoting physical activity
This example is taken from Analysis 1.1 of Cochrane review CD003180  and was also used by Baker and Jackson  who propose a novel model and estimation methods for meta-analysis datasets with time trends. Here we use a conventional meta-regression to investigate the possibility of time trends in the 19 studies that contribute to this analysis, where we use the publishing date as a continuous covariate in a meta-regression. The treatment is an intervention for promoting physical activity and the outcome data are standardised mean differences, where a positive mean difference indicates that the intervention has a positive effect on promoting physical activity.
Again fitting the meta-regression using the metafor package using REML provides evidence of a covariate effect and hence the type of time trend observed by Baker and Jackson : the estimated effect of time is -0.022 with a standard error of 0.011. The REML estimated residual between-study variance is , for which metafor reports a standard error of and I 2=79%. An approximate 95% REML confidence interval for τ 2, calculated on the log scale as for the previous example, is (0.016, 0.111).
Confidence intervals using generalised Cochran heterogeneity statistics
Using the conventional weights , the moments estimate of τ 2 from (9) is 0.043 to three decimal places and the corresponding 95% confidence interval is (0.017, 0.139). Once again, this confidence interval is in good agreement with the approximate REML interval but is slightly wider, as anticipated.
Using the weights results in similar results for this example: , and the corresponding 95% confidence interval is (0.018, 0.138).
Confidence intervals using the Qprofile method
The proposed extension of the Paule-Mandel estimator is . The Q profile 95% confidence interval is (0.018 0.156) which is slightly wider than the intervals obtained using other methods and provided above.
To summarise the results using the frequentist methods, wide confidence intervals for τ 2 are again obtained using all methods. However, the intervals do not include zero, which reinforces the notion that residual between-study heterogeneity is present, as suggested by the large I 2=79% statistic. Nonetheless, the true residual between-study variance could be considerably smaller or larger than the point estimate. It is not possible to make very precise statements about the magnitude of this parameter without using out-of-sample information.
Bayesian analyses using informative prior distributions
An informative τ 2∼lt5(-3.02,2.272) prior was used, as suggested by Rhodes et al., where ‘ lt5’ denotes a log-t distribution with 5 degrees of freedom. The same uniform priors for the regression parameters, and the same numbers of chains and iterations and methods for checking convergence, were used as in the previous example. However we (approximately) standardised the time covariate in the meta-regression, by centering this at 1998 and dividing by 6, as often suggested in order to aid mixing in MCMC algorithms. Inferences in terms of the non-standardised time covariate were then obtained from the MCMC output by dividing results for the standardised covariate effect parameter by 6. This resulted in an estimated (posterior mean) effect of time of -0.022 with a posterior standard deviation of 0.011, in agreement with the REML analysis to three decimal places. The posterior distribution of τ 2 was positively skewed, with a posterior mean and median of 0.050 and 0.043 respectively. The bounds of the 95% credible interval for τ 2 were 0.017 and 0.119. The posterior median of τ 2 is close to the REML estimate 0.042 but the upper bound of this interval is notably lower than the upper bounds of the three exact 95% confidence intervals. Interestingly, it is similar to the upper bound of the approximate REML interval, which is likely to understate the uncertainty in the residual between-study variance as explained above. However, in the case of the credible interval, it seems reasonable to conclude that the reduction of the upper bound is a result of the informative prior distribution that has, as in the first example, reduced the range of plausible values of τ 2.
Summary of results for example two: Interventions for promoting physical activity
Gen Q ()
Gen Q ()
We have presented three methods for performing interval estimation of the residual between-study variance in random effects meta-regression models. All three methods are relatively straightforward extensions of methods that have been proposed for random effects meta-analysis, where there are no covariates. R code is provided in the Additional files 1, 2 and 3 for implementing the method based on generalised Cochran heterogeneity statistics but this methodology and code is now incorporated in the metafor package. R code for use with the metafor package is also provided Additional files 1, 2 and 3. The Q profile method has previously been described by others, so our contribution regarding this methodology is to provide a simple and easily computed form of the derivative (13) that facilitates a Newton-Raphson procedure for obtaining the confidence interval bounds. In our two examples, the use of informative prior distributions was useful in producing credible intervals with smaller upper bounds than the confidence intervals. This more precise estimation comes at the price of having to specify a prior distribution and so makes more assumptions based on out-of-sample information.
Network meta-analysis is becoming increasingly popular and a variety of approaches to modelling the variance components have been proposed in this setting [34–37]. When all studies are two arm trials, models for network meta-analysis can be expressed as standard univariate meta-regressions . This means that the methods developed here are immediately relevant and applicable to network meta-analysis. Our work may therefore also serve to motivate the use of informative prior distributions for τ 2 in network meta-analysis. See Xiong et al. for an example of a network meta-analysis where informative priors are used in this way.
Interpreting point estimates of the residual between-study variance without any regard to its uncertainty can be misleading; for example, a large point estimate might be construed as providing strong evidence of considerable unexplained between-study heterogeneity. However, if the intervals we suggest contain small values of τ 2 then such a conclusion is, at best, weak. Presenting standard errors (or posterior standard deviations) of τ 2 is an alternative to presenting intervals but in our experience confidence and credible intervals for this parameter are generally very asymmetric. Hence we suggest that the methods for interval estimation that we have proposed are preferable, because an estimate and a standard error (or a posterior standard deviation) may give a poor indication of the range of values of τ 2 supported by the data. In any case, accompanying a point estimate with some measure of its uncertainty, such as a standard error, is still preferable to giving no indication at all of the uncertainty in .
Approximate methods for constructing confidence intervals for the between-study variance in meta-analysis are available  and extending these to meta-regression may form the subject of future work. Since the proposed confidence intervals are not based on sufficient statistics, and have not been shown to possess any optimality properties, a comparison of their width with confidence intervals obtained using the asymptotic theory of maximum likelihood gives an indication of the loss of precision that may have been incurred by using these methods. We illustrate this comparison using both our example datasets.
Those who would wish to test the null hypothesis H 0:τ 2=0 versus H 1:τ 2>0 can obtain the results from this test by determining if the proposed confidence intervals contain zero or not. However they would report a significance level of α/2 when inverting these two-sided confidence intervals because inverting a two-sided confidence interval with coverage probability (1-α) gives the results of a one-tailed test with significance level α/2. I 2 statistics are also very popular and can be obtained for a meta-regression by defining the “typical” within-study variance as , where the standard weights A=W are used. Confidence intervals for I 2 can then be obtained by interpreting I 2 as the monotonic function of τ 2, .
To summarise, our methods for performing interval estimation of the residual between-study variance in meta-regression models are almost as easily performed as the corresponding methods for random effects meta-analysis. We propose that confidence and credible intervals, such as those that we describe, should be routinely used when reporting the results from both meta-analyses and meta-regressions.
Setting this derivative to zero implies that the second term in (14) involving a double summation is zero. This immediately results in (13).
The authors would like to thank Ian R White for both helpful general discussion and his specific suggestions that improved the paper greatly.
- Knapp G, Hartung J: Improved tests for a random effects meta-regression with a single covariate. Stat Med. 2003, 22: 2693-2710. 10.1002/sim.1482.View ArticlePubMedGoogle Scholar
- Sharp S, Thompson SG: Explaining heterogeneity in meta-analysis: a comparison of methods. Stat Med. 1999, 18: 2693-2708. 10.1002/(SICI)1097-0258(19991030)18:20<2693::AID-SIM235>3.0.CO;2-V.View ArticlePubMedGoogle Scholar
- van Houwelingen HC, Arends LR, Stijnen T: Advanced methods in meta-analysis: multivariate approach and meta-regression. Stat Med. 2002, 21: 589-624. 10.1002/sim.1040.View ArticlePubMedGoogle Scholar
- Baker WL, White CM, Cappelleri JC, Kluger J, Coleman CI: Understanding heterogeneity in meta-analysis: the role of meta-regression. Int J Clin Pract. 2009, 63: 1426-1434. 10.1111/j.1742-1241.2009.02168.x.View ArticlePubMedGoogle Scholar
- Jackson D: The significance level of meta-regression’s standard hypothesis test. Commun Stat Theory Methods. 2008, 37: 1576-1590. 10.1080/03610920801893863.View ArticleGoogle Scholar
- Thompson SG, Higgins JTP: How should meta-regression analyses be undertaken and interpreted?. Stat Med. 2002, 21: 1559-1573. 10.1002/sim.1187.View ArticlePubMedGoogle Scholar
- Biggerstaff BJ, Jackson D: The exact distribution of Cochran’s heterogeneity statistic in one-way random effects meta-analysis. Stat Med. 2008, 27: 6093-6110. 10.1002/sim.3428.View ArticlePubMedGoogle Scholar
- Jackson D: Confidence intervals for the between-study variance in random effects meta-analysis using generalised Cochran heterogeneity statistics. Res Synth Methods. 2013, 4: 220-229.View ArticlePubMedGoogle Scholar
- Viechtbauer W: Confidence intervals for the amount of heterogeneity in meta-analysis. Stat Med. 2007, 26: 37-52. 10.1002/sim.2514.View ArticlePubMedGoogle Scholar
- Turner RM, Davey J, Clarke MJ, Thompson SG, Higgins JPT: Predicting the extent of heterogeneity in meta-analysis, using empirical data from the Cochrane database of systematic reviews. Int J Epidemiol. 2012, 41: 818-827. 10.1093/ije/dys041.View ArticlePubMedPubMed CentralGoogle Scholar
- Viechtbauer W: Analysis of moderator effects in meta-analysis. Best Practices in Quantitative Methods. Edited by: Osborne JW, Osborne JW. 2008, Thousand Oaks, California, USA: Sage Publications,Google Scholar
- Panityakul T, Bumrungsup C, Knapp G: On estimating residual heterogeneity in random effects meta-regression: a comparative study. J Stat Theory Appl. 2013, 12: 253-265. 10.2991/jsta.2013.12.3.4.View ArticleGoogle Scholar
- DerSimonian R, Kacker R: Random-effects model for meta-analysis of clinical trials: An update. Contemp Clin Trials. 2007, 28: 105-114. 10.1016/j.cct.2006.04.004.View ArticlePubMedGoogle Scholar
- Zhang F: Matrix Theory (2nd edition). 2010, New York: SpringerGoogle Scholar
- Cassella G, Berger Rl: Statistical Inference. 2002, Pacific Grove, USA: Duxbury PressGoogle Scholar
- Farebrother RW: Algorithm AS 204: the distribution of a positive linear combination ofχ 2random variables. Appl Stat. 1984, 33: 332-339. 10.2307/2347721.View ArticleGoogle Scholar
- DerSimonian R, Laird N: Meta-analysis in clinical trials. Control Clin Trials. 1986, 7: 177-188. 10.1016/0197-2456(86)90046-2.View ArticlePubMedGoogle Scholar
- Searle SR: Linear models. 1971, New York, USA: WileyGoogle Scholar
- Biggerstaff BJ, Tweedie R: Incorporating variability in estimates of heterogeneity in the random effects model in meta-analysis. Stat Med. 1997, 16: 753-768. 10.1002/(SICI)1097-0258(19970415)16:7<753::AID-SIM494>3.0.CO;2-G.View ArticlePubMedGoogle Scholar
- Hartung J, Knapp G: On confidence intervals for the among-group variance in the one-way random effects model with unequal error variances. J Stat Plann Inference. 2005, 127: 157-177. 10.1016/j.jspi.2003.09.032.View ArticleGoogle Scholar
- Knapp G, Biggerstaff BJ, Hartung J: Assessing the amount of heterogeneity in random-effects meta-analysis. Biom J. 2006, 48: 271-285. 10.1002/bimj.200510175.View ArticlePubMedGoogle Scholar
- Paule RC, Mandel J: Consensus values and weighting factors. J Res National Bureau Stand. 1982, 87: 377-385. 10.6028/jres.087.022.View ArticleGoogle Scholar
- Berkey CS, Hoaglin DC, Mosteller F, Colditz GA: A random-effects regression model for meta-analysis. Stat Med. 1995, 14: 395-411. 10.1002/sim.4780140406.View ArticlePubMedGoogle Scholar
- Viechtbauer W, López-López J, Sáchez-Meca J, Marín-Martínez F: A comparison of procedures to test moderators in mixed-effects meta-regression models. Psychol Methods. (under review).http://www.ncbi.nlm.nih.gov/pubmed/25110905,
- Lambert PC, Sutton AJ, Burton PR, Abrams KR, Jones DR: How vague is vague? A simulation study of the impact of the use of vague prior distributions in MCMC using WinBUGS. Stat Med. 2005, 24: 2401-2428. 10.1002/sim.2112.View ArticlePubMedGoogle Scholar
- Pullenayegum EM: An informed reference prior for between-study heterogeneity in meta-analyses of binary outcomes. Stat Med. 2011, 30: 3082-3094. 10.1002/sim.4326.View ArticlePubMedGoogle Scholar
- Turner RM, Jackson D, Wei Y, Thompson SG, Higgins JPT: Predictive distributions for between-study heterogeneity and methods for their application in Bayesian meta-analysis. Undergoing peer review.Google Scholar
- Rhodes KM, Turner RM, Higgins JPT: Predictive distributions were developed for the extent of heterogeneity in a meta-analysis, using continuous outcome data from the Cochrane database of systematic reviews. J Clin Epidemiol. (Epub ahead of print),Google Scholar
- Lunn DJ, Thomas A, Best N, Spiegelhalter D: WinBUGS–a Bayesian modelling framework: concepts, structure, and extensibility. Stat Comput. 2000, 10: 325-337. 10.1023/A:1008929526011.View ArticleGoogle Scholar
- Weil K, Hooper L, Afzal Z, Esposito M, Worthington HV, van Wijk A, Coulthard P: Paracetamol for pain relief after surgical removal of lower wisdom teeth. Cochrane Database Syst Rev. 2007, (3): Art. No. CD004487. doi:10.1002/14651858.CD004487.pub2,Google Scholar
- Brooks SP, Gelman A: Alternative methods for monitoring convergence of iterative simulations. J Comput Graphical Stat. 1998, 7: 434-455.Google Scholar
- Foster C, Kaur A, Wedatilake T, HillsdonM: Interventions for promoting physical activity. Cochrane Database Syst Rev. 2005, (1): Art. No. CD003180. doi:10.1002/14651858.CD003180.pub2,Google Scholar
- Baker R, Jackson D: Inference for meta-analysis with a suspected temporal trend. Biom J. 2010, 52: 538-551. 10.1002/bimj.200900307.View ArticlePubMedGoogle Scholar
- Lu G, Welton NJ, Higgins JPT, White IR, Ades AE: Linear inference for mixed treatment comparison meta-analysis: a two-stage approach. Res Synth Methods. 2011, 2: 43-60. 10.1002/jrsm.34.View ArticlePubMedGoogle Scholar
- Lu G, Ades AE: Modeling between-trial variance structure in mixed treatment comparisons. Biostatistics. 2009, 10: 792-805. 10.1093/biostatistics/kxp032.View ArticlePubMedGoogle Scholar
- Thorlund K, Thadane L, Mills EJ: Modelling heterogeneity variances in multiple treatment comparison meta-analysis–Are informative priors the better solution?. BMC Res Methodol. 2013, 13: 2-10.1186/1471-2288-13-2.View ArticleGoogle Scholar
- Jackson D, Barrett JK, Rice S, White IR, Higgins JPT: A design-by-treatment interaction model for network meta-analysis with random inconsistency effects. Stat Med. 2014, 33: 3639-3654. 10.1002/sim.6188.View ArticlePubMedPubMed CentralGoogle Scholar
- White IR, Barrett JK, Jackson D, Higgins JPT: Consistency and inconsistency in network meta-analysis: model estimation using multivariate meta-regression. Res Synth Methods. 2012, 3: 111-125. 10.1002/jrsm.1045.View ArticlePubMedPubMed CentralGoogle Scholar
- Xiong T, Turner R, Wei Y, Neal D, Lyratzopoulos G, Higgins J: Comparative efficacy and safety of treatments for localized prostate cancer: an application of network meta-analysis. BMJ Open. 2014, 4: e004285-10.1136/bmjopen-2013-004285.View ArticlePubMedPubMed CentralGoogle Scholar
- The pre-publication history for this paper can be accessed here:http://www.biomedcentral.com/1471-2288/14/103/prepub
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited. 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.