Signature
OR_10 = exp(b_1); OR_01 = exp(b_2); OR_11 = exp(b_1 + b_2 + b_3); RERI_b = OR_11 - OR_10 - OR_01 + 1; h_1 = OR_11 - OR_10; h_2 = OR_11 - OR_01; h_3 = OR_11; V_R = h_1^2 * V_1 + h_2^2 * V_2 + h_3^2 * V_3 + 2 * h_1 * h_2 * C_12 + 2 * h_1 * h_3 * C_13 + 2 * h_2 * h_3 * C_23; SE_R = sqrt(V_R); L_R = RERI_b - z * SE_R; U_R = RERI_b + z * SE_R
| Inputs | Definition | Unit |
|---|---|---|
b_1 | Log ratio of the first exposure in the absence of the second | log ratio |
b_2 | Log ratio of the second exposure in the absence of the first | log ratio |
b_3 | Coefficient on the product of the two exposure indicators | log ratio |
V_1 | Variance of b_1 from the fitted variance-covariance matrix; zero or above | log ratio squared |
V_2 | Variance of b_2 from the fitted variance-covariance matrix; zero or above | log ratio squared |
V_3 | Variance of b_3 from the fitted variance-covariance matrix; zero or above | log ratio squared |
C_12 | Covariance of b_1 and b_2 from the fitted variance-covariance matrix | log ratio squared |
C_13 | Covariance of b_1 and b_3 from the fitted variance-covariance matrix | log ratio squared |
C_23 | Covariance of b_2 and b_3 from the fitted variance-covariance matrix | log ratio squared |
z | Standard normal critical value, 1.96 for a 95% interval | standard deviations |
OR_10 | Exponential of b_1, an intermediate output | ratio, no unit |
|---|---|---|
OR_01 | Exponential of b_2, an intermediate output | ratio, no unit |
OR_11 | Exponential of the sum of the three coefficients, an intermediate output | ratio, no unit |
RERI_b | Relative excess risk due to interaction from the three coefficients | excess relative risk, no unit |
h_1 | Joint ratio minus the ratio for the first exposure alone, an intermediate output | excess relative risk per log ratio |
h_2 | Joint ratio minus the ratio for the second exposure alone, an intermediate output | excess relative risk per log ratio |
h_3 | Equal to the joint ratio, an intermediate output | excess relative risk per log ratio |
V_R | Quadratic form of the three derivatives with the coefficient variances and covariances, an intermediate output | excess relative risk squared |
SE_R | Square root of the delta-method variance | excess relative risk, no unit |
L_R | Point estimate minus z standard errors | excess relative risk, no unit |
U_R | Point estimate plus z standard errors | excess relative risk, no unit |
Function
Additive interaction of two binary exposures from stratum risks, relative risks or regression coefficients
Maps the outcome risks of the four joint strata of two binary exposures, the three relative risks against the doubly unexposed stratum, or three regression coefficients, to the measures of how far a joint effect departs from the sum of the separate effects (IC, RERI, AP, AP_J and S) and to the multiplicative measure M that the additive scale is read beside. A risk difference inside a stratum takes the form of HE-FM-ARR-001 with the arms read the other way round, a relative effect applied to a baseline risk is HE-FM-ARR-002, and the cost per case prevented or per QALY that follows is HE-FM-ICER-001. The same two no-interaction forms written on utilities are U_add and U_mult of HE-FM-DISU-002. The four-cell subtraction in IC has the algebra of HE-FM-DID-001, which is defined on group means before and after a policy. Notation follows the Additive Interaction Scale article.
Try this function
Implementations
Excel
Delta-method interval for RERI from named coefficient and covariance cells
With the coefficients in CoefFirst, CoefSecond and CoefProduct, the matrix entries in VarCoefFirst, VarCoefSecond, VarCoefProduct, CovFirstSecond, CovFirstProduct and CovSecondProduct, the critical value in CriticalZ and the HE-IM-ADDS-004 cells in place, the formulas return GradFirst, GradSecond, GradProduct, VarReri, SeReri, LowerReri and UpperReri. VarReri can only be negative through a mistyped matrix, and SQRT then returns #NUM!.
=OddsRatioBoth-OddsRatioFirst; =OddsRatioBoth-OddsRatioSecond; =OddsRatioBoth; =GradFirst^2*VarCoefFirst+GradSecond^2*VarCoefSecond+GradProduct^2*VarCoefProduct+2*GradFirst*GradSecond*CovFirstSecond+2*GradFirst*GradProduct*CovFirstProduct+2*GradSecond*GradProduct*CovSecondProduct; =SQRT(VarReri); =ReriFromCoef-CriticalZ*SeReri; =ReriFromCoef+CriticalZ*SeReri
Assumptions
Large-sample normality of the RERI estimate
The interval treats RERI as approximately normal on its own scale. Richardson and Kaufman report that likelihood-based intervals may differ substantially from these asymptotic ones. They cite Assmann and colleagues for better coverage from bootstrapping, while their own first example finds that the bootstrap did not perform well in data of that size.
Coefficients and covariances from one model with the reference stratum as coded
All three coefficients and all six variance and covariance terms come from the same fit, with exposures already coded so that neither is preventive (HE-AS-ADDS-010). Recoding changes the coefficients and the matrix, so the matrix must be read from the recoded fit.
Worked examples
Recoded ACE inhibitor and ACE gene data from Knol and colleagues
The inputs are the coefficients and matrix of a saturated logistic model on the Table 1 counts of Knol and colleagues, with use of ACE inhibitors without the DD genotype as the reference, worked out here from the counts and given to six decimals. Their reported RERI and 95% interval after recoding are minus 0.37 (minus 1.23 to 0.49), which the chain returns.
b_1 = 0.354558; b_2 = 0.206772; b_3 = -0.311058; V_1 = 0.032382; V_2 = 0.074928; V_3 = 0.115588; C_12 = 0.020002; C_13 = -0.032382; C_23 = -0.074928; z = 1.96; OR_10 = 1.4256; OR_01 = 1.2297; OR_11 = 1.2844; RERI_b = -0.3709; h_1 = -0.1412; h_2 = 0.0547; h_3 = 1.2844; V_R = 0.1925; SE_R = 0.4387; L_R = -1.2307; U_R = 0.4890
Limiting case with no uncertainty in the coefficients
With the coefficients of HE-EX-ADDS-010 and every variance and covariance set to zero (an illustrative limit), the standard error is 0 and both limits equal the point estimate.
b_1 = 0.18; b_2 = 0.72; b_3 = 0.01; V_1 = 0; V_2 = 0; V_3 = 0; C_12 = 0; C_13 = 0; C_23 = 0; z = 1.96; OR_10 = 1.1972; OR_01 = 2.0544; OR_11 = 2.4843; RERI_b = 0.2327; h_1 = 1.2871; h_2 = 0.4299; h_3 = 2.4843; V_R = 0; SE_R = 0; L_R = 0.2327; U_R = 0.2327
Common errors
Leaving the covariances out of the RERI variance
The product coefficient shares strata with both main effects, so the matrix has covariances that matter when both main effects are large. With relative risks of 3, 4 and 12 and an illustrative log-odds variance of 0.05 in every stratum, V_R is 9.7 with the covariances and 43.3 without, a standard error of 3.11 against 6.58 (derived). In the first worked example the main effect derivatives are small and dropping the covariances changes the standard error by less than 0.01, so a small change there is no guide to other data.
Treating the delta-method interval as the only interval for RERI
Richardson and Kaufman report that likelihood-based bounds may differ substantially from the asymptotic ones, while Knol and colleagues report that the method of Zou gave similar intervals in their data. Agreement in one dataset does not settle the choice for another.
Sources
Knol and colleagues on the delta method and the printed intervals
Knol MJ, VanderWeele TJ, Groenwold RH, Klungel OH, Rovers MM, Grobbee DE. Estimating measures of interaction on an additive scale for preventive exposures. European Journal of Epidemiology. 2011;26(6):433-438. doi:10.1007/s10654-011-9554-9. Section Analyses calculates the three measures and their 95% intervals by the delta method, and reports similar intervals from the method of Zou. Table 2 gives RERI of minus 0.37 with limits of minus 1.23 and 0.49 after recoding, and Table 1 gives the counts used in the worked example.
Knol and VanderWeele on the delta method for additive interaction
Knol MJ, VanderWeele TJ. Recommendations for presenting analyses of effect modification and interaction. International Journal of Epidemiology. 2012;41(2):514-520. doi:10.1093/ije/dyr218. Full text read in PMC3324457. Section Effect Modification, subsection Example, reports RERI of 0.36 with a 95% interval from the delta method of minus 0.003 to 0.73, citing Hosmer and Lemeshow, and section Conclusion describes tools that calculate additive measures and intervals by the delta method from standard output.
Richardson and Kaufman on asymptotic and likelihood-based intervals for RERI
Richardson DB, Kaufman JS. Estimation of the relative excess risk due to interaction and associated confidence bounds. American Journal of Epidemiology. 2009;169(6):756-760. doi:10.1093/aje/kwn411. Abstract and introduction (full text read in PMC3139969). Likelihood-based confidence intervals may differ substantially from the asymptotic estimates advocated by previous authors. Hosmer and Lemeshow's approach uses the output of a logistic model and acknowledges the limits of Wald-type intervals, and Assmann and colleagues showed that bootstrapping may give better coverage. Example 1 finds that the nonparametric bootstrap did not perform well in data of that size.
Mathur and VanderWeele on delta-method inference from the coefficient matrix
Mathur MB, VanderWeele TJ. R function for additive interaction measures. Epidemiology. 2018;29(1):e5-e6 (read as the PMC author manuscript PMC5718923; erratum Epidemiology. 2019;30(4):e30, read, corrects only the last two rows of the Table). doi:10.1097/EDE.0000000000000752. The R function uses fitted coefficients and their estimated variance-covariance matrix to compute the measures with confidence intervals and P values based on the delta method.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
