Causal inference via propensity scores for case–control studies
Abstract
Propensity score methods for causal inference are increasingly being used in cohort and experimental designs, but their development and uptake in outcome-dependent sampling schemes, such as case–control studies, remains limited. Case–control studies involve the sampling of individuals with and without an outcome of interest with the goal of estimating the effects of past exposures. When the design is observational, statistical adjustment for confounding bias is necessary. In case–control studies, propensity score models can be fit using control data under the assumption that the controls are representative of the source population with respect to their exposure distribution conditional on covariates (“control exchangeability”). In this paper, we first demonstrate that relative effects, such as causal risk ratios, are estimable under three different case–control design variants using control-fitted propensity scores. We appropriate two existing estimators for these designs: inverse probability of treatment weighting and an efficient and doubly robust estimator. We also introduce a novel two-step propensity score caliper-matching procedure for case–control designs. We introduce novel diagnostic tools to verify two necessary types of overlap. We then contrast our estimators using simulated data and apply them to examine the association between regular aspirin use and ovarian cancer risk.
Key words: Propensity scores, causal inference, case–control studies, inverse probability of treatment weighting, doubly robust estimation, overlap diagnostics
Introduction
Propensity score methods are now widely used in observational epidemiological studies to address confounding when randomization is not feasible. Since their formal introduction by Rosenbaum and Rubin, 20 propensity score methods have been developed for cohort and experimental designs through weighting, matching, stratification, adjustment, and doubly robust approaches. 20, 8, 3, 24 Application of propensity score methods aims to balance measured confounders across exposure groups and reduce bias in the estimation of causal effects under identification assumptions. However, outcome-dependent sampling inherent in case–control (CC) designs complicates estimation and application. 14, 17 Perhaps consequently, causal inference methods for CC data have had relatively limited development and uptake. 15 Despite this, CC studies are convenient and frequently employed in the context of rare outcomes and rapidly evolving settings where prospective studies may be infeasible or more expensive.
CC data are typically analyzed using multivariable logistic regression to adjust for confounding, but this approach is biased when the model is misspecified. While past work has demonstrated that nonparametric causal effect estimation is feasible in the CC setting when the outcome prevalence or sampling probabilities are known, 27, 17 these quantities are typically not available for the specific population under study. When selected controls are representative of the source population with respect to the exposure distribution conditional on measured covariates (“control exchangeability”), a condition that is notably satisfied under a rare outcome assumption, propensity scores can be consistently estimated using only the controls in CC settings even when the outcome prevalence or sampling probabilities are unknown. 16 The rare outcome assumption is typically applicable because the CC design is usually used in this context. 28 Under control exchangeability, propensity score models fit with control data can be incorporated into inverse probability of treatment weighting (IPTW) estimators. 14 Additionally, a semiparametric efficient doubly robust estimator 9 has been developed for the test-negative design (TND), a CC variant in which cases and controls are identified according to diagnostic test results among care-seeking individuals. 25
Propensity score matching is an alternative design-based method for causal inference. It is often viewed as a more intuitive approach, particularly for “non-technical audiences”, 21 but was not previously adapted to CC studies. In general, individual matching of cases to controls based on covariates in CC studies reduces estimation variance. But this kind of matching does not itself control for confounding bias, and may rather introduce selection bias. 12, 13
In this paper, we revisit past results 16, 14 for CC designs showing that propensity scores are identified using control data under a rare-disease assumption, allowing for the estimation of population relative effects, even when the prevalence of the outcome in the population or sampling probabilities are unknown. We introduce the more general notion of “control exchangeability” for general CC designs to clarify the specific condition under which propensity score estimation is possible. We then present a gamut of relative effect estimation procedures to facilitate the uptake of causal inference methodology in CC data analyses. We appropriate an existing IPTW estimator and a semiparametric-efficient and doubly robust estimator to the general CC setting. We introduce a novel two-stage propensity score matching approach that, unlike standard CC matching, can control for confounding bias, and four diagnostics to verify whether there is sufficient propensity score overlap between treated and untreated controls and between cases and controls, respectively. Finally, we apply this methodology to data from a CC study investigating the effect of regular aspirin use on the incidence of ovarian cancer.22
Methodology
We are interested in estimating the effect of a binary exposure or treatment on an outcome . We denote the multivariate set of measured confounders as . We will consider two target parameters of interest: the marginal population risk ratio (mRR),
and the marginal risk ratio among the treated (mRRT),
| (1) |
Under typical causal assumptions, these parameters can be interpreted causally. The latter parameter may be of most interest when all treated individuals () have a non-zero probability of having been untreated () but some untreated individuals have zero probability of being treated given the values of their confounders .
Case–control design
CC studies separately recruit individuals with () and without () the study outcome. We define to indicate eligibility for study inclusion as a case and for eligibility as a control. Overall eligibility is denoted . All cases are eligible, so that or . Controls are eligible up to an investigator-specified sampling fraction depending on the desired ratio of cases to controls. We define to be the overall probability of eligibility, a generally unknown quantity depending on the proportion of cases in the population as well as the investigator-specified sampling fraction. The complete data are defined as . We sample i.i.d. draws from , and i.i.d. draws from , defining with individual-specific data denoted .
In the case of a rare outcome, we may assume that the controls are representative of the source population in terms of the conditional distribution of the exposure. That is, approximately holds.16 In past work, we named this the “control exchangeability” assumption.9 The directed acyclic graph (DAG) in Figure 1 (A) represents the CC design. The rarity of lets us ignore the link between case () and control () status (since controls are essentially the entire population) such that the independence between and can be interpreted directly from the DAG. This assumption directly enables estimation of propensity scores through , where represents the probability induced by CC sampling. Throughout the paper, we use and with no subscript to represent probability and expectation in the source population.
Identifiability of relative effects with rare outcome CC data using an IPTW g-formula was discussed by Robins 16 and Mansson 14 and applied by Rose and van der Laan. 17, 19 They used the identifiability formula,
| (2) |
assuming positivity s.t. almost surely. We give our proof in Appendix A. When the target parameter is a contrast on the relative scale, such as , the constant cancels out and does not need to be estimated.
For the parameter of the risk ratio effect among the treated, the numerator is simply the probability of experiencing the outcome in the treated population. It can be identified up to a constant in the CC sampling design through where is the probability of inclusion in the treated subpopulation. Similarly, under a weaker positivity condition, almost surely, the denominator can be identified up to the same constant through the IPTW formula,
where, as before, the population propensity scores are equal to propensity scores conditional on the control condition and therefore estimable in the CC sample. The proof is given in Appendix B. Again, the constant cancels out in the IPTW formula of and does not need to be estimated.
Case-control variants
Case–cohort designs are similar in that they sample all individuals with the outcome () but sample controls from the general population (cohort) regardless of their outcome. Using the same notation as before, if the sampling of controls is either completely random or conditional on measured covariates, we once again satisfy the assumption that controls are independent of the exposure conditional on covariates, . Thus, propensity scores are identified using the control data and the same IPTW formulas hold.
The TND, another CC variant, is discussed in Appendix C. Figure 1 (B) and (C) are DAGs representing assumed case–cohort and TND data-generating models, respectively.
Estimators
For estimation, a propensity score model is fit using only the control data; then this fit is used to predict propensity scores for all study participants. We will review IPTW for CC studies applied to estimate both and . We also review a semiparametric efficient and doubly robust (or double machine learning) estimator first proposed for the TND 9 but directly applicable to any of these three CC study designs; we apply this method to estimate . We then propose a novel propensity score matching procedure to estimate .
Inverse probability of treatment weighted estimation of and
IPTW involves the construction of weights that are used to reweight the sample outcomes in order to adjust for measured covariates. We use to denote the propensity score for each participant .
For the estimation of , the weights for the treated individuals may be defined as and for the untreated as . For the estimation of , the weights are redefined for the treated as and for the untreated as . The IPTW estimator of either parameter is then given as
We denote the estimators of respective quantities as and . We note that if there are some values of close to 0 or 1, regularization or truncation may be necessary to avoid numerical instability attributable to divisions by near-zero values.
Doubly robust estimation of
Following,9 we note that the mRR can be equivalently written as where for . A one-step efficient and doubly robust estimator of 9 begins with estimators of and , denoted and respectively for each participant . We then define the one-step estimator of as
| (3) |
The mRR is then estimated as . Cross-fitting can be used to lessen regularity assumptions of the estimators of and . Root- asymptotic normality of requires rates of convergence of the estimators of and , which implies that certain flexible machine learning methods can be used to estimate these quantities. 9 We note that if there are some values of close to 0 or close to 1, additional regularization or truncation may be necessary.
Propensity score matching for confounder control for estimation of
We propose a two-stage radius matching procedure with replacement to estimate , which is practical when there are a large number of candidate control participants relative to the treated participants. First, propensity scores are estimated by fitting a model on control participants and predicting scores for the entire sample. Matching is then performed on the logit propensity score, defining closeness between units and as the distance . Both stages utilize radius matching, 7, 6, 5 where the first step is restricted to controls and the second matches controls to cases among the untreated individuals, including all available matches within a pre-defined radius (or “caliper”).
First stage: matching for covariate balance among the controls. We retain all treated controls (by defining the weight ) and match them with replacement to untreated controls within radius . For untreated controls, is the sum of the fraction importance of each match to a treated observation (e.g., if matched to two treated controls that have 3 and 4 total matches, respectively). At this stage, one can assess the success of the matching in creating an untreated control group that has good covariate balance with respect to the treated control group. If an acceptable balance is not obtained, matching parameters such as radius and propensity score model can be modified.
Second stage: donor matching. We now consider the cases. Each treated case is retained (). For each untreated case , we identify all untreated controls within a radius (with replacement) and “donate” the mean of their first-stage weights to case . So if we identify two untreated controls and within radius of case , we match both to untreated case , by setting .
The matching estimator can then be defined as
| (4) |
The proof of convergence of the matching estimator is given in Appendix D. The complete matching algorithm is given in Figure 2 and pseudocode in Table S1 in Appendix E.
Ideally, all treated controls and untreated cases are retained. But if in either stage a match cannot be obtained, the treated control or untreated case is removed, indicating a lack of overlap in the propensity scores between the comparison groups. While radii can be adjusted to limit these exclusions, our implementation in Figure 2 forces a nearest-neighbor match in the first stage even if no neighbors are within the radius.
Inference
Bootstrap resampling to approximate the estimation variance is valid for the IPTW, one-step, and radius matching estimators under regularity assumptions of the estimation of the propensity score function. 17, 5, 1 For CC and case–cohort, resampling is done separately in the cases and controls while for the TND, resampling is done in the full dataset. We use these approaches in the simulation study and application.
Diagnostic procedures
We propose two steps of CC diagnostic procedures, for the estimation of and . We recommend these procedures for both matching and algorithms using inverse weighting (like IPTW and the one-step estimator).
For both the and , after constructing the weights (either with matching or directly), the first step is to check propensity score overlap and covariate balance between the weighted treated controls and the weighted untreated controls. This step is akin to the standard overlap and balance-checking step in a prospective cohort study since the controls reflect the source population. Propensity score overlap can be visualized using histograms (e.g., top row of Figure 3), while standardized mean differences (SMDs) 2 can evaluate the similarity in the central tendency of the weighted covariate distributions between treatment groups in the controls; see top half of Table 1.
The second step verifies propensity score overlap between untreated cases and untreated controls (see bottom left of Figure 3). When estimating , overlap should also be compared between treated cases and treated controls (Section G.3 in Appendix), as non-overlap indicates that we are extrapolating when predicting values for the cases. For matching, we also recommend verifying post-weighting propensity score overlap between untreated cases and untreated “donor” controls, where the untreated controls are weighted corresponding to the sum of their donor fractions (see bottom right of Figure 3). Covariate balance should be assessed by contrasting each untreated case with its donor set, using the mean difference between the case’s covariate value and the donor set mean for each covariate (Table 1). The complete covariate balance checking algorithms for IPTW and matching are presented in Tables S2 and S3 in Appendix F, respectively.
Simulations
We use simulated CC data to contrast the matching estimator and IPTW for the estimation of and the one-step estimator, IPTW, and logistic regression for the estimation of . We further tested our procedures with simulated TND data (procedures and results are given in Appendix G).
Data simulation
We repeatedly generated a source population of individuals with an overall disease prevalence of approximately 1%, from which CC data were sampled. Two continuous covariates ( and ) were generated from a bivariate normal distribution and affected both exposure () and disease (). The outcome was generated from a logistic model including , , , and an interaction between and to induce effect modification. In scenario (a), the probability of exposure was set to zero when to induce partial non-overlap and reflect a one-sided violation of the positivity assumption. Thus, represents an appropriate target parameter and is undefined. Scenario (b) removed this restriction so that is defined, whereas scenario (c) used a non-linear treatment model. In all scenarios, the analytic CC dataset was formed by randomly sampling 1,000 cases () and 4,000 controls (). Appendix G provides the full data-generating mechanisms and scenario (c) results.
Diagnostic checking and matching radius selection
We present the results of the proposed diagnostic checks for the mRRT using a single simulated dataset. Table 1 presents the covariate balance before and after applying IPTW or matching. Matching radii were defined as for stage , where is the standard deviation of the logit of the propensity scores in the relevant subset (see Figure 2). Four radius values were considered: and . In stage one, the treated and untreated controls initially exhibited substantial imbalance, with SMDs exceeding 0.7. Applying IPTW reduced the SMDs to below 0.01. For matching, covariate balance improved markedly as decreased, with SMD also falling below 0.01. A similar pattern was observed in stage two as decreased. We therefore selected , which achieved a good balance. Figure 3 illustrates the pre- and post-weighting propensity score overlap. The distribution of treated and untreated controls initially showed non-overlap of untreated with propensity scores near zero, but this is not a violation when estimating the mRRT. After weighting or matching, the histograms overlapped almost perfectly. In stage two (bottom row), pre-matching overlap between untreated cases and controls suggested that the propensity score model did not substantially extrapolate, and matching produced excellent alignment.
| First stage: balance between treated and untreated controls | |||||
| Variable | SMD | ||||
| Before weighting | Size | 2885 | 1115 | ||
| -0.210 (0.994) | 0.476 (0.785) | 0.767 | |||
| -0.193 (0.974) | 0.520 (0.950) | 0.741 | |||
| IPTW | 0.470 (0.807) | 0.476 (0.784) | 0.007 | ||
| 0.519 (0.960) | 0.520 (0.950) | 0.002 | |||
| Matching | 0.05 | Size | 2252 | 1115 | |
| 0.449 (0.795) | 0.476 (0.784) | 0.034 | |||
| 0.483 (0.944) | 0.520 (0.950) | 0.039 | |||
| 0.03 | Size | 2247 | 1115 | ||
| 0.462 (0.799) | 0.476 (0.784) | 0.018 | |||
| 0.508 (0.959) | 0.520 (0.950) | 0.013 | |||
| 0.01 | Size | 2225 | 1115 | ||
| 0.465 (0.801) | 0.476 (0.784) | 0.014 | |||
| 0.523 (0.966) | 0.520 (0.950) | 0.003 | |||
| 0.005 | Size | 2210 | 1115 | ||
| 0.464 (0.799) | 0.476 (0.784) | 0.015 | |||
| 0.525 (0.969) | 0.520 (0.950) | 0.005 | |||
| Second stage: balance of donor matching (independent of ) between untreated cases and controls | |||||
| Variable | SMD | ||||
| Before weighting | Size | 2885 | 536 | ||
| -0.210 (0.994) | 0.324 (0.954) | 0.549 | |||
| -0.193 (0.974) | 0.416 (0.897) | 0.651 | |||
| Matching | 0.05 | Size | 2841 | 535 | |
| 0.260 (0.903) | 0.321 (0.951) | 0.065 | |||
| 0.391 (0.894) | 0.411 (0.887) | 0.022 | |||
| 0.03 | Size | 2819 | 535 | ||
| 0.280 (0.917) | 0.321 (0.951) | 0.043 | |||
| 0.412 (0.896) | 0.411 (0.887) | 0.002 | |||
| 0.02 | Size | 2793 | 534 | ||
| 0.286 (0.922) | 0.318 (0.949) | 0.034 | |||
| 0.414 (0.888) | 0.405 (0.880) | 0.010 | |||
| 0.01 | Size | 2685 | 534 | ||
| 0.289 (0.923) | 0.318 (0.949) | 0.030 | |||
| 0.419 (0.890) | 0.405 (0.880) | 0.015 | |||
Results
Table 2 summarizes the performance of the IPTW, one-step, and matching estimators for estimating the mRRT and mRR on 500 replications. In scenario (a), when targeting the mRRT (true value 0.93), the IPTW performed well with negligible bias and close agreement between MC and BS standard errors, yielding a coverage rate of 95.6%. The matching estimator was sensitive to the radius: larger values, especially , produced noticeable bias and lower coverage, reaching 82%, whereas smaller radii improved both. For and , the bias was below 0.02 and the coverage rates remained high, typically between 95.8% and 98%.
Scenario (b) evaluated the estimation of the mRR (true value 0.77). IPTW and one-step estimators performed well, producing estimates close to the true value and coverage rates near the nominal level (93.6% and 94.6%, respectively). In contrast, the logistic regression estimator showed higher bias (0.063) and lower coverage (80.6%). In scenario (c), incorporating machine learning substantially improved performance relative to the parametric regression models, reducing bias and increasing coverage (Table S7 in Appendix G.4). This highlighted the benefits of flexible nuisance function estimation, though it may introduce more variance. An empirical demonstration of the double robustness of the one-step estimator is presented in Table S9 in Appendix G.4.
| Method | Bias | MC SE | BS SE | Coverage Rate (%) | |||
| Simulation (a): Estimation of mRRT (true value: 0.933) | |||||||
| IPTW | 0.933 | 0.000 | 0.094 | 0.092 | 95.60 | ||
| Matching | 0.05 | 0.05 | 1.031 | 0.098 | 0.102 | 0.100 | 82.00 |
| 0.03 | 1.004 | 0.071 | 0.102 | 0.101 | 90.60 | ||
| 0.02 | 1.002 | 0.069 | 0.100 | 0.101 | 90.40 | ||
| 0.01 | 1.013 | 0.079 | 0.099 | 0.101 | 87.60 | ||
| 0.03 | 0.05 | 1.002 | 0.069 | 0.103 | 0.102 | 90.20 | |
| 0.03 | 0.971 | 0.038 | 0.103 | 0.104 | 94.20 | ||
| 0.02 | 0.967 | 0.034 | 0.101 | 0.104 | 95.80 | ||
| 0.01 | 0.979 | 0.046 | 0.099 | 0.104 | 95.00 | ||
| 0.01 | 0.05 | 0.987 | 0.054 | 0.103 | 0.103 | 93.00 | |
| 0.03 | 0.952 | 0.019 | 0.104 | 0.106 | 96.20 | ||
| 0.02 | 0.943 | 0.010 | 0.102 | 0.108 | 96.00 | ||
| 0.01 | 0.944 | 0.011 | 0.100 | 0.109 | 98.00 | ||
| 0.005 | 0.05 | 0.986 | 0.053 | 0.103 | 0.103 | 93.40 | |
| 0.03 | 0.950 | 0.017 | 0.104 | 0.106 | 96.20 | ||
| 0.02 | 0.940 | 0.007 | 0.102 | 0.108 | 95.80 | ||
| 0.01 | 0.937 | 0.004 | 0.100 | 0.110 | 97.60 | ||
| Simulation (b): Estimation of conditional RR/mRR (true value: 0.770) | |||||||
| Logistic | 0.708 | 0.063 | 0.060 | 0.059 | 80.60 | ||
| IPTW | 0.777 | 0.006 | 0.066 | 0.066 | 93.60 | ||
| OS | 0.786 | 0.015 | 0.073 | 0.078 | 94.60 | ||
Application
To demonstrate the application of this methodology using real CC study data, we utilized data from the PRevention of OVarian cancer in Quebec (PROVAQ) study to estimate the effect of regular aspirin use on ovarian cancer risk. PROVAQ is a population-based CC study conducted in Montreal, Canada from 2011 to 2016.10 This study recruited female Canadian citizens aged 18–79 years who spoke French or English and resided in the Greater Montreal area. A total of 498 incident ovarian cancer cases (borderline and invasive) were recruited from seven hospitals (78% participation rate), and 908 controls were randomly selected from the Quebec List of Electors (56% participation). Controls were frequency-matched to cases by 5-year age strata and region. In examining a short survey given to non-participants, it was noted that participation among both cases and controls was associated with age and educational attainment. Participants reported information on sociodemographic characteristics, lifestyle, reproductive history, and medical history, including lifetime aspirin use.22 Regular aspirin use was defined as use of at least one tablet per week for at least six consecutive months. Overall, 15.3% of participants reported regular aspirin use (13.7% among cases and 16.2% among controls). Descriptive characteristics of the study population by case status are presented in Table S10 in Appendix H.1.
We implemented IPTW and propensity score matching for the estimation of the mRRT, while logistic regression, IPTW and the one-step doubly robust method were used for the mRR. The control-fitted propensity score model included age, education, the interaction between them, body mass index, history of endometriosis, history of menopausal hormone therapy, duration of oral contraceptive use, pack years of smoking, alcohol consumption, and regular use of other non-opioid analgesics. For matching, the radii were defined as 0.2 times the standard deviation of the logit-transformed propensity scores among controls in stage one and among non-regular aspirin users in stage two after the evaluation of different radius multipliers (see Table S12 in Appendix H). Under this specification, all cases who did not regularly use aspirin were successfully matched during the second stage, and among the options explored, this provided the best overall balance. Thus, the post-matching sample size was equal to the original. To reduce potential model misspecification, we also estimated the nuisance functions (propensity score and outcome probabilities) for IPTW and the one-step estimator using Super Learner (SL), 26 with random forest (SL.randomForest), generalized linear models (SL.glm), generalized additive models (SL.gam), and LASSO (SL.glmnet). When using SL, the estimated treatment and outcome probabilities were truncated at [0.001, 0.999] and [0.05, 0.95].
Diagnostic results of the propensity score overlap are presented in Figures S5-S7 in Appendix H.2. After weighting or matching, the distributions of propensity scores of treated and untreated controls were harmonized. The covariate SMDs (Table S11) were generally reduced after adjustment, with matching achieving overall balance for the mRRT. For the mRR, IPTW with the parametric method also improved balance, whereas SL-based IPTW led to less consistent balance. Second stage matching between untreated cases and untreated controls did not meaningfully improve balance, as the post-matching SMD seemed to be similar to the unweighted values and remained unbalanced for several covariates.
Table 3 presents the estimated mRRT and mRR. All mRRT estimates suggested effect sizes of 0.75-0.78 with matching and IPTW with SL producing bootstrap confidence intervals that exclude the null. For the mRR, point estimates varied between methods relying on parametric models vs. SL. Logistic regression, IPTW, and the one-step method using generalized linear models gave comparable point estimates around 0.77-0.78, though IPTW and one-step had higher standard errors. However, when SL was used in IPTW and the one-step method, the point estimates decreased. For the one-step estimator, the usage of SL led to greatly increased standard errors. This was due to values of the propensity score and of close to zero, leading to large weights. Truncation of these probabilities controlled the standard error and resulted in point estimates of roughly 0.71-0.72 for both IPTW and one-step estimators with SL, though only the IPTW confidence intervals excluded the null.
| Method | Estimate | BS SE | 95% CI |
| Analysis (a): Estimation of mRRT | |||
| IPTW | 0.753 | 0.134 | [0.474, 1.007] |
| IPTW_SL0.001 | 0.777 | 0.125 | [0.469, 0.942] |
| Matching | 0.758 | 0.137 | [0.460, 0.990] |
| Analysis (b): Estimation of conditional RR/mRR | |||
| Logistic | 0.765 | 0.172 | [0.544, 1.067] |
| IPTW | 0.771 | 0.289 | [0.550, 1.627] |
| IPTW_SL0.001 | 0.716 | 0.125 | [0.467, 0.942] |
| IPTW_SL0.05 | 0.714 | 0.116 | [0.460, 0.897] |
| OS | 0.781 | 0.315 | [0.506, 1.634] |
| OS_SL0.001 | 0.674 | 0.617 | [0.082, 2.782] |
| OS_SL0.05 | 0.718 | 0.202 | [0.597, 1.404] |
Discussion
Logistic regression of the outcome on covariates and exposure is the standard approach in CC analysis. The rare outcome assumption that we make also implies that the usual adjusted logistic regression of the outcome approximately estimates risk ratios. However, logistic regression can only estimate populational effects when omitting interaction terms between exposure and any covariate; this omission may result in model misspecification, potentially biasing the resulting estimation.23 Propensity score methods may be beneficial in that they are agnostic to outcome model specification and thus to treatment effect heterogeneity. While the doubly robust estimator requires estimation of the conditional expectation of the outcome in the sample, the double robustness property also allows for nice asymptotic properties while using machine learning, which avoids bias due to model misspecification.9
One limitation of the doubly robust estimator was increased variance in the presence of estimated conditional sample probabilities of the outcome close to one (). This did not impact the IPTW estimator, which had lower variance both in the simulation study and application. We note that this variance inflation issue due to is specific to the CC sampling framework and is not a limitation of doubly robust methods in prospective designs.
We broadly recommend applying our propensity score overlap and covariate balance metrics when conducting CC analyses with propensity scores. Note that these differ from the standard diagnostics used for prospective designs.
Our application dataset used incidence density sampling, where controls are sampled among individuals at risk at the time a case occurs, and sampled conditional on their covariates in order to replicate the distribution observed in cases. While we did not explicitly investigate incidence density sampling theoretically or in the simulation study, we note that it satisfies the requirement that controls are selected independently of treatment conditional on covariates. Thus, we believe that our methods apply directly to this context.
Past work has demonstrated that CC designs that match controls to cases can reduce estimation variance. 18 Our convergence proof for the proposed two-step propensity score matching estimator suggests that the matching estimator implicitly constructs weights approximating treatment-odds weighting within propensity score neighborhoods, while the matching radius serves as a tuning parameter that may improve finite-sample stability. Future work could explore alternative balancing-weight implementations for the mRRT, develop doubly robust and targeted estimators for the mRRT, integrate matched CC designs into our framework and extend the methodology to multilevel categorical exposures.
Conflicts of interest
The authors declare no potential conflict of interests.
Funding
This work was supported by an NSERC Discovery Grant. AK holds the McGill University Chair in Community Cancer Care at St. Mary’s. DT is supported by a research career award from the Fonds de recherche du Québec – Santé (https://doi.org/10.69777/379793, https://doi.org/10.69777/312198). MES holds a tier 2 Canada Research Chair in Machine Learning and Causal Inference.
Data availability statement
R code used to generate the simulated data and conduct the simulation studies will be made available on GitHub (to be uploaded) upon publication. The data used in the applied analysis are not publicly available because of privacy, ethical, and data-use restrictions. Access to these data may be requested from anita.koushik@mcgill.ca, and can be shared contingent on reasonable request and institutional approval.
References
- The use of bootstrapping when using propensity-score matching without replacement: a simulation study. Statistics in Medicine 33 (24), pp. 4306–4319. Note: https://doi.org/10.1002/sim.6276 Cited by: Inference.
- Balance diagnostics for comparing the distribution of baseline covariates between treatment groups in propensity-score matched samples. Statistics in Medicine 28 (25), pp. 3083–3107. Note: https://doi.org/10.1002/sim.3697 Cited by: Diagnostic procedures.
- An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behavioral Research 46 (3), pp. 399–424. Note: https://doi.org/10.1080/00273171.2011.568786 Cited by: Introduction.
- Optimal caliper widths for propensity-score matching when estimating differences in means and differences in proportions in observational studies. Pharmaceutical statistics 10 (2), pp. 150–161. Note: https://doi.org/10.1002/pst.433 Cited by: §G.2.
- Some practical guidance for the implementation of propensity score matching. Journal of Economic Surveys 22 (1), pp. 31–72. Note: https://doi.org/10.1111/j.1467-6419.2007.00527.x Cited by: Propensity score matching for confounder control for estimation of , Inference.
- Propensity score-matching methods for nonexperimental causal studies. Review of Economics and Statistics 84 (1), pp. 151–161. Note: https://doi.org/10.1162/003465302317331982 Cited by: Propensity score matching for confounder control for estimation of .
- Characterizing selection bias using experimental data. National bureau of economic research Cambridge, Mass., USA. Note: https://doi.org/10.3386/w6699 Cited by: Propensity score matching for confounder control for estimation of .
- Estimating causal effects from epidemiological data. Journal of Epidemiology & Community Health 60 (7), pp. 578–586. Note: https://doi.org/10.1136/jech.2004.029496 Cited by: Introduction.
- A double machine learning approach for the evaluation of covid-19 vaccine effectiveness under the test-negative design: analysis of québec administrative data.. Statistics in Medicine 44 (5), pp. e70025. Note: https://doi.org/10.1002/sim.70025 External Links: Document Cited by: Appendix C, Introduction, Figure 1, Figure 1, Case–control design, Doubly robust estimation of , Doubly robust estimation of , Doubly robust estimation of , Estimators, Discussion.
- Hormonal and reproductive factors and the risk of ovarian cancer. Cancer Causes & Control 28 (5), pp. 393–403. Cited by: Application.
- A weighting analogue to pair matching in propensity score analysisA weighting analogue to pair matching in propensity score analysis. The International Journal of Biostatistics 9 (2), pp. 215–234. Note: https://doi.org/10.1515/ijb-2012-0030 External Links: Link, Document Cited by: Proof 1.
- Case-control matching on confounders revisited. European Journal of Epidemiology 38 (10), pp. 1025–1034. Note: https://doi.org/10.1007/s10654-023-01046-9 External Links: Document Cited by: Introduction.
- Case–control matching: effects, misconceptions, and recommendations. European Journal of Epidemiology 33 (1), pp. 5–14. Note: https://doi.org/10.1007/s10654-017-0325-0 Cited by: Introduction.
- On the estimation and use of propensity scores in case-control and case-cohort studies. American Journal of Epidemiology 166 (3), pp. 332–339. Note: https://doi.org/10.1093/aje/kwm069 Cited by: Introduction, Introduction, Introduction, Case–control design.
- Use of causal inference methods in case–control studies: a methodology review. American Journal of Epidemiology, pp. kwaf182. Note: https://doi.org/10.1093/aje/kwaf182 Cited by: Introduction.
- [Choice as an alternative to control in observational studies]: comment. Statistical Science 14 (3), pp. 281–293. Note: https://www.jstor.org/stable/2676763 Cited by: Introduction, Introduction, Case–control design, Case–control design.
- Simple optimal weighting of cases and controls in case-control studies. The International Journal of Biostatistics 4 (1), pp. Article–19. Note: https://doi.org/10.2202/1557-4679.1115 Cited by: Introduction, Introduction, Case–control design, Inference.
- Why match? investigating matched case-control study designs with causal effect estimation. The International Journal of Biostatistics 5 (1), pp. Article–1. Note: https://doi.org/10.2202/1557-4679.1127 Cited by: Discussion.
- A double robust approach to causal effects in case-control studies. American Journal of Epidemiology 179 (6), pp. 663–669. Note: https://doi.org/10.1093/aje/kwt318 Cited by: Case–control design.
- The central role of the propensity score in observational studies for causal effects. Biometrika 70 (1), pp. 41–55. Note: https://doi.org/10.1093/biomet/70.1.41 Cited by: Introduction, Introduction.
- Constructing a control group using multivariate matched sampling methods that incorporate the propensity score. The American Statistician 39 (1), pp. 33–38. Note: https://doi.org/10.1080/00031305.1985.10479383 External Links: ISSN 00031305, 15372731, Link Cited by: §G.2, §G.2, Introduction.
- Indications for non-opioid analgesic use in a case-control study of ovarian cancer. Pharmacoepidemiology and Drug Safety. Note: Under review Cited by: Introduction, Application.
- Estimands and estimation of covid-19 vaccine effectiveness under the test-negative design: connections to causal inference. Epidemiology (Cambridge, Mass.) 33 (3), pp. 325. Note: https://doi.org/10.1097/ede.0000000000001470 Cited by: Appendix C, Discussion.
- Matching methods for causal inference: a review and a look forward. Statistical Science 25 (1), pp. 1. Note: https://doi.org/10.1214/09-STS313 Cited by: Introduction.
- Theoretical basis of the test-negative study design for assessment of influenza vaccine effectiveness. American Journal of Epidemiology 184 (5), pp. 345–353. Note: https://doi.org/10.1093/aje/kww064 Cited by: Introduction.
- Super learner. Statistical Applications in Genetics and Molecular Biology 6 (1). Note: https://doi.org/10.2202/1544-6115.1309 Cited by: Application.
- Estimation based on case-control designs with known incidence probability. UC Berkeley Division of Biostatistics Working Paper Series, paper 234. Note: https://biostats.bepress.com/ucbbiostat/paper234 Cited by: Introduction.
- Invited commentary: some advantages of the relative excess risk due to interaction (reri)—towards better estimators of additive interaction. American Journal of Epidemiology 179 (6), pp. 670–671. Note: https://doi.org/10.1093/aje/kwt316 Cited by: Introduction.
Appendix for “Causal Inference via Propensity Scores for Case-control Studies”
by Yan Liu, Anita Koushik, Philippe Boileau, Cong Jiang, Miceline Mésidor, Claudia Waddingham,
Denis Talbot, and Mireille E. Schnitzer
Appendix A Proof of inverse probability weighted identifiability for effects in the complete population
For any of the three case-control (CC) designs, we assume that if then , that is, the presence of the outcome implies that the individual is eligible for study inclusion. We also assume that . Then we can identify the following up to the constant :
Appendix B Proof of inverse probability weighted identifiability for effects in the treated population
This proof is identical to the previous except involves constant . The following is identifiable up to under the assumption that the propensity scores can be estimated using control data.
Appendix C Test-negative design
The TND specifically aims to estimate vaccine effectiveness against an infectious disease. Such a study recruits patients seeking care for symptoms that resemble the disease of interest (target disease) who then undergo testing to confirm whether they are infected with the target disease. To define a control group, the TND requires that symptoms resembling those of the target disease may also arise due to some other pathogen. We denote as the presence of symptoms due to the target pathogen and as symptoms due to another pathogen. Neither nor are known at the time of recruitment. Thus, we use to indicate the presence of target-disease-like symptoms due to either infection, i.e. , which is observed. We define as care-seeking for symptoms (so that also implies the presence of symptoms ) which represents the primary inclusion criteria of the TND. The outcome of interest, care-seeking for the target disease, is given as . We again define to be the probability or prevalence of the inclusion criterion. Thus, while the complete data are defined as , we observe only i.i.d. draws from , that is, only confounders, vaccination status, and case () or control () status in the TND sample.
The absence of co-infections ( and simultaneously) in addition to our DAG implies control exchangeability.9 We have shown previously 23 that under this DAG, control exchangeability, and positivity s.t., almost surely, the marginal risk ratio can be identified through the same IPTW formula as in Equation (2) in manuscript.
Appendix D Proof of convergence of the matching estimator
This proof applies to a CC where the ratio of controls to cases is held constant as sample size increases or to a test-negative design (TND) (where this ratio is not controlled by the design). We assume control exchangeability or rare outcome and a weaker positivity condition that almost surely. To arrive at a causal parameter which is the analogue of the mRR, we additionally assume consistency ( for ) and one-sided conditional exchangeability .
Theorem 1
As , .
Proof 1
In the numerator of , we have that
For the denominator, following Li and Greene 11, we now suppose that the propensity score can only take on finite values where each . We let the radius be . Let be the number of times an arbitrary untreated control participant is matched to any treated control participant with propensity score .
First, we show that the mean weight within each propensity score stratum converges to the target weight times the probability mass of the stratum.
| by the law of total expectation and due to the definition of only taking non-zero values within the stratum ; | |||
| since the expected weight is the probability that there exists a treated (control) participant in the stratum times the inverse density of | |||
| untreated (control) participants in the stratum; | |||
| propensity score. |
This means that for an untreated case observation that uses untreated control observation ’s weight, the large-sample mean of the weight will approximate .
Now denote by the weight of individual corresponding to the propensity score stratum ; is the corresponding random variable. Note that if we assume that the form of the propensity score is known, all of the randomness of comes from . The matching estimator in the denominator converges to
| propensity score, | |||
Appendix E Propensity score matching pseudocode
Table 4 presents the two-stage propensity score matching pseudocode for the estimation of marginal risk ratio among the treated (mRRT).
| Step | Description | ||
| 1 | With data structure , fit a propensity score model for using only the controls (), then make predictions for all participants to obtain . | ||
| 2 | Split data into cases () and controls (). | ||
| 3 | First stage: matching for covariate balance among the controls, | ||
| 3.1 | Compute the empirical standard deviation of the logit propensity scores among controls, . Define the radius where is a user–chosen constant. | ||
| 3.2 | Define sets of treated and untreated groups in controls, . Build a distance matrix with entries for and . | ||
| 3.3 | Given radius , for each treated control for : | ||
| 3.3.1 | Define the match set . If there are no eligible matches, set such that . | ||
| 3.3.2 | Define a matrix with dimension , with . | ||
| 3.4 | Compute the weight for each untreated control as, . | ||
| 4 | Second stage: donor matching, | ||
| 4.1 | Compute the empirical standard deviation of the logit propensity scores among the untreated group, . Define the radius where is a user–chosen constant. | ||
| 4.2 | Define sets of treated and untreated groups in cases, and . Build a distance matrix with entries for and . | ||
| 4.3 | Given radius , then for each untreated case for , | ||
| 4.3.1 | Define the match set . If there are no eligible matches, set . | ||
| 4.3.2 | Compute the weight for each untreated case , | ||
| 5 | For each treated case , define . | ||
| 6 | The mRRT is estimated as the ratio of the weighted mean outcomes among the treated and untreated groups, i.e., . | ||
Appendix F Covariate balance checking algorithms for IPTW and propensity score matching
Table 5 gives the covariate balance checking algorithms for inverse probability of treatment weighting (IPTW) in the controls. Table 6 gives the covariate balance checking algorithms for matching in two stages.
| Step | Description | |
| 1 | With data structure , fit a propensity score model for using only the controls (), then make predictions for all participants to obtain . | |
| 2 | Compute the IPTW weights (): For mRRT: , For mRR: . | |
| 3 | Among the controls, define sets of treated and untreated groups, | |
| 3.1 | Compute weighted means and variance: For each covariate , calculate the weighted mean () and weighted variance () for each set : , . | |
| 3.2 | Compute Weighted Standardized Mean Differences (SMD): . | |
| Step | Description | |
| 1 | With data structure , fit a propensity score model for using only the controls (), then make predictions for all participants to obtain . | |
| 2 | Compute the matching weights () for two stages: | |
| 2.1 | First stage: define sets of treated and untreated groups among the controls, . Based on the step 3 in the propensity score matching algorithm (Table 4), the weights in first stage are | |
| 2.2 | Second stage: define the set of untreated cases, . Based on the match set where defined at step 4.31 in Table 4, the weights in second stage are | |
| 3 | Balance checking for matching in two stages based on the steps 3.1 and 3.2 in Figure 5: | |
| 3.1 | For first stage: compute the weighted mean, variance and SMD between sets . | |
| 3.2 | For second stage: compute the weighted mean, variance and SMD between sets . | |
Appendix G Simulation studies
G.1 Data-generating mechanisms for CC and TND studies
Table 7 presents the data-generating mechanism for simulation scenarios (a), (b) and (c) of the CC study. The treatment assignment mechanisms for mRRT and mRR were varied to illustrate settings where each parameter would be most of interest; specifically, the mRRT is more interesting to estimate when some untreated individual have zero probability of being treated (so the mRR does not exist) but all treated individuals had a non-zero probability of being untreated. To form each dataset, 1,000 cases and 4,000 controls were randomly sampled.
| Variable | Generating Mechanism |
| where | |
| where | |
| where | |
We also generated data from a TND. We first generated population data of sample size N= . Each individual was assigned two baseline covariates, continuous and binary . Vaccination status was then generated based on the two measured covariates. For the setting in which is well defined, partial non-overlap was induced by setting for . We also considered a setting without this restriction, in which is defined. Individuals could become infected with a non-target pathogen (), or the target pathogen (). Symptom indicators () were generated conditional on corresponding infection status but were unobserved in the data. The composite indicator representing any symptomatic presentation was observed. Hospitalization () was then simulated conditional on . The TND sample consisted of 5,000 individuals randomly selected among those hospitalized (). The observed TND data therefore has the structure where indicates cases status for the target pathogen. Table 8 presents the data-generating mechanism for the TND simulation study.
| Variable | Generating Mechanism | Notes |
| Measured covariate | ||
| Measured covariate | ||
| where | Treatment status | |
| where | Treatment status | |
| Non-target pathogen | ||
| } | Target pathogen | |
| for | Unobserved symptom | |
| for | Unobserved symptom | |
| Observed symptom | ||
| for | Hospitalization |
G.2 Radius definition and adjustment
Propensity score matching conventionally utilizes the logit of the estimated propensity score (PS) 21, , as the primary distance metric. The logit transformation is preferred because it linearizes the distance metric by stretching the boundaries near 0 and 1, ensuring a more uniform radius size across the entire propensity score distribution. The standard recommendation for the radius width () is set to where is the standard deviation of the logit-transformed propensity scores 21, 4.
In our two-stage propensity score matching, we defined two distinct radii based on the standard deviations of the logit transformed propensity scores: where . In a representative simulation (= 5,000), these standard deviations were notably higher than those observed in the scenarios without partial non-overlap: for example, and for the CC sutdy, and 8.35 and 7.83, respectively, for the TND study. The large standard deviation values reflect a highly dispersed logit distribution, driven by the extreme values produced by the one-sided positivity violation (). In such scenarios, using the conventional radius width of 0.2 would result in an excessively permissive matching threshold, potentially pairing individuals with highly dissimilar covariate profiles and undermining the goal of the matching procedure.
To identify the optimal radius width that maintains sufficient covariate balance, we evaluated a sequence of progressively tighter radius proportional constants. For the CC study, we set and . At the upper end of this range, , the resulting radius is approximately on the logit scale in the first stage. This tolerance would allow, for instance, an individual with a logit PS of 0 () to be matched to another with a logit PS of 0.33 (), representing a relatively wide radius. In contrast, if we set , the implied radius is approximately 0.07 on the logit scale, allowing matches only between individuals with nearly identical propensity scores (e.g., versus ), thereby prioritizing covariate balance at the cost of reduced matching flexibility. For the TND study, we used . Using these scales, we conducted simulations under sample sizes (=5,000), and presented the covariate balances and distribution overlap of logit propensity scores before and after matching.
G.3 Diagnostic checking
G.3.1 Diagnostic checking in the CC simulation scenario (b) and (c)
Figure 4 presents the propensity score distributions for mRR weighting in a single CC dataset of size from simulation scenario (b). The top row shows decent overlap before weighting and excellent overlap between untreated and treated controls after weighting. The bottom row suggests that the propensity score models, fit with control data, are extrapolating to predict values for the cases (little overlap of the blue cases above 0.75 and 0.85 on the right-hand side of each of the left and right bottom histograms, respectively). Figure 5 presents the propensity score distributions for mRR weighting in CC simulation scenario (c). Similarly, IPTW improved overlap between untreated and treated controls. Some propensity score extrapolation may again be necessary in this scenario.
G.3.2 Diagnostic checking in the TND simulation study
Table 9 summarizes the two-stage covariate balance checking for IPTW and matching estimating the mRRT in a single TND dataset of using four different two-stage matching radii with the radius scaling parameters, }. Before matching, both stages showed limited overlap and substantial imbalance in covariates, with large SMD particularly for . Applying radius matching markedly improved alignment between the groups, both in the first stage, where matching was performed in the controls and in the second stage, where matching was performed between untreated cases and controls. Figure 6 presents the propensity score distribution before and after IPTW and the two-stage matching weights. In the first stage (top row), after weighting by IPTW or matching, the two treatment control groups became more aligned in their distributions. In the second stage (bottom row), prior to matching, the two outcome untreated groups exhibited distinct distributions, with untreated controls concentrated above 0.2. Then the two groups showed substantially better overlap following the second stage matching. Moreover, the right tail of the untreated cases evident in the pre-matching panel (bottom left) is absent in the matched panel because these individuals had no eligible matches and therefore received zero weights. Figure 7 presents the propensity score distributions in controls before and after IPTW weighting, and the distributions in untreated and treated individuals for the mRR estimation. IPTW weighting resolved the small differences between treated and untreated in the control group (top row). The bottom row suggests that the propensity score models, fit with control data, are extrapolating to predict values for the cases (little overlap of the blue cases above 0.5 on the right-hand side of each of the bottom histograms).
| First stage: matching among the controls | |||||
| Variable | SMD | ||||
| Before weighting | - | Size | 2427 | 589 | |
| -0.612 (0.855) | 0.021 (0.659) | 0.829 | |||
| 0.174 (0.379) | 0.199 (0.399) | 0.064 | |||
| IPTW | - | 0.015 (0.630) | 0.021 (0.659) | 0.008 | |
| 0.198 (0.398) | 0.199 (0.399) | 0.002 | |||
| Matching | Size | 1581 | 589 | ||
| -0.062 (0.57) | 0.021 (0.659) | 0.135 | |||
| 0.177 (0.382) | 0.199 (0.399) | 0.055 | |||
| Size | 1581 | 589 | |||
| -0.018 (0.605) | 0.021 (0.659) | 0.062 | |||
| 0.185 (0.389) | 0.199 (0.399) | 0.034 | |||
| Size | 1581 | 589 | |||
| 0.003 (0.628) | 0.021 (0.659) | 0.028 | |||
| 0.190 (0.393) | 0.199 (0.399) | 0.021 | |||
| Size | 1581 | 589 | |||
| 0.019 (0.65) | 0.021 (0.659) | 0.003 | |||
| 0.193 (0.395) | 0.199 (0.399) | 0.014 | |||
| Second stage: donor matching (independent of ) between untreated cases and controls | |||||
| Variable | SMD | ||||
| Before weighting | - | Size | 2427 | 1466 | |
| -0.612 (0.855) | 1.215 (0.760) | 2.254 | |||
| 0.174 (0.380) | 0.601 (0.490) | 0.975 | |||
| Matching | Size | 2407 | 1457 | ||
| 0.8 (0.699) | 1.199 (0.747) | 0.553 | |||
| 0.419 (0.493) | 0.598 (0.49) | 0.365 | |||
| Size | 2377 | 1431 | |||
| 1.004 (0.69) | 1.169 (0.717) | 0.235 | |||
| 0.493 (0.5) | 0.595 (0.491) | 0.208 | |||
| Size | 2345 | 1416 | |||
| 1.088 (0.682) | 1.154 (0.705) | 0.095 | |||
| 0.524 (0.499) | 0.593 (0.491) | 0.140 | |||
| Size | 2270 | 1387 | |||
| 1.132 (0.67) | 1.13 (0.691) | 0.004 | |||
| 0.545 (0.498) | 0.587 (0.492) | 0.085 | |||
G.4 Results for simulations
G.4.1 Results for CC simulation scenario (c)
Table 10 presents the estimates from CC simulation scenario (c), which generates CC data with a nonlinear treatment data-generating model. In implementing the IPTW and doubly robust one-step (OS) estimators, we specified propensity score models including only the main effects of , , and the outcome models including main terms of , and . IPTW_SL and OS_SL denote estimators in which nuisance functions were estimated using machine learning via Super Learner (SL.nnls, SL.glmnet, SL.hal9001). Standard error of IPTW_SL was estimated using a double robust sandwich estimator, while standard error of OS_SL was estimated based on the efficient influence function. We truncated the estimated probabilities for to the interval [0.001, 0.999].
| Method | Estimate | Bias | MC SE | SE | Coverage Rate (%) |
| Estimation of mRR (true value: 0.773) | |||||
| IPTW | 0.855 | 0.082 | 0.061 | 0.069 | 81.8 |
| IPTW_SL | 0.820 | 0.047 | 0.072 | 0.075 | 89.6 |
| OS | 0.735 | 0.038 | 0.069 | 0.063 | 85.8 |
| OS_SL | 0.764 | 0.009 | 0.113 | 0.105 | 91.8 |
G.4.2 Results for the TND simulation study
Table 11 compares the performance of IPTW and the two-stage radius matching for estimation of the mRRT with different choices of the two-stage matching radius multipliers, as well as the performance of IPTW, OS and logistic regression estimators for estimation of the mRR based on 300 replications. For the OS estimator, we applied a correctly specified logistic regression for the outcome and propensity score models, and bounded between [0.01, 0.99] for and .
| Method | Bias | SE_MC | SE_bs | Coverage Rate (%) | |||
| For the mRRT estimation (true value: 0.392), | |||||||
| IPTW | - | - | 0.358 | 0.033 | 0.052 | 0.054 | 89.67 |
| Matching | 0.05 | 0.05 | 0.632 | 0.240 | 0.116 | 0.097 | 23.67 |
| 0.03 | 0.636 | 0.244 | 0.132 | 0.111 | 29.67 | ||
| 0.02 | 0.647 | 0.256 | 0.139 | 0.118 | 29.33 | ||
| 0.01 | 0.677 | 0.285 | 0.141 | 0.123 | 19.33 | ||
| 0.03 | 0.05 | 0.503 | 0.111 | 0.099 | 0.088 | 67.33 | |
| 0.03 | 0.485 | 0.093 | 0.106 | 0.099 | 80.33 | ||
| 0.02 | 0.487 | 0.095 | 0.109 | 0.105 | 82.00 | ||
| 0.01 | 0.450 | 0.059 | 0.098 | 0.103 | 91.67 | ||
| 0.02 | 0.05 | 0.458 | 0.066 | 0.091 | 0.085 | 85.33 | |
| 0.03 | 0.433 | 0.042 | 0.096 | 0.095 | 91.33 | ||
| 0.02 | 0.432 | 0.040 | 0.098 | 0.100 | 92.00 | ||
| 0.01 | 0.450 | 0.059 | 0.098 | 0.103 | 91.67 | ||
| 0.01 | 0.05 | 0.431 | 0.039 | 0.086 | 0.083 | 90.67 | |
| 0.03 | 0.403 | 0.011 | 0.089 | 0.092 | 94.33 | ||
| 0.02 | 0.398 | 0.006 | 0.091 | 0.097 | 95.33 | ||
| 0.01 | 0.409 | 0.017 | 0.092 | 0.100 | 96.00 | ||
| For the mRR estimation (true value: 0.371), | |||||||
| IPTW | - | - | 0.340 | 0.032 | 0.035 | 0.042 | 92.67 |
| OS | - | - | 0.323 | 0.047 | 0.081 | 0.082 | 86.67 |
| Logistic | - | - | 0.267 | 0.104 | 0.031 | 0.034 | 22.67 |
For the mRRT estimation, the IPTW exhibited moderate bias (0.033) and coverage (89.67%) below the nominal level. In contrast, the performance of the matching estimators was highly sensitive to the choices of . When large radii were used in the first stage (), the matching estimator was substantially biased (exceeding 0.24) and had severe undercoverage (below 30%), indicating inadequate covariate balance due to overly permissive matching for the propensity scores. As the matching radii were tightened, bias generally decreased and coverage improved markedly. In particular, combinations with small radii in both stages (e.g,. and ) achieved near-zero bias, as low as 0.006. The Monte Carlo and bootstrap standard errors were well-aligned, and coverage rates were close to or exceeding 95%. These results highlight the importance of carefully tuning both stages of the matching procedures and show that, with appropriately chosen radii, two-stage matching can outperform IPTW in terms of bias and coverage. For mRR estimation, IPTW exhibited lower bias and higher coverage rates than the OS estimator, which showed larger bias and undercoverage relative to the true mRR value. This discrepancy is likely attributable to the use of upper bounds (0.98) on the estimated conditional outcome probabilities, as some values of approached one, which can lead to instability, as discussed in Section 2.4.2 of the manuscript. Logistic regression performed poorly despite the absence of effect modification.
G.4.3 Demonstration of double robustness of the OS estimator
Table 12 presents the doubly robustness property of the OS estimator in CC simulation scenario (b). We can see that when either the propensity score or outcome models were correctly specified, the OS estimator was unbiased. In contrast, when the propensity score model was null (i.e. only included an intercept term in the logistic regression), IPTW was highly biased.
| Scenario | Method | Bias | MC SE | BS SE | Coverage Rate (%) | |
| True value: | ||||||
| Both true | IPTW | 0.777 | 0.006 | 0.066 | 0.066 | 93.60 |
| OS | 0.786 | 0.015 | 0.073 | 0.078 | 94.60 | |
| Only PS true | IPTW | 0.777 | 0.006 | 0.066 | 0.066 | 93.60 |
| OS | 0.779 | 0.008 | 0.066 | 0.067 | 94.00 | |
| Only outcome true | IPTW | 1.827 | 1.056 | 0.126 | 0.133 | 0 |
| OS | 0.783 | 0.012 | 0.081 | 0.081 | 94.80 | |
| Both null | IPTW | 1.827 | 1.056 | 0.126 | 0.133 | 0 |
| OS | 1.827 | 1.056 | 0.126 | 0.133 | 0 | |
| Both true: both propensity score model and outcome model were correctly specified; Only PS true: the propensity score model was correct but the outcome model was null; Only outcome true: the outcome model was correct but the propensity score model was null; Both null: both models were null. | ||||||
Appendix H Application
H.1 PROVAQ data
Table 13 presents the characteristics of the study population by case status in the PROVAQ study. Continuous variables are presented as mean (standard deviation); Categorical variables are presented as size (percentage), where percentages are calculated within each column.
| Variable | Overall | Controls | Cases |
| Size | 1,406 | 908 | 498 |
| Age (mean (SD)) | 57.87 (12.64) | 58.19 (12.62) | 57.28 (12.66) |
| Education (%): | |||
| Less HS | 136 (9.7) | 83 (9.1) | 53 (10.6) |
| HS | 339 (24.1) | 199 (21.9) | 140 (28.1) |
| College | 422 (30.0) | 278 (30.6) | 144 (28.9) |
| Undergraduate | 356 (25.3) | 244 (26.9) | 112 (22.5) |
| Graduate | 153 (10.9) | 104 (11.5) | 49 ( 9.8) |
| BMI (mean (SD)) | 26.21 (5.85) | 25.92 (5.54) | 26.73 (6.36) |
| Endometriosis: ever (%) | 95 ( 6.8) | 50 ( 5.5) | 45 ( 9.0) |
| HRT: ever (%) | 450 (32.0) | 282 (31.1) | 168 (33.7) |
| Duration of OC use: (%): | |||
| 0 | 280 (19.9) | 172 (18.9) | 108 (21.7) |
| 0-2 years | 253 (18.0) | 158 (17.4) | 95 (19.1) |
| 2-10 years | 533 (37.9) | 336 (37.0) | 197 (39.6) |
| 10+ years | 340 (24.2) | 242 (26.7) | 98 (19.7) |
| Ancestry (%): | |||
| French Canadian | 948 (67.4) | 609 (67.1) | 339 (68.1) |
| Other European | 333 (23.7) | 217 (23.9) | 116 (23.3) |
| Other/mixed | 125 ( 8.9) | 82 ( 9.0) | 43 ( 8.6) |
| Smoking (%): | |||
| Never | 628 (44.7) | 426 (46.9) | 202 (40.6) |
| 0 to 15 packyears | 379 (27.0) | 237 (26.1) | 142 (28.5) |
| 15 packyears | 399 (28.4) | 245 (27.0) | 154 (30.9) |
| Alcohol: ever (%) | 1,022 (72.7) | 672 (74.0) | 350 (70.3) |
| Aspirin: regular use (%) | 215 (15.3) | 147 (16.2) | 68 (13.7) |
| Otherthan aspirin*: yes (%) | 381 (27.1) | 250 (27.5) | 131 (26.3) |
H.2 Diagnostic checking
Table 14 presents the covariate balance: SMD evaluation in controls and in untreated individuals before and after IPTW and matching weighting (). Figure 8 shows the propensity score overlap for mRRT weighting: comparison between the treated controls and untreated controls before and after weighting for IPTW and matching, and between untreated controls and untreated cases before and after matching. Figure 9 presents the propensity score overlap for mRR weighting: comparison between the treated controls and untreated controls before and after IPTW weighting, between untreated cases and untreated controls, and between treated cases and treated controls. Figure 10 presents the propensity score overlap using IPTW with machine learning: comparison between the treated controls and untreated controls before and after IPTW weighting for mRRT and for mRR, between untreated cases and untreated controls, and between treated cases and treated controls. Table 15 presents the diagnostic checks of the covariate balance for matching under different values of and in the PROVAQ study. We selected () for the final analysis because this choice successfully matched all cases who did not regularly use aspirin during the second stage of matching and yielded the best overall covariate balance among the specifications examined.
| Variable | In controls | In untreated individuals | ||||||
| Unweighted | For mRRT | For mRR | Unweighted | For mRRT | ||||
| IPTW | IPTW_SL | Matching | IPTW | IPTW_SL | Matching | |||
| Age | 0.934 | 0.019 | 0.078 | 0.008 | 0.040 | 0.191 | 0.049 | 0.103 |
| Education: | ||||||||
| Less HS | 0.355 | 0.015 | 0.094 | 0.040 | 0.008 | 0.080 | 0.059 | 0.030 |
| HS | 0.073 | 0.005 | 0.137 | 0.019 | 0.026 | 0.022 | 0.146 | 0.135 |
| College | 0.036 | 0.009 | 0.090 | 0.036 | 0.041 | 0.007 | 0.019 | 0.006 |
| Undergraduate | 0.326 | 0.019 | 0.079 | 0.006 | 0.046 | 0.096 | 0.143 | 0.129 |
| Graduate | 0.004 | 0.016 | 0.051 | 0.018 | 0.034 | 0.092 | 0.023 | 0.023 |
| BMI | 0.387 | 0.041 | 0.118 | 0.021 | 0.032 | 0.160 | 0.184 | 0.161 |
| Endometriosis: ever | 0.187 | 0.063 | 0.037 | 0.002 | 0.033 | 0.029 | 0.172 | 0.170 |
| HRT: ever | 0.331 | 0.035 | 0.004 | 0.002 | 0.043 | 0.051 | 0.058 | 0.032 |
| Duration of OC use: | ||||||||
| 0 | 0.201 | 0.006 | 0.055 | 0.011 | 0.125 | 0.098 | 0.055 | 0.035 |
| 0-2 years | 0.030 | 0.005 | 0.023 | 0.018 | 0.074 | 0.060 | 0.036 | 0.032 |
| 2-10 years | 0.060 | 0.004 | 0.127 | 0.009 | 0.005 | 0.030 | 0.067 | 0.067 |
| 10+ years | 0.298 | 0.007 | 0.117 | 0.017 | 0.049 | 0.185 | 0.157 | 0.136 |
| Ancestry: | ||||||||
| French Canadian | 0.148 | 0.006 | 0.096 | 0.014 | 0.018 | 0.004 | 0.041 | 0.033 |
| Other European | 0.100 | 0.009 | 0.123 | 0.002 | 0.048 | 0.005 | 0.031 | 0.028 |
| Other/mixed | 0.097 | 0.027 | 0.034 | 0.022 | 0.111 | 0.014 | 0.022 | 0.013 |
| Smoking: | ||||||||
| Never | 0.032 | 0.018 | 0.003 | 0.003 | 0.000 | 0.025 | 0.159 | 0.144 |
| 0 to 15 packyears | 0.140 | 0.013 | 0.055 | 0.018 | 0.092 | 0.016 | 0.070 | 0.068 |
| 15 packyears | 0.167 | 0.031 | 0.046 | 0.013 | 0.097 | 0.044 | 0.105 | 0.090 |
| Alcohol: ever | 0.033 | 0.035 | 0.063 | 0.019 | 0.168 | 0.084 | 0.038 | 0.042 |
| Otherthan aspirin:yes | 0.394 | 0.043 | 0.086 | 0.018 | 0.016 | 0.106 | 0.007 | 0.015 |
| Variable | In controls | In untreated individuals | ||||||||||
| Unweighted | Unweighted | |||||||||||
| 0.2 | 0.16 | 0.12 | 0.08 | 0.04 | 0.2 | 0.16 | 0.12 | 0.08 | 0.04 | |||
| Age | 0.934 | 0.008 | 0.005 | 0.007 | 0.026 | 0.000 | 0.049 | 0.103 | 0.105 | 0.111 | 0.112 | 0.117 |
| Education: | ||||||||||||
| Less HS | 0.355 | 0.040 | 0.051 | 0.064 | 0.066 | 0.080 | 0.059 | 0.030 | 0.026 | 0.020 | 0.027 | 0.024 |
| HS | 0.073 | 0.019 | 0.019 | 0.019 | 0.021 | 0.028 | 0.146 | 0.135 | 0.135 | 0.145 | 0.138 | 0.145 |
| College | 0.035 | 0.036 | 0.035 | 0.039 | 0.038 | 0.034 | 0.019 | 0.006 | 0.004 | 0.003 | 0.003 | 0.007 |
| Undergraduate | 0.326 | 0.006 | 0.015 | 0.022 | 0.027 | 0.032 | 0.143 | 0.129 | 0.130 | 0.138 | 0.142 | 0.124 |
| Graduate | 0.004 | 0.018 | 0.023 | 0.027 | 0.027 | 0.058 | 0.023 | 0.023 | 0.021 | 0.020 | 0.020 | 0.037 |
| BMI | 0.387 | 0.021 | 0.018 | 0.034 | 0.046 | 0.037 | 0.184 | 0.161 | 0.162 | 0.165 | 0.164 | 0.162 |
| Endometriosis: ever | 0.187 | 0.002 | 0.001 | 0.001 | 0.002 | 0.024 | 0.172 | 0.170 | 0.176 | 0.173 | 0.178 | 0.194 |
| Everhrt: ever | 0.331 | 0.002 | 0.008 | 0.021 | 0.035 | 0.070 | 0.058 | 0.032 | 0.031 | 0.036 | 0.035 | 0.066 |
| Duration of OC use: | ||||||||||||
| 0 | 0.201 | 0.011 | 0.007 | 0.019 | 0.018 | 0.005 | 0.055 | 0.035 | 0.034 | 0.036 | 0.028 | 0.042 |
| 0-2 years | 0.030 | 0.018 | 0.018 | 0.052 | 0.039 | 0.069 | 0.036 | 0.032 | 0.032 | 0.029 | 0.012 | 0.004 |
| 2-10 years | 0.060 | 0.008 | 0.006 | 0.009 | 0.009 | 0.010 | 0.067 | 0.067 | 0.068 | 0.069 | 0.069 | 0.075 |
| 10+ years | 0.298 | 0.017 | 0.018 | 0.019 | 0.029 | 0.049 | 0.157 | 0.136 | 0.135 | 0.136 | 0.115 | 0.119 |
| Ancestry: | ||||||||||||
| French Canadian | 0.148 | 0.014 | 0.021 | 0.026 | 0.029 | 0.050 | 0.041 | 0.033 | 0.039 | 0.050 | 0.051 | 0.061 |
| Other European | 0.100 | 0.002 | 0.009 | 0.014 | 0.014 | 0.038 | 0.031 | 0.028 | 0.031 | 0.041 | 0.040 | 0.040 |
| Other/mixed | 0.097 | 0.022 | 0.023 | 0.023 | 0.029 | 0.026 | 0.022 | 0.013 | 0.018 | 0.022 | 0.024 | 0.039 |
| Smoking: | ||||||||||||
| Never | 0.032 | 0.003 | 0.003 | 0.010 | 0.015 | 0.006 | 0.159 | 0.144 | 0.148 | 0.147 | 0.140 | 0.167 |
| 0 to 15 packyears | 0.140 | 0.018 | 0.015 | 0.013 | 0.001 | 0.031 | 0.070 | 0.068 | 0.068 | 0.068 | 0.061 | 0.076 |
| 15 packyears | 0.167 | 0.013 | 0.016 | 0.022 | 0.017 | 0.021 | 0.105 | 0.090 | 0.094 | 0.092 | 0.091 | 0.107 |
| Alcohol: ever | 0.033 | 0.019 | 0.014 | 0.027 | 0.045 | 0.060 | 0.038 | 0.042 | 0.040 | 0.032 | 0.022 | 0.018 |
| Otherthan aspirin: yes | 0.394 | 0.018 | 0.030 | 0.035 | 0.024 | 0.050 | 0.007 | 0.015 | 0.012 | 0.007 | 0.002 | 0.001 |
| Unmatched rate (%) | - | 0 | 0 | 0 | 0 | 0 | - | 0 | 0 | 0.23 | 0.47 | 2.09 |
H.3 Results for mRR estimation under three truncation intervals
Table 16 presents the estimated mRR using IPTW and one-step doubly robust estimator under three truncation intervals in the PROVAQ study. IPTW_SL and OS_SL denote estimators in which nuisance functions were estimated using machine learning via Super Learner (SL.glm, SL.gam, SL.glmnet, SL.randomForest), where the subscripts , , and indicate the truncation intervals [0.001, 0.999], [0.01, 0.99], and [0.05, 0.95], respectively.
| Method | Estimate | BS SE | 95% CI |
| IPTW | 0.771 | 0.289 | [0.550, 1.627] |
| IPTW_SL0.001 | 0.716 | 0.125 | [0.467, 0.942] |
| IPTW_SL0.01 | 0.716 | 0.125 | [0.475, 0.953] |
| IPTW_SL0.05 | 0.714 | 0.116 | [0.460, 0.897] |
| OS | 0.781 | 0.315 | [0.506, 1.634] |
| OS_SL0.001 | 0.674 | 0.617 | [0.082, 2.782] |
| OS_SL0.01 | 0.674 | 0.347 | [0.238, 1.641] |
| OS_SL0.05 | 0.718 | 0.202 | [0.597, 1.404] |