Corrected Correlation Estimates for Meta-Analysis
Abstract
Meta-analysis aggregates estimates and uncertainty across multiple studies, summarizing individual reports into aggregate results that are frequently used to inform health policy and recommendations. When a given study reports multiple estimates, such as log odds ratios (ORs) or log relative risks (RRs) across different exposure groups, accounting for within-study estimate correlations is improves both efficiency of meta-analytic estimates and provides more accurate estimates of uncertainty. The canonical approaches of Greenland and Longnecker (1992) and Hamling et al. (2008) construct pseudo-cases and non-cases for exposure groups to estimate correlations of reported within-study estimates. However, currently availble implementations for both methods can fail on simple examples.
We review both GL and Hamling methods through the lens of optimization. For ORs, we provide modifications of each approach that ensure convergence for any feasible inputs. For GL, this is achieved through a new connection to entropic minimization. For Hamling, a modification leads to a provably solvable equivalent set of equations given a specific initialization. For each, we provide implementations guaranteed to work for any feasible input.
For RRs, we show the new GL approach is always guaranteed to succeed. We derive counter-examples where the Hamling approach does not admit any solutions. For the special RR case where the variances are all equal, we derive a necessary and sufficient condition for success.
Keywords: meta-analysis, correlated observations, convex optimization, nonlinear equations
1 Introduction
Meta-analysis combines results reported by multiple studies to obtain aggregate results and estimate between-study heterogeneity Haidich (2010). Meta-analytic results inform public health recommendations, underscoring the importance of accuracy in meta-analytic methods (Deeks et al., 2019)[Chapter 10]. Understanding dose-response relationships across different ranges of exposure poses particular challenges Orsini et al. (2012); Liu et al. (2009); Crippa et al. (2019); Zheng et al. (2022). Dose-response meta-analysis seeks to quantify the impact of a continuous risk, such as systolic blood pressure (Razo et al., 2022), smoking (Dai et al., 2022), meat (Lescinsky et al., 2022) or vegetables (Stanaway et al., 2022) consumed, on the risk of an outcome, e.g. lung cancer or heart disease, by aggregating available estimates for different exposure groups across many studies.
Two of the most common types of estimates are adjusted odds ratios and relative risks (Schmidt and Kohlmann, 2008). Because these estimates always share a common reference group, the estimates for different exposure levels are correlated. Estimating relationships without correcting for these correlations is inefficient and under-estimates the variance of the resulting coefficients (Greenland and Longnecker, 1992, Appendix (1)). We show the potential impact of the adjustment, as well as a real-world example, in Section 2.
In short, it is crucial for meta-analyses to adjust for within-study correlation. Since we are blind to the adjustment mechanism of reported odds ratios (ORs) and relative risks (RRs), we do not have access to the true underlying covariance matrix between reported estimates. If the adjusted estimates are produced through a regression, then an estimated covariance matrix would be available. However, this estimated covariance matrix is generally not reported. As we have access only to the reported metadata, we must accurately construct this covariance matrix. In their groundbreaking work, Greenland and Longnecker (1992) showed that it is possible to estimate within-study correlations, and use them to approximate the covariance matrix. The GL approach requires the modeler to provide the total number of subjects at each exposure level (both treatment and control), the total number of cases, and adjusted treatment effects at each exposure level, such as log ORs or log RRs. Using this information, the GL approach uses a root-finding algorithm to obtain pseudo-case counts for every exposure that match reported estimates, and then uses the pseudo-counts to estimate asymptotic within-study correlations. These correlations inform downstream analyses, accounting for the impact of a common reference group explicitly before estimating study-specific random effects through mixed-effects modeling.
Following the work of Greenland and Longnecker (1992), Hamling et al. (2008) also use reported estimates to get pseudo-counts of cases versus non-cases. However, Hamling et al. (2008) directly use the standard errors of the reported estimates rather than requiring modelers to obtain subject counts at each exposure level. The Hamling approach requires only two additional pieces of information beyond the estimates and their variances: the ratio of unexposed controls to total exposed controls, and the ratio of all controls to all cases. Hamling et al. (2008) fit pseudo-cell counts to the available data, and given pseudo-cell counts, the correlation estimators are the same as those of GL.
These methods are widely used in the community; for example, the meta-analysis R
package dosresmeta
(Crippa and Orsini, 2016) implements both correlation estimators
in their Covariance
function that creates the within-study covariance matrix. Despite the wide use of both methods, past research stopped short of providing guarantees of success given feasible inputs. In fact, both Greenland and Longnecker (1992) and Hamling et al. (2008) discussed numerical instability, citing occasional failures and the need to re-initialize as needed. As originally presented, and as currently implemented in Crippa and Orsini (2016), both methods fail on simple modifications to the input data from working examples.
Here, we fill the current gap, providing robust GL and Hamling methods guaranteed to work for all feasible inputs on the OR problem, including our generated failure modes that can break the current implementation Crippa and Orsini (2016). To do this, we study each approach using an optimization perspective.
For GL, we show the root-finding problem of Greenland and Longnecker (1992) is equivalent to a convex minimization problem in both the OR and RR settings.
Convexity allows us to prove existence and uniqueness of results, and use disciplined convex programming (DCP) (Boyd and Vandenberghe, 2004) to remove any decisions by the user regarding initialization and to provide state-of-the-art numerical solving techniques. We provide an implementation using cvxpy
that is guaranteed to return the unique solution (Diamond and Boyd, 2016; Agrawal et al., 2018).
For Hamling, in the case of OR, we develop an equivalent set of nonlinear equations, and prove that these equivalent formulations are always solvable.
We provide a Python implementation that, in practice, converges for all inputs. For RR, we show that in fact the Hamling approach may fail, provide a counter-example where there is no solution, and provide a sufficient condition on solvability for reported RR’s
in the case where reported variances are all equal.
Our implementation also covers the RR case but provides an informative warning to the modeler should the model fail to find a root.
Roadmap.
In Section 2, we provide theoretical and empirical motivation for adjusting for within-study correlation, which may be useful for readers new to the topic. We review the work of Greenland and Longnecker (1992) and Hamling et al. (2008) in Section 3. We develop the necessary innovations to robustify each method and provide theoretical guarantees in Sections 4 and 5. Finally, in Section 6, we present numerical illustrations showing our methods provide identical results to those of Greenland and Longnecker (1992) and Hamling et al. (2008) when the original methods converge, and provide correct results for inputs that break currently available implementation. We also present a counter-example in the RR regime that has no solution for the Hamling approach.
2 Motivation for Correlation Correction
Before we review existing methods and introduce our updated techniques for correcting for within-study correlation, we motivate the necessity of such methods. We show that considering differences in means with respect to a reference group always induces a nonzero correlation reported estimates. Building on this example, we construct a toy simulation that shows the potential impact of failing to account for this correlation. We show a simple example from a real-world study in peripheral artery disease in which we observe high correlation between estimates, leading to a significant difference in the slope of the dose-response relationship between adjusted and unadjusted estimates. Finally, we briefly describe implications of the correlation correction for meta-analysis.
2.1 Theoretical Motivation
Consider measurements , from two different treatment groups and measurements from a reference group,, where is the number of samples in group . Here, we assume that each is independently distributed according to a Gaussian distribution distinct for each , i.e.,
for nonzero . Without loss of generality, assume and .
We define the empirical mean estimator as
and seek to estimate the difference in means between the treatment groups and reference group, constructing the estimators and . The reference group induces a positive correlation between these estimators, as shown below:
The correlation is driven by the variance of the mean of the reference group. By independence, the variance of the estimators themselves is given by
where is the variance operator. Thus, the smaller the reference group, and the larger its intrinsic variance, the larger the induced correlation between and .
Using this data and assuming there is a true, linear effect across groups , we may seek to estimate through least-squares regression. The two methods we observe are generalized least squares (GLS) and ordinary least squares (OLS). We set to be the appended vector and also set . Thus, we may construct the estimator for to be
to be the GLS estimate, where we are accounting for correlation between , which we know must exist (Kariya and Kurata, 2004). Here, is the covariance matrix of the estimates with entries defined as above. Similarly, we construct the estimate to to be
Note that this OLS estimator does not account for correlation and amounts to assuming the independence of .
In evaluating these two estimators, it is easy to show that both are unbiased. By construction, we have
as the variance estimators. From the generalized Gauss-Markov theorem (Kariya and Kurata, 2004), it follows that is optimal among all linear, unbiased estimators and asymptotically efficient. In particular, , with strict inequality whenever is not diagonal. This explains the advantage of GLS estimation according to problems of this class. A theme of the present work is that the covariance matrix is not always known. This further illustrates the necessity of develo** good approximation techniques to so that estimators downstream remain more precise.
In the next section we illustrate the impact of this correlation on the efficiency of the estimator for the overall relationship computed from multiple reported estimates. In the context of meta regression, we would often consider both of the exposure effect estimates , in conjunction with data from other studies to estimate effects as a function of exposure level.
2.2 Numerical Illustration
![Refer to caption](x1.png)
Here, we create a simplified simulation to show the impact of adjusting for the correlation between the mean estimator levels . In our simulation, using the notation from above, we have with 4 exposure levels and . We prescribe a true value of and seek to estimate this population value according to the data.
After assigning all the initial count data, we construct our estimates . Using the exposure levels as the standard exogenous variable in the regression, we then have all the relevant data. We compare the estimates and to using the GLS and OLS formulations as constructed above, with the relevant dimensional differences applied. The results from 5,000 realizations are shown in Figure 1. Both estimators are unbiased, but is has a much smaller variance than .
The simulation is relevant to the situations considered by Greenland and Longnecker (1992) and Hamling et al. (2008), since OR and RR estimates are created with respect to the same reference group per study. The main differences are that we have explicit access to the full covariance between our reported estimators, while in meta-analytic settings the correlation is hidden and must be inferred–this is the core problem that correlation correction estimators seek to solve.
We end the section with a real-world example where the adjustment makes a big difference to summarizing the study.
2.3 Real example: blood pressure and peripheral artery disease.
We provide a brief example of a real-world study where the correlation-adjusted estimates are significantly different from the estimates obtained when independence of the estimates are assumed. Itoga et al. (2018) study the impact of blood pressure on peripheral artery disease (PAD), reporting results by subgroups of exposure. We assume a linear relationship between SBP and relative risk of PAD, and visualize the weighted least squares (WLS) and correlation-corrected GLS regressions in Figure 2. In the meta-analytic setting, studies typically report standard errors. We compare to a naive WLS estimator where residuals are weighted by the inverse of the reported standard errors. Mathematically, setting to be the diagonal matrix whose diagonal elements are the reported variances for each exposure level, we have the following estimator:
where, in this case, is the vector of log ORs for each exposure. Using the metadata, we do not have access to the true covariance matrix ; we estimate the covariance matrix used in GLS by the method of Greenland and Longnecker (1992).
The -axis shows SBP, while the -axis gives the log relative risk. The blue dots show reported adjusted odds ratios, plotted at the mid-points of the exposure groups reported by the paper.
![Refer to caption](x2.png)
The solid lines correspond to (blue) and (olive) in Figure 2, which are required to pass through the red ‘origin’ point corresponding to the reference group with midpoint at SBP. The WLS estimate appears to fit the data more closely than . However, the line produced by provides a better estimate for the slope. We can think of it as ‘adjusting’ for the fact that variance in the reference group results propagates to all non-reference points, shifting them up and down together. We illustrate this by including the dashed line in Figure 2. This is the correlation-corrected estimate shifted to the non-reference data–it should capture the trend of the data more accurately than the WLS estimate.
In the case of SBP vs. PAD, adjusting for within-study correlation would give a higher estimate of overall risk for that study. While it is impossible to know ‘truth’ for any given study, the simulation in Figure 1 serves as a reminder that although both the WLS and GLS estimates are unbiased, the WLS has much higher variance.
We proceed to consider the case of meta-analysis where multiple studies are observed and discuss implications of correcting for correlation in that setting.
2.4 Implications for Meta-Analysis
A general description of likelihood formulations for meta-analysis is developed by Zheng et al. (2021). Taking the simplest example, consider the statistical model for aggregating multiple reported result vectors with specific effects for study :
where describes the observation errors for study , while is a scalar realization of a random effect distributed as where represents between-study heterogeneity. The and are independent across , and also from each other. This model applies the realization of the specific effect to all observations from study , hence the vector 1 that copies to impact every element of . The variance of the error term is given by:
The maximum likelihood estimate for and is then given by solving
From the likelihood expression, we can observe that meta-analysis effectively quantifies the extent to which the reported variances do not represent the inherent variance in the data, and adjust through augmenting with the between-study heterogeneity variance . Using only the reported variances corresponds to assuming that each reported is diagonal, so any correlation is left to meta-analysis to discover, with a single parameter . In fact, as shown in the previous sections, within-study correlations are induced by the shared reference group, and the extent this happens can vary by study (for example, a study with a very large reference group will have less correlation than a study with a small reference group). As a result, providing correlated will leave to capture the variances of the unknown study-specific effects, exactly as intended, rather than trying to capture all the residual correlations.
With the motivation established, we proceed to review methods that are actually used to estimate and compute the correlation used for the correction in this section. For the remainder of the paper, we focus on reliability and accuracy of the correlation correction methods.
3 Methods of GL and Hamling
In this section, we present the approaches of GL and Hamling. In this review section, we focus on log ORs to vastly simplify presentation; however our robust methods in Sections 4 and 5 cover both log ORs and log RRs. Special challenges and counter-examples for the Hamling approach in the RR case are also presented in Section 5.
We start by defining key variables following original notation, see Table 1.
Variable | Dimension | Definition | Used by |
---|---|---|---|
number of alternative exposure levels | - | ||
alternative exposure levels | - | ||
total subjects at all exposures | GL | ||
total cases | GL | ||
estimates of log-odds | GL, H | ||
reported variances for log-odds | H | ||
estimates of log-risks | GL, H | ||
reported variances for log-risks | H | ||
cases for alternative exposures | - | ||
cases for reference exposure | - | ||
non-cases for alternative exposures | - | ||
non-cases for reference exposure | - | ||
ratio of unexposed controls to total controls | H | ||
ratio of total controls to total cases | H |
is the sum of all elements of and . For both GL and Hamling, the goal is to estimate , and . Following Greenland and Longnecker (1992) and Hamling et al. (2008), we refer to the first element in the vector as and the remaining elements as . We always have that and . We also include the data requirements by each study. More details are given in the following sections for how the data are used. Here, H is shorthand for the Hamling method. With notation established, we summarize the main goal of the GL and Hamling methods.
3.1 Correlation and Covariance
The main goal of both GL and Hamling methods is to obtain a variance-covariance matrix, replacing a diagonal matrix of reported variances with an updated variance-covariance matrix with the same variances and estimated correlations. In particular, both methods estimate the correlation for two log ORs at two different exposures and by
(1) |
where represent controls, and the correlation for two log RRs at these exposures by
(2) |
where represent totals. The final variance-covariance matrix is obtained by appropriately scaling these correlations using the reported variances. There is a degree of freedom in the pseudo-counts that factors out of the correlation formulas: all pseudo-counts can be multiplied by a constant value and the correlations would not change in either the OR or the RR case.
Finally it may help to alert the reader to the key difference between the Hamling and GL approaches by observing that by construction of the Hamling approach, the pseudo-counts successfully obtained by that method (for either RRs or ORs) satisfy
where , are the variances reported for the estimates. This equality need not hold for the pseudo-counts inferred by the GL approach, which uses group counts in place of reported variances. This difference is discussed explicitly in the following sections.
3.2 GL Newton Method
The GL approach uses reported estimates, total counts, and the total number of cases to find pseudo-counts in each category to match reported log-OR or log-RR estimates using an iterative root-finding method given in Algorithm 1. Indeed, Algorithm 1 is exactly Newton’s method for root-finding, applied to find pseudo-counts such that plug-in estimates from the pseudo-counts match those of the adjusted estimates reported in the original study. Once are found, the Greenland and Longnecker (1992) uses these values to calculate the correlation coefficient on log OR estimates and using (1), as well as covariances
For an arbitrary multi-variable function , the Newton iteration is given by
(3) |
where is defined to be the Jacobian matrix of , comprising partial derivatives (Gautschi, 1997). Newton’s method is locally convergent; meaning that when the initial iterate is “close enough” to a root, (3) will eventually find it; however, getting close enough can be tricky (Süli_Mayers_2003). Global convergence refers to be ability of the algorithm to converge regardless of initialization. Greenland and Longnecker (1992) do not prove global convergence guarantees; and in fact as given in Greenland and Longnecker (1992) and summarized in Algorithm 1, the method can break depending on initialization.
The function whose zero we are searching for appears in line 11 of Algorithm 1 and is given by
(4) |
where is the vector of ones of the right dimension, copying the values of the scalar quantity to all coordinates. By construction, , and are all functions of . The Jacobian matrix is contains all the partial derivatives of and is computed in Algorithm 1. Greenland and Longnecker (1992) suggest using crude estimates to initialize if available, and otherwise using the null expected value: . A priori, convergence is not guaranteed. In Section 6, we explore failure modes of existing implementations.
We show in Section (4) that the function in (4) is the gradient of a convex function and recast the rootfinding problem for into a convex optimization problem which allows us to robustly compute the GL estimator.
This leads to a variety of algorithms with global convergence guarantees, and more simply, to a DCP approach that does not need user-specified initialization and leverages the state-of-the-art open source optimization software cvxpy
(Diamond and Boyd, 2016); we make this available to the community.
3.3 Hamling Method
Hamling et al. (2008) extended the work of Greenland and Longnecker (1992), and also construct pseudo-counts and using an iterative root-finding method. Once the pseudo-counts are obtained, the correlations across treatment effect exposures and overall covariance matrix are calculated exactly the same as by Greenland and Longnecker (1992). The main difference is that Hamling et al. (2008) only requires estimates and their variances, along with and from Table 1, discussed in detail below.
The two pieces of information that Hamling requires in addition to estimates and variances are and , which correspond to the ratio of unexposed controls to total number of controls, and the ratio of total number of controls to total number of cases, respectively. These quantities can be obtained by using crude reported estimates from the study, or from another pathway (e.g. literature) if the study did not report the quantities.
(Hamling et al., 2008, Appendix A) solve for in terms of and :
(5) |
The quantities and are functions of , and the main idea of the Hamling method is to match , to the values provided by the study, minimizing the squared differences:
(6) |
The iteration of Hamling, summarized in Algorithm 2, update and through the equations (5). Once are found, equations (5) yield all needed pseudo-counts. It is not obvious from Hamling et al. (2008), but a consequence of our work here is equivalent to showing that (6) can always be brought to , for all feasible inputs.
Hamling et al. (2008) suggest using the Excel Solve
function as a black-box optimizer. However, the solution method turns out to be less important than the choice of equations and their initialization. In Section 5, we show that a modified but equivalent system of nonlinear equations for OR always has a solution.
In contrast, the original formulation does not have any such guarantees, and Hamling et al. (2008)
discuss the need to use different starting points to ensure converge in specific instances. In Section 6, we give specific, simple examples where the method as given in Algorithm (2) fail to converge to a solution for and (returning negative counts or ), while the method of Section 5 succeeds.
In the RR case,
we show that it is in fact possible for the Hamling approach to catastrophically fail, which we discuss in detail in Section 5.
4 Convex Optimization Formulation of GL
In this section, we develop a robust GL approach by establishing that used in the root-finding Newton method of Algorithm (1) is the gradient of a convex function. We show that the convex model of interest is a sum of entropic distance functions for both log ORs and log-RRs. We begin with log ORs.
4.1 GL: Odds Ratios
Recall the function that is the focus of the Newton’s root finding method proposed by Greenland and Longnecker (1992):
We can find the integral of and obtain an objective that corresponds to this gradient:
(7) |
From here, note that we may equivalently solve for the optimal by minimizing the integrated . This is equivalent to finding roots of as GL does, since and a function is at an optimal value precisely when its gradient is zero.
Recall that a convex function satisfies (Boyd and Vandenberghe, 2004)
(8) |
A closely related property called strict convexity requires strict inequality in (8) for . For a function with continuous derivative, as in our case, the convex property and first-order Taylor series expansion of yield the differential characterization of convexity
(9) |
The characterization (9) means that if , then necessarily
that is, guarantees must be the global minimizer of . Moreover, a strictly convex function cannot have more than one global minimum; otherwise, given two such minima, we can use the strict version of (8) to get a point with a lower value for e.g. .
Finally, for a function with second continuous derivative, non-negative eigenvalues of the Hessian for any in the domain is a sufficient condition for convexity. As already discussed in Section 3.2, the Jacobian matrix of , which is exactly the Hessian of , is symmetric positive definite, meaning all eigenvalues are actually positive, which means must be strictly convex (Boyd and Vandenberghe, 2004).
Putting these facts together, the root-finding problem for (4) is equivalent to minimizing a strictly convex minimization problem with objective (7). This perspective reveals that the original GL method can be strengthened by using additional structure and safeguards provided by . For example, the simplest safeguard for Newton’s method when minimizing is a step size search that moves in the Newton direction just enough to guarantee a proportional decrease , and adding this element to Algorithm 1 would already provide global convergence guarantees. The optimization problem is given by
(10) |
where is given in (7). This formulation implicitly maintains domain constraints, that is, non-negativity of , , as well as non-negativity of and , since the logarithm is only defined on . The key element in (7) is the entropic distance function :
(11) |
As we approach , goes to , as can be easily seen by using L’Hôpital’s rule. As grows large, grows faster than , so as . Finally the entropic function has positive second derivative on its domain
so it is strictly convex. Since the sum of convex and strictly convex functions are strictly convex by definition, the entire objective (7) is strictly convex. This implies that any minimizer of (7) must be unique, and it remains to show only that a minimizer exists for .
Theorem 4.1
For the proof, please see the Appendix 8. From Theorem 4.1, always has a unique minimizer for feasible inputs, undergirding the approach of Greenland and Longnecker (1992). A unique global minimum exists under simple assumptions about problem data, and standard optimization solvers (including gradient, Gauss-Newton, quasi-Newton, and Newton), when properly safeguarded by trust region or line search, will converge to the unique global minimum of for any feasible initialization of . In particular, we use disciplined convex programming (Grant et al., 2006) to solve the problem. In Section 6, we show that the root-finding scheme of Greenland and Longnecker (1992) is fragile with respect to initialization, but the new approach is guaranteed to work.
4.2 GL: Relative Risk
We now discuss the changes to apply the approach to log-RR scores. The overall approach and notation (see Table (1)) largely follow the development in the preceding section. , the log RR score, is a function of problem data as given by Greenland and Longnecker (1992):
Here, and are treated as known quantities, again following Greenland and Longnecker (1992). To recover the pseudo-counts, we look for that are roots of
(12) |
Greenland and Longnecker (1992) suggest an algorithm similar to Algorithm (1) to construct cell counts for and . Just as in Section 4.1, we cast this root-finding method as a way to solve a convex optimization program based on entropic distance, analogous to (7). Integrating Equation (12), we obtain
(13) |
The function is strictly convex, since it is the sum of three linear terms, and entropic distance functions (see the discussion in Section 4.1). We prove a theorem analogous to Theorem 4.1, showing the existence of a solution under simple assumptions; uniqueness follows from strict convexity.
Theorem 4.2
Suppose . Let represent log RR ratios for the necessary exposure levels such that is finite. Then the function (13) always has a unique minimizer.
The proof for Theorem 4.2 is in the appendix. In this way, we may construct the optimization problem
(14) |
where is given in (13). By Theorem 4.2, problem (14) must have a minimizer. A solution to the optimization problem (14) may be found by using any number of optimization methods, and in particular, we can also use disciplined convex programming (Grant et al., 2006) to solve (14), just as in Section 4.1.
It may seem a natural fact that root finding here corresponds to a convex objective, but in our experience this is an exception rather than the rule. To be clear, while minimizing a smooth convex function is often solved by a root-finding procedure on the gradient, the converse rarely holds, that is, a typical root finding problem rarely turns out to correspond to the gradient of a convex model. Case in point: when we consider the Hamling method, we do not have a convex interpretation, and as a result have to essentially use brute force to derive theoretical convergence guarantees. It is also quite fortunate that the convex reformulation works in a very similar way for the GL approach for both RR and OR. Again returning to Hamling, in the case of OR, we can find a counter-example guaranteed to fail. The contrast of GL with Hamling here underscores the rarity of the discovered relationship of the GL approach to convex minimization.
5 Solvabililty of Hamling Method
In Section 3.3, we gave a brief overview of the method of Hamling et al. (2008), which involved formulating and solving nonlinear equations (5) for and . The approach relies on the reported variances rather than group totals to infer pseudo-counts. Besides the estimates and variances, the Hamling approach needs only and , see Table 1. However, the parametrization using variances make the nonlinear equations of Hamling far more difficult to analyze than the GL approach. The original work Hamling et al. (2008) did not provide any guarantees, and in fact the authors’ numerical examples suggest initialization may be quite important. In this section, we prove that for the OR case, the equations always have a unique positive solution, and when properly initialized, the solution can always be found. In the RR case, the situation is more difficult; we present a counter-example where a solution to the Hamling equations cannot exist, and a partial theoretical result by deriving a sufficient condition for the existence of a solution to Hamling RR in the equivariant case.
5.1 Hamling: Odds Ratios
The quantities that Hamling et al. (2008) use, as functions of the underlying pseudo-counts, are given by:
(15) |
Using the substitution Hamling et al. (2008) obtains and in terms of , , and :
Note that these equations for are the equations that Hamling et al. (2008) solve for, in terms of , in order to match the variances of the pseudo-counts to the reported variances. Though, the authors do not solve these equations explicitly, instead using Algorithm 2 to estimate the changing parameter values and update pseudo-counts accordingly.
Summing across each set of equations for and we get
From the definitions of and we have
Combining these equations together, we get a system of two explicit equations for unknowns and :
(16) | ||||
The approach developed here is similar in nature to that of Hamling et al. (2008), but equations (16) are not derived in Hamling et al. (2008). The explicit form of (16) is used to prove the results below, namely that equations (16) always have a solution.
First, we show that a unique positive solution to (16) exists when all the variances are identical, that is, all . The theorem for this case serves as a base case for the induction in the general result, and also is of interest since the proof technique is direct; we actually find the closed form of the solution.
Theorem 5.1
Suppose all of the are equal to the scalar . Then there is a unique positive solution of the equations (16) for any value and any value of , and any set of positive estimates .
Let . Let and . Then the positive solution to Hamling is given by
where
Once we have , the solutions to (16) are given by
We provide a proof in Section 8.3 in the Appendix. The crux of the proof is to show that is always positive, for any feasible inputs .
An interesting consequence of the proof is that in addition to the unique positive solution for (and hence , there is also a unique negative solution for and , obtained by taking the negative branch in the quadratic formula. From our numerical experience with Hamling, both our implementation and the one in dosresmeta
can find the negative solution, leading to infeasible pseudo-counts, when incorrectly initialized.
We now show by induction that equations (16) always have a unique feasible solution in the general case.
Theorem 5.2
For any set of positive , positive , and , the equations (16) have a positive solution with and .
See the Appendix, Section 8.4 for a proof of Theorem (5.2). The proof proceeds by induction, as it is impossible to find a closed form solution in the general case. This result ensures convergence to a tuple that can be used to construct the cell counts and according to equations (5). Our presentation of the nonlinear system in the form of equations (16) provides robustness to the method of Hamling et al. (2008), guaranteeing solutions for any choice of positive . The inductive step of the theorem shown in Section (8.4) of the Appendix uses the structure of the equations to show the existence of the solution.
To find the solution in practice, we minimize the squared norm of the equations (16), similar to the approach shown in Algorithm 2. The construction of the proof assumes the positivity of the denominators throughout. This guides our initialization strategy to ensure that and are large enough that positivity holds for the smallest reported variance,
From a theoretical standpoint, the nonlinear constraint
may be needed and can be maintained via line search, in practice the method always converges as long as the constraint holds at initialization. This is a markedly different strategy than the one suggested by Hamling et al. (2008), who focus on and computed from total counts in the data. Their strategy, as implemented by Crippa and Orsini (2016), fails for cases where the reported variances are small, and is discussed in Section 6.
5.2 Hamling: Relative Risk
We now consider the log RR scores. We use the exact same notation as what has been described in the current section, except we now use to imply the log RRs instead of log ORs. We have
where, following the notation of Hamling et al. (2008), now indicates total subjects in the reference group, and indicates total subjects in each risk group, with reference non-cases and cases across exposure groups. Thus we have and . Moreover, from classic results we have
This becomes the key difference that underlies the construction of our new equations. Indeed, we obtain
(17) |
The constraint that doesn’t give any new information, since it is equivalent to
The sum of any positive quantity and reciprocal is always greater than or equal to , with the minimum attained when the quantity is exactly . We do however know something about . Recall the formulas
For the relative risk case, by definition we have .
Using equations (17) and formulas for and , we construct the two nonlinear equations that are analogous to equations (16):
(18) | ||||
We now give analogous results to Theorems (5.1) and (5.2), which are proved in the Appendix.
Theorem 5.3
Suppose all of the are equal to the scalar . Then there is a unique positive solution of the equations (18) for any value and any value of , and any set of positive estimates , if and only if
Using the notation of Theorem 5.1, when the conditions above are satisfied the positive solution is given by
where
Once is found, we have
A simple counter-example that violates the two inequalities required by Therorem 5.3, and for which there is no solution, is given by
These values have no solution in the RR example for any equal variance values . In Section 6, we show that available implementations return nonsensical results, and in fact cannot solve the defining equations, which makes sense, given that in this case. In contrast to the previous section, there is no way to fix this issue, a solution simply cannot exist. The best we can do in such a case is to suggest the modeler check their inputs or consider using the GL approach, which is always guaranteed to work.
6 Numerical Examples
In this section, we review detailed examples of the implementation and results of our proposed methods as described in Sections 4 and 5. First, we show that the corrected methods we proposed reproduce the results of Greenland and Longnecker (1992) and Hamling et al. (2008) for the canonical examples in these papers. Second, we show failure modes for Greenland and Longnecker (1992) and Hamling et al. (2008) and correct estimates
from the robust implementations using the results in this work.
For GL, we leverage the connection to convex optimization to provide software using disciplined convex programming libraries CVXPY
for our modification of the approach of Greenland and Longnecker (1992). For Hamling, we use SciPy
optimization routines with a theoretically justified initialization to solve the root finding problem.
To demonstrate the failure modes, we use the R
library dosresmeta
(Crippa and Orsini, 2016), which implements both GL and Hamling methods.
6.1 Results Comparison to GL and Hamling: Canonical Examples
We use the data from (Greenland and Longnecker, 1992, Table 1) as a simple example showing that the optimized GL reproduces the same results as regular Greenland and Longnecker (1992) and Hamling et al. (2008) for simple problems. In the example given by Greenland and Longnecker (1992), the authors fit the linear-logistic model
In this case, the model is giving the log-odds of a subject being a case, and we want to estimate . The data represent alcohol intake as exposure levels. We present a summary of the adjusted estimates we obtain using our convex formulation for the objective of Greenland and Longnecker (1992) and solutions to the modified system of equations originally in Hamling et al. (2008), and showing the coefficient value estimate along with the variance estimate for each method.
In Table 2 we present the least-squares estimates generated from the four different types of pseudo-count fitting techniques described in this study. Denote by “Unadjusted” as using reported variances with the independence assumption. Denote by “GL” the least-squares and variance estimates obtained by the cell-fitting procedure of Greenland and Longnecker (1992). Denote by “Hamling” the estimates produced from the method of Hamling et al. (2008). Denote by “Convex GL” as the estimates obtained from our fitting procedure that modifies the method of Greenland and Longnecker (1992) as described in Section 4. Denote by “Solved Hamling” as the estimates obtained from our fitting procedure that modifies the method of Hamling et al. (2008) as described in Section 5.
Method | Variance | |
---|---|---|
Unadjusted | 0.0334 | 0.000349 |
GL | 0.0454 | 0.000427 |
Convex GL | 0.0454 | 0.000427 |
Hamling | 0.04588 | 0.000421 |
Solved Hamling | 0.04588 | 0.000421 |
The Convex GL method produces the same results as the original GL approach Greenland and Longnecker (1992) when the latter succeeds. Additionally, our Solved Hamling method produces the same results as the standard Hamling method when the latter succeeds. There are numerical differences in variance results for corresponding methods; for the Convex GL approach that uses DCP, we use a high degree of precision in the solver, so these results correspond to solving the equations to a greater degree of precision. The estimates obtained by Hamling vs. GL differ, but this is to be expected, as discussed in Section 3.1.
We next include a summary of the pseudo-counts only of cases generated by each method in Table 3. We follow the same notation used in Table 1 for cases.
Method | ||||
---|---|---|---|---|
GL | 160.4702 | 70.2046 | 95.4696 | 124.8556 |
Convex GL | 160.5064 | 70.3304 | 95.4857 | 124.6776 |
Hamling | 96.2699 | 50.9684 | 57.2220 | 67.7043 |
Solved Hamling | 96.2653 | 50.9654 | 57.2180 | 67.6989 |
On this simple example, the pseudo-counts for cases generated by our methods match closely those generated by the original methods. Again counts generated by GL methods differ from those generated by Hamling methods, since the GL relies on group counts, whereas Hamling uses reported variances. The pseudo-counts are an intermediate result whose main purpose is to obtain the covariance matrix, and we compare the covariance matrices obtained by these methods in Figure 3.
![Refer to caption](x3.png)
There are small differences between the individual entries in Figure 3. These differences are in fact what cause the estimates in Table 2 to vary slightly between the GL and Hamling-based methods. Note that the Convex GL covariance matrix has different entries, whereas the entries of the (Solved) Hamling covariance matrix are identical. This is due to the variance model in the construction of the Hamling estimators.
Next, we run a similar test on RRs, using the
alcohol and colorectal cancer data and results in
Orsini et al. (2012). We present a summary of the adjusted estimates obtained by our methods and by the methods of GL and Hamling. We use data directly from dosresmeta
, specifically the alcohol_crc
dataframe, and analyze the subset id author atm
. In Table (4) we present the least-squares estimates, similar to what was shown above.
Method | Variance | |
---|---|---|
Unadjusted | -0.00294 | 1.5865e-05 |
GL | 0.0071 | 1.5176e-05 |
Convex GL | 0.0071 | 1.5166e-05 |
Hamling | 0.0063 | 1.5490e-05 |
Solved Hamling | 0.0063 | 1.5436e-05 |
Once again we see small numerical differences in variance estimates, with our estimates using high precision on the equation solves. We also see a larger difference between the estimates obtained by GL vs. Hamling, a direct consequence of the different parametrizations.
We provide a summary of case pseudo-counts generated by each method in Table 5. The pseudo-count estimates within method families are close; while counts between GL and Hamling methods match in some groups but differ in others, causing the differences observed in estimate values in Table 4.
Method | ||||||
---|---|---|---|---|---|---|
GL | 26.5957 | 34.0061 | 42.8532 | 33.3584 | 17.9492 | 29.2359 |
Convex GL | 26.5973 | 34.0061 | 42.8532 | 33.3583 | 17.9492 | 29.2359 |
Hamling | 26.4495 | 39.5129 | 44.2940 | 31.6140 | 15.3332 | 22.6277 |
Solved Hamling | 26.4087 | 39.4526 | 44.2234 | 31.5706 | 15.3105 | 22.5738 |
![Refer to caption](x4.png)
Covariance matrices obtained from pseudo-counts generated by our Convex GL and Solved Hamling methods are shown in Figure 4. We again see identical entries in the covariance matrix produced from Hamling. The differences in covariance values between the matrices explain the differences in estimates values in Table 4.
We now continue to the avoidable failure modes, providing simple OR examples where the original GL and Hamling methods fail but our Convex GL and Solved Hamling methods succeed.
6.2 Original method failure and Corrected success
In this section we produce simple failure modes for original GL and Hamling methods, and show that new methods work on these cases, as expected from the theoretical results. This is reassuring to practitioners running many analyses; the need to re-initialize current methods and potential quiet failures of the Hamling method can both be avoided with straightforward modifications.
To demonstrate the failure modes, we perturb the alcohol_cvd
data from dosresmeta
.
6.2.1 GL method failure
Using the method of GL first, we change the number of subjects at each exposure level in the alcohol_cvd
dataset to be a function of the number of cases in the same dataset at the corresponding exposure levels. Namely, we modify the number of subjects to be
for integer values .
The lower the , the more extreme the situation, corresponding to very few controls in each group.
We use each as input data to the standard GL routine to construct pseudo-counts using the GL method. For , the original GL method in dosresmeta
fails.
In the cases of failure, even though the initial is feasible, GL iterations run afoul of the
logarithmic terms in the dosresmeta
implementation for low . For , this issue disappears.
The entire problem is avoided when we use the convex GL approach, which succeeds in all cases.
The new Convex GL method succeeds even in the extreme case when . We compare the covariance matrix for compared to the covariance matrix GL obtains on the original data in Figure 5. We see that the covariance matrices returned for the original and perturbed data are fairly close, suggesting that correlations are well-behaved in such cases and underscoring the need for a robust method. In other words, results for GL will likely be useful even for small studies when we have very few controls.
![Refer to caption](x5.png)
6.2.2 Hamling method failure
The Hamling method fails when default initialization fails to guarantee positivity of all denominators . For example, the Hamling initialization used by dosresmeta
can break when the input are very small. In this case, the dosresmeta
Hamling approach returns negative pseudo-counts, and correlations computed using these counts.
To show this failure mode, we alter the alcohol_cvd
dataset in dosresmeta
by changing the reported variances to be
where the NA is a placeholder for the reference exposure level. Passing this data into the hamling
method in dosresmeta
, we obtain negative values in the estimated counts for cases and non-cases at the first level of exposure, as shown in Table 6.
Method | |||||
---|---|---|---|---|---|
Hamling | 189.7 | -207.5 | 514.2 | 8.6 | 2.2 |
Solved Hamling | 2897.8 | 2976.1 | 157.2 | 31.5706 | 9.2 |
The method of Hamling fails silently, since it then uses the negative values to compute the covariance matrix. To study the downstream effects, we compare the covariance matrices constructed by dosresmeta
from the wrong pseudo-counts generated by the original Hamling method with those generated by the solved Hamling method in Figure 6. The solved Hamling method obtains an order of magnitude smaller correlation across the subgroups. This means that when Hamling fails quietly, it will provide estimates that deviate further from the uncorrected estimates compared to the correctly solved formulation.
![Refer to caption](x6.png)
We extend this example to study the range of the failure mode as a function of the scale of variance values. For simplicity we vary only the first element of .
We then assess whether there are any negative values in the constructed pseudo-counts for cases by the Hamling method. As can easily be verified, the variance values below in the first numerical coordinate produce negative values in . Obviously for smaller estimates the method still fails, but such small variances correspond to huge sample sizes that are unlikely to occur in practice.
The variance values greater than produce only positive values, even beyond 1. This shows clearly how the Hamling method fails for small enough variance values given default initialization in dosresmeta
, and can be fixed easily by using the strategy discussed in Section 5.
To fix the problem we use the initialization suggested by the theoretical analysis. Specifically, we construct the initialization parameters as
The underlying idea is that the large initialization ensures the denominators of and in equations (5) remain positive, ensuring all counts are positive. This works well numerically, and does not break regardless of the values. This provides empirical support for the proof technique given in Theorem 5.2.
In the next section, we study the unavoidable failure mode of Hamling for RRs.
6.3 Hamling Failure for RR
We review the counter-example presented in Section 5
This example was obtained by violating the conditions presented in Theorem 5.3 for the equivariant case. The failure corresponds to obtaining a negative discriminant in the quadratic formula for the ratio , and means that a solution cannot exist, regardless of reported (equal) variances. To see this bear out in practice we make a simple choice
Running dosresmeta
on this example gives us results in Table 7.
1.4 | 1.3 |
---|---|
We see negative values for and , a problem for any situation, and , which is impossible for RR. These issues still can still occur for a candidate solution to the equations (18). However,
the claim we made is stronger, that is, a solution that satisfies
the six equations corresponding to cannot exist.
When we review the dosresmeta
result with respect to these six equations, we find that in fact, two of the six are not satisfied:
In contrast to the previous examples, there is no way to fix this; we know from the proof of Theorem 5.3 that no solutions can exist to this example.
7 Conclusion
In this paper we have taken a closer look at the methods of Greenland and Longnecker (1992) and Hamling et al. (2008).
We have shown that the GL approach lends itself to a reformulation to minimizing a convex model, for both ORs and RRs. In both cases we can avoid all numerical difficulty and guarantee convergence to the unique optimal point for any feasible data inputs. This was a rather surprising finding that initially motivated us to write the paper.
The convex loss that emerged when we integrated the optimality conditions is the entropic distance function, an object that appears in other areas of mathematics and statistics. An unexplored consequence of the
connection to convex models is that it is now easy to include side information (if such information is available to modelers) through the use of linear equality and inequality constraints on the pseudo-counts . As long as there is a feasible , the proof theory in this paper guarantees a unique solution, and modifying the formulation is straightforward in cvxpy
. We leave further exploration of this idea to future work.
For the Hamling method, the story is more complicated. In the case of OR, we were able to show that the Hamling equations always have a solution. In fact we obtained a closed form solution for the equivariant case (all reported variances equal) and provided a proof by induction for the general case. This means that literally for any observed ORs, variances, , and , we can always find a solution.
In contrast, for RR, there is no guarantee that Hamling will work. We presented a counter-example when there are only two alternative groups. Counter-examples are by nature odd, but nonetheless there is a fundamental difference between RR and OR for Hamling stemming from relying on reported variances. This is curious. Between the methods of GL and Hamling, when faced with many meta-analyses we find the Hamling approach more appealing, since it only needs and in addition to reported estimates and variances. Based on the RR failure, we should keep the GL method available should an unavoidable failure mode arise.
We have done our best to make the results as interpretable and clear as possible. We have an implementation for GL and Hamling methods publicly available111https://github.com/ihmeuw-msca/CorrelationCorrection; and we have shown simple cases where we can break the widely used dosresmeta
package using simple examples. Using the insights in this paper, safeguarding estimates available in other packages is a straightforward task.
For GL, it is a matter of providing standard optimization guardrails, such as a line search. For Hamling, it is a change in the initialization strategy based on the minimum reported variance.
References
- Agrawal et al. [2018] Akshay Agrawal, Robin Verschueren, Steven Diamond, and Stephen Boyd. A rewriting system for convex optimization problems. Journal of Control and Decision, 5(1):42–60, 2018.
- Boyd and Vandenberghe [2004] Stephen Boyd and Lieven Vandenberghe. Convex optimization. Cambridge university press, 2004.
- Crippa and Orsini [2016] Alessio Crippa and Nicola Orsini. Multivariate dose-response meta-analysis: The dosresmeta R package. Journal of Statistical Software, Code Snippets, 72(1):1–15, 2016. doi: 10.18637/jss.v072.c01.
- Crippa et al. [2019] Alessio Crippa, Andrea Discacciati, Matteo Bottai, Donna Spiegelman, and Nicola Orsini. One-stage dose–response meta-analysis for aggregated data. Statistical methods in medical research, 28(5):1579–1596, 2019.
- Dai et al. [2022] Xiaochen Dai, Gabriela F Gil, Marissa B Reitsma, Noah S Ahmad, Jason A Anderson, Catherine Bisignano, Sinclair Carr, Rachel Feldman, Simon I Hay, Jiawei He, et al. Health effects associated with smoking: a burden of proof study. Nature medicine, 28(10):2045–2055, 2022.
- Deeks et al. [2019] Jonathan J Deeks, Julian PT Higgins, Douglas G Altman, and Cochrane Statistical Methods Group. Analysing data and undertaking meta-analyses. Cochrane handbook for systematic reviews of interventions, pages 241–284, 2019.
- Diamond and Boyd [2016] Steven Diamond and Stephen Boyd. CVXPY: A Python-embedded modeling language for convex optimization. Journal of Machine Learning Research, 17(83):1–5, 2016.
- Gautschi [1997] Walter Gautschi. Numerical analysis: an introduction. Birkhauser Boston Inc., USA, 1997. ISBN 0817638954.
- Grant et al. [2006] Michael Grant, Stephen Boyd, and Yinyu Ye. Disciplined convex programming. Springer, 2006.
- Greenland and Longnecker [1992] Sander Greenland and Matthew P. Longnecker. Methods for trend estimation from summarized dose-response data, with applications to meta-analysis. American journal of epidemiology, 135 11:1301–9, 1992. URL https://api.semanticscholar.org/CorpusID:31135711.
- Haidich [2010] Anna-Bettina Haidich. Meta-analysis in medical research. Hippokratia, 14(Suppl 1):29, 2010.
- Hamling et al. [2008] Jan Hamling, Peter Lee, Rolf Weitkunat, and Mathias Ambühl. Facilitating meta-analyses by deriving relative effect and precision estimates for alternative comparisons from a set of estimates presented by exposure level or disease category. Statistics in medicine, 27(7):954–970, 2008.
- Itoga et al. [2018] Nathan K Itoga, Daniel S Tawfik, Charles K Lee, Satoshi Maruyama, Nicholas J Leeper, and Tara I Chang. Association of blood pressure measurements with peripheral artery disease events: reanalysis of the allhat data. Circulation, 138(17):1805–1814, 2018.
- Kariya and Kurata [2004] Takeaki Kariya and Hiroshi Kurata. Generalized least squares. John Wiley & Sons, 2004.
- Lescinsky et al. [2022] Haley Lescinsky, Ashkan Afshin, Charlie Ashbaugh, Catherine Bisignano, Michael Brauer, Giannina Ferrara, Simon I Hay, Jiawei He, Vincent Iannucci, Laurie B Marczak, et al. Health effects associated with consumption of unprocessed red meat: a burden of proof study. Nature Medicine, 28(10):2075–2082, 2022.
- Liu et al. [2009] Qin Liu, Nancy R Cook, Anna Bergström, and Chung-Cheng Hsieh. A two-stage hierarchical regression model for meta-analysis of epidemiologic nonlinear dose–response data. Computational Statistics & Data Analysis, 53(12):4157–4167, 2009.
- Orsini et al. [2012] Nicola Orsini, Ruifeng Li, Alicja Wolk, Polyna Khudyakov, and Donna Spiegelman. Meta-analysis for linear and nonlinear dose-response relations: examples, an evaluation of approximations, and software. American journal of epidemiology, 175(1):66–73, 2012.
- Razo et al. [2022] Christian Razo, Catherine A Welgan, Catherine O Johnson, Susan A McLaughlin, Vincent Iannucci, Anthony Rodgers, Nelson Wang, Kate E LeGrand, Reed JD Sorensen, Jiawei He, et al. Effects of elevated systolic blood pressure on ischemic heart disease: a burden of proof study. Nature medicine, 28(10):2056–2065, 2022.
- Rudin et al. [1964] Walter Rudin et al. Principles of mathematical analysis, volume 3. McGraw-hill New York, 1964.
- Schmidt and Kohlmann [2008] Carsten Oliver Schmidt and Thomas Kohlmann. When to use the odds ratio or the relative risk? International journal of public health, 53(3):165, 2008.
- Stanaway et al. [2022] Jeffrey D Stanaway, Ashkan Afshin, Charlie Ashbaugh, Catherine Bisignano, Michael Brauer, Giannina Ferrara, Vanessa Garcia, Demewoz Haile, Simon I Hay, Jiawei He, et al. Health effects associated with vegetable consumption: a burden of proof study. Nature medicine, 28(10):2066–2074, 2022.
- Zheng et al. [2021] Peng Zheng, Ryan Barber, Reed JD Sorensen, Christopher JL Murray, and Aleksandr Y Aravkin. Trimmed constrained mixed effects models: formulations and algorithms. Journal of Computational and Graphical Statistics, 30(3):544–556, 2021.
- Zheng et al. [2022] Peng Zheng, Aleksandr Aravkin, Christopher Murray, et al. The burden of proof studies: assessing the evidence of risk. Nature Medicine, 28(10):2038–2044, 2022.
8 Appendix
In this section, we provide proofs of theorems presented throughout this work.
8.1 Proof of Theorem 4.1
Take defined as in equation (7). is continuous on its domain . First, we show that is proper, i.e., for some positive values of , and that for any . For this fact, we need the hypothesis in the statement of the theorem. Let is the vector of ones of length , i.e., . Since, by hypothesis, and , inspection. Also by inspection, is not equal to for any in its domain.
Next, is optimized over the compact set . Since, by hypothesis, and , inspection. Also by inspection, is not equal to for any in its domain. Since is continuous on the compact domain , it attains its minimum and maximum values. Since is strictly convex, this minimizer must be unique. This completes the proof.
8.2 Proof of Theorem 4.2
Take as defined in equation (13). This proof will follow the same structure as the proof for Theorem 4.1. We need only show is proper and that it has compact sublevel sets since is clearly continuous on the domain . To show that is proper, similar to the proof of Theorem (4.1), consider the case when is the vector of ones of length . By the hypothesis in the statement of Theorem 4.2, , so that is finite by inspection. Also by inspection, is never equal to on any point in its domain.
Next, we show that has compact sublevel sets, that is,
are closed and bounded. The closed prpoerty follows immediately by continuity. Next, for a sequence of , as since is a sum of affine functions and entropic distance functions in all coordinates, see equation (11). As , the terms in increase faster than linear terms. This implies directly that any sublevel set of must have an upper bound. Thus, has compact sublevel sets. In particular, attains its minimum and maximum for any choice of sublevel set, so in particular we can consider , the vector of all ones discussed in the previous paragraph. Once we know attains its minimum, we also know that the minimum is unique by strict convexity of the entropic distance.
8.3 Proof of Theorem 5.1
To prove the result, we simplify and rewrite the equations
Dividing the equations we obtain
Defining now we have
Multiplying by we have
The solution is given by
where
We want to show that each piece is . In fact we have
The minimum with respect to of the inside expression occurs at . Plugging in, that gives us
so as a result we have
Next, we have
Finally, we have
Putting everything together, we get
Thus a solution always exists.
To see that only one solution is positive, recall the form of the solution:
We can observe that
and as a result
That means we have
Plugging in to the first equation, we have
and we have found the unique positive solution. This completes the proof.
8.4 Proof of Theorem 5.2
We prove this theorem by induction. For the base case, when , the existence of a unique positive solution follows immediately from Theorem 5.1. For the inductive hypothesis, suppose that for a given for the dimension of our vectors and , we have the positive solution pair that simultaneously satisfy the system (16). Thus, we have that
If we continue to the step , we add strictly positive terms to the right hand side, and hence we have strict inequalities
(19) |
and without loss of generality, we may assume that so that . Otherwise, we can suitably reorder the terms and apply the inductive hypothesis.
Define the functions by
The remaining work is focused on finding the such that , and is separated into two steps:
-
Step 1
Show that we can find points , , with
and
These points, along with from the inductive hypothesis, are shown in Figure 7 and the four points set up continuation arguments used in Step 2.
-
Step 2
Show that, by continuity of the solution maps, either case above leads to the existence of simultaneously satisfying .
Step 1 proof:
First, we observe that
As long as we take where , we can then find a large enough value satisfying . Next, we have
for any , so in particular we can select a large enough with and . This gives us a point in the lower-right quadrant of Figure 7.
Now we observe that
along the path . Along this same path, we have
as well. We can thus select a large enough value and for which and . This gives us the point in the upper-right quadrant of Figure 7.
Next, consider and take
With these definitions, we have
for small . Thus for we get a point with and . This gives us a point in the upper left quadrant of Figure 7.
Finally, by the inductive hypothesis, we have and , which gives us a point in the lower left quadrant of Figure 7.
Step 2 Proof:
To show that there is a point such that the inequalities (19) become equalities, we create separate interpolations relying on the intermediate value theorem (IVT) Rudin et al. [1964].
Consider the points and and the convex combination
We have , so by the IVT there is a with .
If , we proceed to Case 1 below. If , we have a point of intersection below the axis, as shown in Figure 8. We then apply IVT to and . If the crossing point obtained from the IVT is above the axis, we proceed to Case 2 below, and if it is below the axis, we proceed to Case 1 below.
-
Case 1:
or IVT applied to and yields a point below the axis. In either case, applying the IVT twice, we obtain two points along the axis, as shown in Figure 9, with opposite signs along . The constraint is easily incorporated into , which becomes
Clearly has opposite signs for the two points of intersection in Figure 9, and applying IVT again we find the point .
-
Case 3:
In this case, we have successfully found two points with , and opposite signs with respect to . Just as in the previous case, we can explicitly incorporate the constraint into , to obtain
Clearly has opposite signs now for the two crossing points shown on the axis of Figure 8, and by IVT, we have existence of .
8.5 Proof of Theorem 5.3
To prove the result, we simplify and rewrite the equations
Dividing the equations we obtain
Defining now we have
with the inherited constraint that , since by definition. Multiplying by we have
The solution is given by
where
By inspection the coefficient for is given by
which is always positive. The coefficient for is given by
This term is non-negative exactly when . Finally, the constant term is given by
The condition for when this term is non-negative can also be written in terms of :
It is easy to find a counter-example when these conditions are violated, and where .
This yields , so there is no solution. In this case, , while , so both inequalities are violated, the latter significantly. The result is easily achievable, since we just want to find with
This gives us