When Does IPCW Help? Simulation and Real-World Evidence on Censoring Adjustment in Survival Analysis

preprint OA: closed
📄 Open PDF Full text JSON View at publisher

Abstract

Estimating treatment effects from time-to-event data in observational studies requires careful adjustment for both confounding and informative censoring. While inverse probability of treatment weighting (IPTW) and inverse probability of censoring weighting (IPCW) have been used to address these sources of bias separately, their combined application remains underexplored, especially in high-dimensional, real-world datasets. In this paper, we benchmark IPTW, IPCW, and their combination to estimate survival curves, restricted mean survival time (RMST), and hazard ratios (HR). Our simulation studies vary strengths of informative censoring and introduce non-proportional hazards, while our real-world study uses a large-scale electronic health record (EHR) dataset (~ 50,000 covariates and >40,000 patients). Our simulations showed that IPCW reduces survival curve estimation error in the presence of informative censoring, but only reduces HR and RMST bias when the strength of informative censoring additionally differs by treatment group. In our real-world study, IPTW alone was typically sufficient for HR estimation, suggesting that when confounding is the primary source of bias and well-addressed through large-scale adjustment, censoring adjustment may yield limited additional benefit. Ultimately, the utility of IPCW likely depends on the underlying data-generating process, the relative magnitude of censoring bias, and the estimand of interest.
Full text 77,355 characters · extracted from preprint-html · click to expand
When Does IPCW Help? Simulation and Real-World Evidence on Censoring Adjustment in Survival Analysis | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search When Does IPCW Help? Simulation and Real-World Evidence on Censoring Adjustment in Survival Analysis View ORCID Profile Hsin Yi Chen , Tara V. Anand , View ORCID Profile Linying Zhang , George Hripcsak doi: https://doi.org/10.1101/2025.08.22.25334253 Hsin Yi Chen 1 Department of Biomedical Informatics, Columbia University Irving Medical Center , New York, NY BS Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Hsin Yi Chen Tara V. Anand 1 Department of Biomedical Informatics, Columbia University Irving Medical Center , New York, NY MA, MPhil Find this author on Google Scholar Find this author on PubMed Search for this author on this site Linying Zhang 2 Institute for Informatics, Data Science and Biostatistics, Washington University in St. Louis , St. Louis, MO PhD Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Linying Zhang George Hripcsak 1 Department of Biomedical Informatics, Columbia University Irving Medical Center , New York, NY MD, MS Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: gh13{at}cumc.columbia.edu Abstract Full Text Info/History Metrics Data/Code Preview PDF Abstract Estimating treatment effects from time-to-event data in observational studies requires careful adjustment for both confounding and informative censoring. While inverse probability of treatment weighting (IPTW) and inverse probability of censoring weighting (IPCW) have been used to address these sources of bias separately, their combined application remains underexplored, especially in high-dimensional, real-world datasets. In this paper, we benchmark IPTW, IPCW, and their combination to estimate survival curves, restricted mean survival time (RMST), and hazard ratios (HR). Our simulation studies vary strengths of informative censoring and introduce non-proportional hazards, while our real-world study uses a large-scale electronic health record (EHR) dataset (~ 50,000 covariates and >40,000 patients). Our simulations showed that IPCW reduces survival curve estimation error in the presence of informative censoring, but only reduces HR and RMST bias when the strength of informative censoring additionally differs by treatment group. In our real-world study, IPTW alone was typically sufficient for HR estimation, suggesting that when confounding is the primary source of bias and well-addressed through large-scale adjustment, censoring adjustment may yield limited additional benefit. Ultimately, the utility of IPCW likely depends on the underlying data-generating process, the relative magnitude of censoring bias, and the estimand of interest. Introduction Estimating treatment effects of drugs on health outcomes is a central goal in both randomized controlled trials (RCTs) and observational studies. In settings where the outcome of interest is a time-to-event (i.e., survival outcome), the data is also frequently subject to right-censoring, where the event of interest (e.g., death, disease onset) is not observed within the study period. Censoring arises due to various reasons: in RCTs, censoring may be due to administrative end-of-study truncation or participant dropout, while in the observational data setting (e.g., using real-world data sources such as electronic health records (EHRs) or administrative claims), censoring may result from patients changing healthcare providers, missing follow-up visits, or losing insurance coverage. Statistical survival analysis methods, such as the Kaplan-Meier (KM) curve estimator 16 and the Cox Proportional Hazards (PH) model 7 , rely on the assumption of non-informative censoring; i.e., censoring is independent of the outcome of interest conditional on observed covariates. In practice, however, this assumption is difficult to verify, and when violated, it can lead to biased estimates because the censored population may systematically differ from the uncensored population in ways related to the outcome risk 15 , 18 , 19 , 23 . To address informative censoring, inverse probability of censoring weighting (IPCW) has been proposed 24 , 26 . IPCW corrects for informative censoring by upweighting those who remain in the risk set but have similar covariate profiles to those who are censored. This creates a pseudopopulation that would have been observed had censoring not occurred. Conceptually, this is similar to inverse probability of treatment weighting (IPTW) 27 , which adjusts for confounding by weighting patients based on the probability of their treatment assignment, thus creating a pseudopopulation in which measured confounders are equally distributed across the treatment groups. While the theoretical foundations for IPCW and IPTW are well established, their joint application to adjust for both confounding and censoring bias in the context of high-dimensional, real-world survival data remains underexplored. In this paper, we examine IPTW, IPCW, and their combination, for estimating treatment effects in real-world health data with high-dimensional covariates and right-censored survival outcomes. Our contributions are as follows: We conduct a simulation study to benchmark the performance of IPTW, IPCW, and their combination across a range of data-generating scenarios. We vary the strength of informative censoring and consider violations of the proportional hazards assumption in the presence of informative censoring. Then, we evaluate the performance of the weights on multiple treatment effect estimands, including hazard ratios (HR), differences in restricted mean survival time (RMST), and Kaplan-Meier survival curves. We apply these weighting methods to real-world observational data from a large EHR database containing almost 50,000 covariates and over 40,000 patients, to estimate the comparative effect of ACE inhibitors (ACEi) versus thiazide diuretics on risk of acute myocardial infarction (AMI). We provide practical recommendations for when to use IPCW, IPTW, and their combination in high-dimensional survival settings. Related work A substantial body of literature has explored methods for estimating average treatment effects (ATE) using both statistical and machine learning approaches. Foundational work in statistics laid the groundwork for causal inference with observational data, introducing frameworks such as the potential outcomes model and marginal structural models 24 , 28 , 29 . More recently, machine learning-based methods such as Targeted Maximum Likelihood Estimation (TMLE) 34 , 35 , Bayesian Additive Regression Trees (BART) 6 , 14 , causal forests 12 , 37 , and double machine learning 5 have been developed to improve ATE estimation in flexible, high-dimensional settings. However, these studies primarily focus on ATEs in the non-survival setting, while researchers in healthcare are often interested in right-censored, time-to-event outcomes. Recent work has adapted modern machine-learning estimators to survival data by modeling both the event process and the censoring mechanism. Rytgaard and van der Laan 30 extended TMLE to accommodate survival outcomes, offering robust estimators of treatment-specific survival probabilities and restricted mean survival time (RMST) even under informative censoring or non-proportional hazards. This work focused on treatment-specific survival probabilities as a causal parameter and avoided the Cox proportional hazards ratio (HR) entirely, which aligns with the growing body of literature that cautions against the use of the hazards ratio as a causal parameter 9 , 13 . Despite its limitations, HR remains one of the most common estimands in clinical and epidemiological literature due to its interpretability and widespread familiarity. Our work acknowledges these ongoing discussions and includes HR alongside RMST and survival curves to provide a comprehensive comparison of treatment effect estimands under various adjustment strategies. Inverse Probability of Censoring Weighting (IPCW) addresses informative censoring by modeling the censoring process and applying the resulting weights to otherwise standard estimators. This method has been applied to a number of methods, including KM curves and log rank tests 25 , Cox PH models 3 , 25 , win ratios 8 , 22 , and restricted mean survival times 41 . Applications of these IPCW methods in clinical settings, however, are typically limited to randomized trials 39 or low-dimensional settings with predefined clinical variables 21 , 38 . These clinical studies also often focus on a single survival estimand (e.g., HR or Kaplan-Meier curve). Our work extends this line of research by exploring IPCW in a high-dimensional EHR setting with almost 50,000 baseline covariates and evaluating multiple estimands. Importantly, IPCW adjustment does not adjust for confounding, another common source of bias in observational studies. Thus, combining IPCW with inverse probability of treatment weighting (IPTW) has been proposed to simultaneously adjust for informative censoring and confounding 3 , 31 . However, few studies have systematically examined the performance of IPCW, IPTW, and their combination across estimands or under high-dimensional conditions. Our work fills this gap by benchmarking all three approaches using both simulation studies and a large-scale EHR dataset. We provide empirical evidence and practical guidance on their relative performance and use cases. In summary, our work is among the first to benchmark IPCW, IPTW, and their combination in high-dimensional survival settings, examine their effects across multiple estimands, and validate performance in a large-scale, high-dimensional real-world EHR dataset. Background We begin by reviewing censoring definitions, followed by a brief review of both the Kaplan-Meier survival curve and the Cox proportional hazards model as they are two commonly used models in survival analysis and widely used in clinical research. Non-informative Censoring Definition In the survival analysis literature, there exist several assumptions about the censoring mechanism, including random censoring, independent censoring, and non-informative censoring. Although these definitions are not synonymous, they are often used interchangeably. Thus, we explicitly define non-informative censoring here, using definitions proposed by Kleinbaum and Klein 17 . Formally, let T denote the true event time and C denote the censoring time. The observed time for each individual is with an indicator variable , where δ = 1 indicates an observed event, and δ = 0 indicates censoring. Recall that the hazard function, or instantaneous event rate of a non-negative random variable U , is Intuitively, h U ( t )d t approximates the probability that the event occurs in the next infinitesimal interval [ t, t + Δ t ), given survival up to t . Non-informative censoring (NIC) Censoring is non-informative if, at every time t , the event hazard is unaffected by the fact that the individual has not yet been censored, i.e., and equivalently, the hazard of censoring h C is unaffected by having survived past time t, i.e., In other words, censored individuals have the same survival distribution as those who remain under observation. An equivalent shorthand for this assumption is written as . When censoring is considered to be informative. However, informative censoring is not always differential. Because we will primarily be studying treatment effect estimation in this paper, we will additionally define differential informative censoring: Differential informative censoring Censoring is differentially informative when (1) the hazard of censoring differs by treatment group and (2) within at least one treatment group, the censoring process is informative. Formally, let Z ∈{0, 1} denote treatment, T denote event time, and C denote censoring time. Differential censoring means that the censoring hazard differs across treatment groups, i.e., there exists some t such that Informative censoring means that, within at least one treatment group Z , knowledge of whether a subject will remain uncensored at time t changes the hazard of the event, i.e., When both conditions hold simultaneously, censoring is differentially informative ( Figure 1 ). Download figure Open in new tab Figure 1. Causal diagram illustrating different types of censoring mechanisms, where Z is the treatment, T is the outcome time, C is the censoring time, and X are a set of covariates which can affect treatment, outcome, and/or censoring. (a) Non-informative censoring: the censoring process is independent of the event process given treatment and covariates. (b) Informative (but non-differential) censoring: censoring depends on covariates X TC , which also affects the event, but the censoring mechanism does not differ across treatment groups. (c) Differential (but not informative) censoring: the censoring hazard differs across treatment groups, but there are no covariates that are informative for both the event hazard and the censoring hazard. While in this case, censoring is associated with outcome through treatment, this dependence vanishes once we condition on Z in treatment effect estimation, so it is not considered informative. (d) Differential informative censoring: both conditions in panels (b) and (c) hold: the hazard of censoring differs by treatment group and, within at least one treatment arm, censoring is informative for the event hazard. Practically, informative censoring may be relevant in scenarios where certain factors influence health outcomes but are not included in treatment decision-making. This is a situation that may arise when considering factors such as social determinants of health (SDOH). For example, if patient’s follow-up visits or continuity of care are influenced by socioeconomic factors (e.g., housing stability, income, transportation barriers), patients from disadvantaged backgrounds may be more likely to be censored due to disrupted care. If these same SDOH factors also affect health outcomes independently of treatment assignment, then censoring becomes informative. Moreover, if the treatment itself influences patients’ engagement with care (e.g., one treatment has more side effects or requires more frequent monitoring), then this would creates differential informative censoring. Kaplan-Meier Estimator The Kaplan-Meier (KM) estimator is a nonparametric method for estimating survival probabilities over time. The Kaplan-Meier estimator estimates the survival function S ( t ), the probability of surviving beyond time t . It is written as where t k are the ordered event times, d k is the number of events (e.g., deaths) at time t k , and n k is the number of individuals at risk just before time t k . Kaplan-Meier Survival Curve and censoring The Kaplan-Meier (KM) survival curve accounts for censoring by updating the survival probability only at observed event times. The KM estimator assumes that censoring is non-informative, and the KM estimator will overestimate survival if individuals at higher risk are more likely to be censored. Conversely, if lower-risk individuals are preferentially censored, the KM estimator may underestimate survival 4 . Cox Proportional Hazards Model The Cox Proportional Hazards (PH) Model is a semi-parametric model consisting of two parts: (1) the underlying baseline hazard function, λ 0 ( t ), and (2) the effect parameters, which describe the relationship between the hazards and the covariates: Here, λ ( t | X ) is the hazard function at time t given covariates X = ( X 1 , X 2 , …, X p ) λ 0 ( t ) is the baseline hazard function, representing the hazard when all covariates are set to zero β 1 , β 2 , …, β p are the coefficients for the covariates X 1 , X 2 , …, X p . Each coefficient β j represents the log hazard ratio for a one-unit increase in X j , holding all other variables constant. The Cox model allows us to quantify the relative effect of each factor on the time-to-event outcome through the hazard ratio, exp ( β ). In order to estimate β , this method maximizes the log of the Cox partial likelihood: The product is over individuals i who experienced the event (i.e., : δ i = 1). For each individual i who experienced the event, the denominator sums over all individuals j in the risk set at time T i , the observed time event for individual i , i.e. j ∈ R ( T i ). The log-partial likelihood can then be written as: Estimating regression coefficients β through maximizing the log partial likelihood relies only on the relative order of event times rather than their exact values. This enables the estimation of regression coefficients, and thus the hazard ratios, without having to make parametric assumptions about the λ 0 ( t ). Cox regression and censoring Censored individuals contribute to the denominator (risk set) of the Cox partial likelihood but do not contribute directly to the numerator since their event times are unknown. If the assumption of non-informative censoring is violated, the resulting hazard ratio estimates may be biased. Methods Next, we present our problem setup, notations, and assumptions, before introducing inverse probability of censoring weighting (IPCW), a method that also involves modeling survival time to address censoring bias. We then discuss inverse probability of treatment weighting (IPTW), a weight-based method for confounding adjustment. With these components established, we present the combined IPTW-IPCW estimator and its formulation. We also introduce Restricted Mean Survival Time (RMST) and Hazard Ratio (HR) as primary methods for evaluating treatment effect differences across survival curves. Problem Setup, Notation, and Assumptions We discuss the problem of treatment effect estimation under the potential outcome framework in causal inference 28 , 32 . Consider a dataset with n independent and identically distributed patients, indexed by i ∈ ℐ = {1, …, n } Patient baseline covariates are denoted by X i = ( X i 1 , …, X ij ) ∈ ℝ j and the treatment variable is Z i ∈{0, 1}. Let be the potential survival time and C i ( z ) be the potential censoring time if subject i had been assigned the treatment z . Then, T i = Z i T i (1) + (1 − Z i ) T i (0), and the observed follow-up time is with the corresponding event indicator The observed dataset is thus . Our primary goal is to estimate treatment effects in the context of time-to-event data subject to right censoring. We evaluate treatment effect using two complementary estimands: The Hazard Ratio (HR) between the treatment-specific hazard functions: where λ 1 ( t ) is the hazard function under treatment, and λ 0 ( t ) is the hazard function under control. The difference in Restricted Mean Survival Time (RMST) between the treatment groups. The RMST is defined as the expected survival time up to a specified time horizon, τ where S 1 ( t ) and S 0 ( t ) are the marginal survival functions for the treated and control groups, respectively. We note that the HR formulation does not fully align with the standard potential outcomes framework, in which causal effects are defined in terms of contrasts between fixed potential outcomes at the individual level. In contrast, hazards represent instantaneous event rates and reflect population-level quantities 9 . That is, hazard functions describe the rate of events over time among individuals with the same covariates, rather than a fixed risk for any one individual. Thus, the causal interpretation of hazard ratios should therefore be understood as a comparison of average instantaneous event rates across treatment groups rather than the average of individual-level causal effects. To identify treatment effects in the presence of censoring, we rely on two sets of assumptions. The first set of assumptions, standard in causal inference, was introduced by Rosenbaum and Rubin 27 and allows us to estimate the causal effect of treatment in the absence of censoring. When these assumptions hold, we can interpret differences in observed survival outcomes as causal effects of treatment rather than biases due to confounding. Assumption 1. Stable Unit Treatment Value Assumption (SUTVA). For every individual i: No interference . The potential survival time for subject i depends only on their own treatment, not on the treatments assigned to others; that is , where Z −i denotes the treatment vector of all individuals except i . Consistency . The observed survival time in real data equals the potential outcome under the treatment actually received: Together, (a) and (b) comprise SUTVA; they rule out both interference across subjects and hidden versions of the treatment, ensuring each unit has a well-defined, unique potential outcome for every treatment level . Assumption 2. Conditional Ignorability. Treatment assignment is independent of potential survival times, conditional on observed baseline covariates: Assumption 3. Positivity. Each individual has a nonzero probability of receiving either treatment: Assumptions 1-3 allow us to identify the causal effect of treatment on survival outcomes, provided that censoring does not introduce additional biases. To ensure that censoring does not obscure the identification of treatment effects, we introduce a second set of assumptions drawn from the causal survival analysis literature 10 , 26 , 36 . The following assumptions are analogous assumptions 2 and 3, ensuring that censoring does not introduce selection bias. Assumption 4. Conditional Independence of Censoring. Censoring is independent of the potential survival time, conditional on treatment assignment and baseline covariates: i . e ., after conditioning on ( X i , Z i ), the hazard of censoring carries no additional information about the future event time . Importantly, this conditional independence does not rule out the presence of marginal associations between survival and censoring. Such relationships can still arise in the marginal distribution due to shared dependence on covariates or treatment assignment. Assumption 5. Positivity of Censoring. Each individual has a nonzero probability of remaining uncensored up to time t, conditional on covariates and treatment assignment: In this work, we focus on treatment effect estimation in scenarios where non-informative censoring assumption fails. We can relax that assumption to Assumption 4 and, together with Assumption 5, apply a data-driven model of the censoring process to construct inverse probability of censoring weights (IPCW) that remove the resulting informative censoring bias. Estimators Inverse Probability of Censoring Weighting (IPCW) Inverse probability of censoring weighting (IPCW) provides a way to adjust for informative censoring by re-weighting observations based on their probability of remaining uncensored. IPCW works by assigning a weight to each subject at every observed time point t , inversely proportional to the estimated probability of remaining uncensored until time t . This probability is typically estimated using a separate model (often a Cox model or a pooled logistic regression), using censoring status as the dependent variable, to account for factors associated with censoring. When a subject is censored at time t c , those who remain at risk are given additional weight from t c onward to compensate for the loss of information from the censored subject. Practically, IPCW weights vary over time per subject, updating each time the risk set changes. IPCW corrects informative censoring only if the way subjects leave follow-up is adequately explained by observed data. In the present study, we only consider baseline covariates, so Assumptions 4 and 5 suffice. If time-varying covariates were available, one would need the stronger sequential ignorability of censoring assumption to hold 26 . The IPCW procedure can be summarized in the four steps below. Step 1 Fit a Cox PH model to estimate the hazard of censoring λ C ( t | X i ) conditional on covariates X i : Where is the baseline hazard of censoring at time t and β C is the vector of model coefficients. Step 2 Estimate the probability of remaining uncensored up to each observed time point t for each subject. Using the estimated hazard of censoring λ C ( t | X i ) from Step 1, we compute the subject-specific probability of remaining uncensored using the Cox model survival function: where Ŝ C 0 ( t ) is the estimated baseline survival function, corresponding to the probability of remaining uncensored up to time t for a subject with X i = 0 . The baseline survival function is computed using the Breslow estimator: where d C ( u ) is the number of censoring events at time u , and R ( u ) is the risk set at time u . Step 3 Compute IPCW weights. For each subject i at time point t , a subject is at risk if The inverse of the estimated probability of remaining uncensored up to time t is: Stabilized IPCW weights can be computed by including the marginal (unconditional) probability of remaining uncensored Ĝ 0 ( t ) in the numerator: where Ŝ C 0 ( t ) = Ĝ 0 ( t ) is the baseline survival function estimated under the assumption that X i = 0 . Step 4 Use IPCW weights in survival outcome models to estimate treatment effects (e.g., weighted Kaplan-Meier for survival probabilities, or weighted Cox proportional hazards model for hazard ratios). The IPCW-adjusted Kaplan-Meier estimator is given by: Where: t k denotes the k -th ordered event time, D ( t k ) is the set of individuals who experience the event at time t k , R ( t k ) is the risk set just before t k , Ŵ i is the IPCW weight for subject i . Here, the numerator represents the weighted number of events at time t i , while the denominator represents the weighted number of individuals at risk. IPCW thus adjusts for the loss of information due to censoring. To estimate treatment effects via a Cox proportional hazards model, IPCW weights can be incorporated into the partial likelihood function. The IPCW-adjusted partial likelihood is: As with the unweighted model, estimates of β are obtained by maximizing the log of this weighted partial likelihood. Inverse Probability of Treatment Weighting (IPTW) We briefly review Inverse Probability of Treatment Weighting (IPTW) as a standard method for confounding adjustment in observational studies here. IPTW is widely used to estimate causal effects by creating a pseudo-population in which treatment assignment is independent of observed confounders 27 . By weighting individuals inversely to the probability of receiving the treatment they actually received, IPTW balances covariate distributions across treatment groups, enabling unbiased estimation of the treatment effect in the presence of confounding. Since IPTW is well-established in the causal inference literature, we present it here only briefly as a review. Step 1 Fit a Propensity Score Model. We first estimate the propensity score e ( X i ), which is the conditional probability of receiving treatment given covariates: This is typically done using logistic regression. We note here that while IPCW weights are updated over time, each subject receives only a single IPTW weight, as treatment assignment is fixed at baseline. Step 2 Compute IPTW Weights. The weight for each subject i is given as the inverse of the estimated probability of receiving the treatment: The stabilized IPTW weights for each individual i can be computed by taking the marginal probability of receiving the treatment and dividing it by the estimated probability of receiving the treatment: Here, P ( Z i = 1) and P ( Z i = 0) refer to the marginal treatment probabilities across the entire population. Step 3 Apply IPTW weights to outcome models. We apply the IPTW weights to estimated weighted Kaplan-Meier curves and weighted Cox Proportional Hazards models for survival probability and hazard ratio estimation, respectively. For IPTW estimators to provide an unbiased correction for confounding, Assumptions 1-3 enumerated in section 2 (SUTVA, conditional ignorability, and positivity) must hold. Combining IPTW and IPCW In observational studies with time-to-event outcomes, treatment effect estimation can be complicated by both confounding and informative censoring. To address both sources of bias simultaneously, we can construct a doubly weighted estimator by applying IPTW for confounding adjustment and IPCW for censoring correction 3 . The combined weight for each individual i is: Here, is constant over time, while is a time-varying weight that adjusts for censoring. As a result, is also time-varying. The identification of this combined estimator is shown in the appendix. Schaubel and Wei 31 demonstrated that this doubly weighted approach yields estimates that consistently recover the effect one would observe in a population where treatment was randomized and no censoring occurred. Simulation Study To evaluate the performance of IPTW, IPCW, and their combination in correcting confounding and informative censoring, we conducted a simulation study. In all three simulations, we systematically varied the strength of informative censoring to assess the robustness and bias of each method under increasing levels of informative censoring bias. Simulation 1 featured non-differential informative censoring; simulation 2 introduced differential censoring; and simulation 3 incorporated differential censoring alongside a violation of the proportional hazards assumption. We evaluated the performance of IPTW, IPCW, and their combination by comparing the following estimators: Kaplan-Meier (KM) Estimator: We assessed how accurately each method estimated survival probabilities over time, stratified by treatment group. Estimated survival curves were compared to those from a fully observed (uncensored) dataset to quantify bias introduced by censoring. Restricted Mean Survival Time (RMST): To evaluate absolute treatment benefit, we computed the difference in RMST between two treatment arms, up to a fixed time horizon τ = 500. Estimates were benchmarked against RMST values from the uncensored dataset. Cox Proportional Hazards Model (Hazard Ratio (HR) Estimation): We assessed each method’s ability to recover the true marginal hazard ratio specified during data generation. We now describe the simulation setup in more detail. Simulation Design Step 1: Simulate covariate set . We simulated a covariate matrix X , which included a mix of continuous variables sampled from a normal distribution and binary variables sampled from a Bernoulli distribution. Step 2: Assign treatment status . We assigned treatment status to each individual based on some subset of the covariates, denoted X Z . We computed the probability of receiving treatment (the propensity score) as: Here, α is the coefficient vector and X Z , i denotes the treatment-relevant covariates for subject i . Treatment assignment Z i was then sampled from a Bernoulli distribution Z i = Bernoulli( e ( X i )) Step 3: Specify the ground-truth time-to-event model with a Weibull distribution . For each individual i , the censoring time T i was sampled from a Weibull distribution parametrized by shape parameter k event and scale parameter λ event . Event times T i were generated using inverse transform sampling as: where U i ~ Uniform(0, 1), β is the vector of log hazard ratios associated with covariates X event, i , and the covariate set X event, i ⊆ X i is the subset of covariates influencing the event hazard. This subset may overlap with X Z , i , the covariates affecting treatment assignment. This step was implemented using the R package simstudy 11 . This procedure yields a baseline hazard function: and individual-specific hazard functions conditional on covariates: where λ T , i ( t | X event, i ) is the hazard of the event for individual i at time t , and λ 0, T ( t ) is the baseline hazard function. Step 4: Specify the ground-truth time-to-censoring model with a Weibull distribution . For each individual i , the censoring time C i was sampled from a Weibull distribution parametrized by shape parameter k censor and scale parameter λ censor . Censoring times C i were generated using inverse transform sampling as: where U i ~ Uniform(0, 1), ϕ is a vector of linear predictors that scales the impact of each covariate on the censoring hazard, and X censor, i ⊆ X i is the subset of covariates relevant for censoring. This subset may overlap with both X Z , i and X event, i . This step was implemented using the R package simstudy 11 . This procedure yields a baseline censoring hazard function: and individual-specific hazard functions conditional on covariates: where λ C , i ( t | X censor, i ) is the hazard of censoring for individual i at time t , and λ 0, C ( t ) is the baseline hazard. Step 5: Sample event times and censoring times for each simulated individual in the dataset . From the generated exponential distributions in steps 3 and 4, we sampled ground-truth event times T i and ground-truth censoring times C i for each individual. We computed the observed time for each individual, and the corresponding event indicator, . Step 6: Perform inference using simulated dataset . With the simulated dataset constructed from the previous steps, we estimated survival curves and treatment effects using weighted Kaplan-Meier estimators and Cox proportional hazards models. To evaluate estimator performance, we compared estimates using each adjustment method (IPTW, IPCW, and combined IPCW+IPTW) against known ground-truth quantities derived from the full data-generating process: Survival curves : The ground truth survival function was computed using the uncensored event times T i for all individuals, that is, event times assuming no censoring occurred. This provided the “true” survival function stratified by treatment group. To quantify discrepancies between estimated and true survival functions, we calculated the root mean squared error (RMSE). We first found the squared differences between the estimated and true survival probabilities across all time points in some pre-specified time analysis window (i.e., up to time t = τ ) in both treatment groups, averaged across all computed squared differences, then took the square root. The RMSE served as a single summary measure of curve-level accuracy. Restricted Mean Survival Time (RMST) : The ground truth RMST was computed using the uncensored event times T i for all individuals, in the same manner as the ground truth survival functions. Discrepancies between estimated and true RMST values were summarized as the RMST bias, defined as (estimate − truth). Hazard ratio (HR) : We simulated counterfactual event times, T i (1) and T i (0) for each individual. The true marginal hazard ratio was estimated by fitting a Cox PH model using the complete dataset of all potential outcomes (i.e., both factual and counterfactual event times), with no censoring. The model used treatment assignment as the independent variable and the true event time as the dependent variable. Discrepancies between estimated and true HR values were summarized as the HR bias, defined as (estimate − truth). Simulation Parameters Our covariate set X consisted of four baseline variables: Conf1 (𝒩 (0, 0.5)), Conf2 (Bernoulli(0.5)), Cens1 (𝒩 (0, 0.5)), and Cens2 (Bernoulli(0.75)). Our covariate set had two confounders, Conf1 and Conf2, which were included in the treatment assignment model, i.e., {Conf1, Conf2} ⊆ X Z . There were also two predictors for censoring, Cens1 and Cens2, which were included in the censoring model, i.e., {Cens1, Cens2} ⊆ X censor . All four covariates, along with treatment assignment Z , influenced the event hazard, such that {Conf1, Conf2,} Z , Cens1, Cens2 ⊆ X event . The relationship among covariates, treatment, event, and censoring mechanisms is illustrated in Figure 2 . We set β Z = 0.7, corresponding to a conditional treatment effect size of 0.7 given the covariates. Each simulation was conducted with a sample size of n = 2000 and repeated 100 times. Download figure Open in new tab Figure 2. Simulation Setup. Bolded arrows denote what was varied in the simulation (informative censoring strength in all three simulations, and differential censoring in Simulations 2 and 3). Simulation 1: Varying censoring bias under non-differential informative censoring . In Simulation 1, we varied the strength of informative censoring by modifying the parameter vector ϕ , which governed the effect of Cens1 and Cens2 on the hazard of censoring. Increasing the magnitude of ϕ would lead to a stronger influence of Cens1 and Cens2 on the probability of being censored. Because these variables also affected the event outcome, larger magnitudes of ϕ induced greater informative censoring bias. We evaluated four levels of informative censoring: None: ϕ = ( ϕ Cens1 = 0, ϕ Cens2 = 0) Weak: ϕ = (0.8, 0.2) Strong: ϕ = (2, 0.8) Weak Negative: ϕ = ( − 0.8, − 0.2) For each value of ϕ , the baseline hazard of censoring λ 0, C ( t ) was adjusted to maintain an overall censoring rate of approximately 35%. Confounding bias was held constant at α Conf1 = 0.75 and α Conf2 = 0.25. Simulation 2: Varying censoring bias under differential informative censoring . In Simulation 2, we introduced differential informative censoring by making the treatment variable Z associated with both the survival time and censoring time, i.e. { Z , Cens1, Cens2} ⊆ X censor . We varied the strength of differential informative censoring as follows: None: ϕ = ( ϕ Z = 0, ϕ Cens1 = 0, ϕ Cens2 = 0) Weak: ϕ = (1.5, 0.8, 0.2) Strong: ϕ = (1.5, 2, 0.8) Weak Negative: ϕ = ( − 1.5, − 0.8, − 0.2) The level of confounding and rate of censoring was held at the same level as Simulation 1. Simulation 3: Varying censoring bias under differential informative censoring and proportional hazards assumption violation . In addition to varying the strength of informative censoring like Simulation 2, we generated data that violated the proportional hazards (PH) assumption by introducing a time-varying treatment effect. Recall that the true time-to-event outcome was generated using a Weibull model, with hazard function: and that the scale parameter for the Weibull distribution was given by: To introduce non-proportional, time-varying hazard ratios between the two treatment arms, we defined the treatment effect β Z ( t ) to be: We used the same levels of confounding and rate of censoring as Simulations 1 and 2. Simulation Results Simulation 1: Varying censoring bias under non-differential informative censoring . For survival curve estimation, IPCW and the combined method performed the best when there was informative censoring ( Figures 4b-d ). For RMST, IPTW-alone was generally sufficient. Although the combined method better captured the survival curve , both the IPTW method and combined methods captured the true RMST value consistently across varying levels of informative censoring ( Table 1 ): this could be explained by the fact that although the IPTW-only survival curves were biased, both the treated and untreated curves were biased in the same direction ( Figure 3 ), leading to an unbiased RMST difference between the treatment arms. For HR estimation ( Table 1 ; Figure 4b ), the combined method and IPTW-alone both captured the true marginal HR across different levels of informative censoring. View this table: View inline View popup Download powerpoint Table 1. Bias in RMST difference, hazard ratio (HR), and survival curves across different levels of informative censoring from Simulation 1 (Varying censoring bias under non-differential informative censoring). RMST and HR bias is calculated as (estimate – truth); values closest to 0 indicate lower bias. Survival curve bias is summarized using the root mean squared error (RMSE), calculated as the square root of the average mean squared error between estimated and true survival probabilities, averaged across treatment and control arms and over time points from 0 to 500. Download figure Open in new tab Figure 3. Treatment level survival curves when varying informative censoring strength in Simulation 1 (Varying censoring bias under non-differential informative censoring). ϕ values denote the relationships of the covariates “Cens1” and “Cens2” to censoring, respectively. Dotted lines denote the ground-truth survival curves, i.e. event times in the absence of censoring. Download figure Open in new tab Figure 4. Treatment Effect Estimation for Simulation 1 (Varying censoring bias under non-differential informative censoring): comparison of four estimators for (a) RMST difference at τ = 500 and (b) marginal hazard ratio estimates when varying the strength of informative censoring, ϕ . Simulation 2: Varying censoring bias under differential informative censoring . For survival curve estimation, the combined method performed the best across different levels of informative censoring ( Figure 5 ). For RMST ( Table 2 ; Figure 6a ) and HR estimation ( Table 2 ; Figure 6b ), the combined method was the only estimator that consistently recovered the ground truth under informative censoring. Notably, the results from both IPCW and the combined methods had larger standard errors in the presence of strong informative censoring, which is possibly due to the spread of the IPCW weights as more subjects get censored over time. This larger standard error was seen for both RMST and HR estimation. View this table: View inline View popup Download powerpoint Table 2. Bias in RMST difference, hazard ratio (HR), and survival curves across different levels of informative censoring from Simulation 2 (Varying censoring bias under differential informative censoring). RMST and HR bias is calculated as (estimate – truth); values closest to 0 indicate lower bias. Survival curve bias is summarized using the root mean squared error (RMSE), calculated as the square root of the average mean squared error between estimated and true survival probabilities, averaged across treatment and control arms and over time points from 0 to 500. Download figure Open in new tab Figure 5. Treatment level survival curves when varying differential informative censoring strength in Simulation 2 (Varying censoring bias under differential informative censoring). ϕ values denote the relationships of the covariates “Z” (treatment), “Cens1”, and “Cens2” to censoring, respectively. Dotted lines denote the ground-truth survival curves, i.e. event times in the absence of censoring. Download figure Open in new tab Figure 6. Treatment Effect Estimation for Simulation 2 (Varying censoring bias under differential informative censoring): comparison of four estimators for (a) RMST difference at τ = 500 and (b) marginal hazard ratio estimates when varying the strength of informative censoring, ϕ . Simulation 3: Varying censoring bias under differential informative censoring and proportional hazards assumption violation . When the PH assumption was violated in the presence of differential informative censoring, the results were similar to the case where there was no PH violation: the combined method performed the best for survival curve estimation ( Figure 7 ). The combined method was also the only method to consistently recover the true RMST ( Table 3 ; Figure 8a ) and true HR ( Table 3 ; Figure 8b ). View this table: View inline View popup Download powerpoint Table 3. Bias in RMST difference, hazard ratio (HR), and survival curves across different levels of informative censoring from Simulation 3 (Varying censoring bias under differential informative censoring and proportional hazards assumption violation). RMST and HR bias is calculated as (estimate – truth); values closest to 0 indicate lower bias. Survival curve bias is summarized using the root mean squared error (RMSE), calculated as the square root of the average mean squared error between estimated and true survival probabilities, averaged across treatment and control arms and over time points from 0 to 500. Download figure Open in new tab Figure 7. Treatment level survival curves when varying differential informative censoring strength and proportional hazards assumption violation in Simulation 3 ((Varying censoring bias under differential informative censoring and proportional hazards assumption violation). ϕ values denote the relationships of the covariates “Z” (treatment), “Cens1”, and “Cens2” to censoring, respectively. Dotted lines denote the ground-truth survival curves, i.e. event times in the absence of censoring. Download figure Open in new tab Figure 8. Treatment Effect Estimation for Simulation 3 (Varying censoring bias under differential informative censoring and proportional hazards assumption violation): comparison of four estimators for (a) RMST difference at τ = 500 and (b) marginal hazard ratio estimates when varying the strength of informative censoring, ϕ . Real World Study We compared the effects of two classes of anti-hypertensive drugs (ACE inhibitors and thiazide/thiazide-like diuretics) on one clinical outcome, acute myocardial infarction (AMI), with a retrospective, observational, comparative new-user cohort design. We used a single electronic health records database from Columbia University Medical Center (CUMC). We had a cohort size of 41,996 and a total of 49,104 covariates. We estimated the comparative treatment effect with Cox proportional hazards models and used 4 different weighting methodologies: (1) Unadjusted (no confounding or censoring adjustment), IPTW alone (confounding adjustment), IPCW alone (censoring adjustment) and the combined IPTW+IPCW weights (both confounding and censoring adjustment). IPTW weights were calculated from the 49,104 covariates with Large Scale Propensity Scores (LSPS) 40 , and IPCW weights were calculated using a L1-regularized Cox PH Model. Because updating the IPCW weights every time the risk set changed would result in 6,205 different refittings of the Cox censoring model (once per change in the risk set; whenever a patient was censored or had the event), we opted to update IPCW weights once per 60 day interval. For each weighting method, we estimated the hazards ratio, the survival curves, and the difference in RMST between the two treatments. Standard errors of hazard ratios were estimated through a robust sandwich estimator 20 , and standard errors of RMST differences were estimated with bootstrapping. We then compared HR estimates with results from a previously published large-scale meta-analysis with the same study design, involving 20 million patients across 9 databases and 4 countries 33 (LEGEND-HTN study). The 2019 study used propensity scores calculated from LSPS, but used 1:1 matching instead of IPTW weights. While we also calculated survival curves and RMST, there is no external benchmark for comparison, so we simply reported the results. Results The survival curves ( Figure 9 ) and RMST ( Figure 10 ) estimates showed that the unadjusted and IPCW curves performed similarly, while IPTW and the combined curves performed similarly. The unadjusted analysis suggested a substantial 27-day gain in restricted mean survival time (RMST) for the thiazide group (95% CI 22-32 days). Censoring adjustment alone (IPCW) did little to change this estimate (26.8 days, 22-32 days). In contrast, weighting for treatment confounding with IPTW sharply attenuated the RMST difference to 3.3 days (−1.0-7.5 days), bringing the estimate closer to the null. Adding censoring weights on top of IPTW produced a similar result (2.6 days, −1.5-6.7 days). Download figure Open in new tab Figure 9. Unadjusted survival curves (a) did not use any weights, while survival curves are weighted by (b) IPTW, (c) IPCW, and (d) combining IPTW+IPCW. The two treatment groups were thiazide diuretics (dotted line) and ACE inhibitors (solid line). Shaded areas denote the 95% confidence interval. Download figure Open in new tab Figure 10. RMST differences in our real world study, comparing thiazide diuretics to ACE inhibitors for the risk of AMI. A RMST difference > 0 means that the outcome is more favorable for thiazide diuretics. The dotted vertical line denotes the point at which there is no difference in survival time between the two treatments. Standard errors were calculated through bootstrap (n=200). For HR estimation ( Figure 11 ), the unadjusted estimate underestimated the published benchmark (HR = 0.48, 95% CI 0.41–0.56 vs. 0.84, 0.75–0.95 in the LEGEND-HTN meta-analysis). Applying IPTW brought the hazard ratio much closer to the benchmark (HR = 0.81, 0.66–0.99). Adding censoring weights (combined IPTW + IPCW) yielded a slightly higher point estimate (HR = 0.92, 0.73–1.14), but the two approaches were not statistically significantlly different given their overlapping confidence intervals. In contrast, IPCW alone failed to improve on the unadjusted analysis, producing an HR of 0.46 (0.38–0.55). Download figure Open in new tab Figure 11. Hazard ratio estimates of our real world study, comparing thiazide diuretics to ACE inhibitors for the risk of AMI. A HR < 1 means that the outcome is more favorable for thiazide diuretics. The first line denotes the meta-analysis study (LEGEND-HTN) from Suchard et. al 33 . All other estimates are from a single EHR database (“CUMC”). The dotted vertical line denotes the point at which there is no difference in hazard ratio between the two treatments. Standard errors were estimated with a robust sandwich-type variance estimator proposed by Lin and Wei 20 . Discussion This study evaluated the performance of IPTW, IPCW, and their combination in the presence of confounding and informative censoring. We assessed these weighting methods on survival curve, RMST, and HR estimation in simulation and real-world data settings. Our simulations showed that IPCW and the combined method consistently produced survival curves closer to the ground-truth, while the addition of IPCW only improved upon treatment effect estimation (RMST and HR) in the presence of differential informative censoring. This is likely explained by the fact that, though non-differential informative censoring biases survival curves, both the treated and untreated curves had biases in the same direction with similar magnitudes ( Figure 3 ), ultimately leading to a unbiased treatment effect estimate (either a difference or a ratio between the untreated and treated hazards or RMST). In our real-world study, IPCW adjustment did not improve HR estimates relative to an unadjusted analysis when compared against the published large-scale meta-analysis. This could be due to the fact that the IPCW weights were updated too infrequently (once every 60 days, instead of every time the risk set changed). Another possible explanation could be that the primary source of bias in the LEGEND-HTN study was confounding, and that the informative censoring was absent or weak. The results from the real-world study showed that the IPCW estimates closely followed that of the unadjusted RMST, HR, and survival curve estimates, while the IPTW estimates closely followed that of the combined IPTW+IPCW RMST, HR, and survival curve estimates. This was seen as well in all 3 simulations in the case where there was no informative censoring. Our findings suggest that the addition of IPCW is valuable for (1) survival curve estimation in the presence of informative censoring, and (2) treatment effect estimation in the presence of differential informative censoring. Practically, this suggests that if the primary goal is to estimate survival probabilities, or if it is known that there is presence of differential informative censoring, the doubly weighted method may yield more accurate results than IPTW alone. We note, however, that determining whether informative censoring is “strong” or “differential” in the real-world data setting is difficult: because we only observe either the censoring time or the event time for each individual, never both, the extent of informative censoring is unidentifiable. One potential strategy to assess the value of IPCW is to fit separate models for treatment assignment and censoring, then examine whether any covariates are predictive of censoring but not included in the treatment model. If such variables also affect the outcome, their omission from the confounding adjustment may lead to residual bias that IPTW cannot correct, whereas IPCW may help mitigate it. We leave the development of this diagnostic approach as a future direction. Limitations and Future Directions There are some limitations of our study. First, this study focused on baseline confounders and censoring mechanisms; however, in clinical practice, time-dependent confounding and censoring are common. Second, while we compared our real-world study with an external benchmark 33 , it is important to recognize that the meta-analysis itself is not necessarily the ground truth. In a follow-up study also comparing thiazide diuretics and ACE inhibitors for the risk of AMI, the study design was modified to use a stricter definition of antihypertensive monotherapy to mitigate bias 1 . Though the results of this follow-up study do not differ substantially from the original meta-analysis, the risk of AMI shifted towards the null and was no longer significant. This shift towards the null was also seen in our IPTW+IPCW result. While the 2024 follow-up study and the study presented here attempted to correct bias from different sources, the fact that the IPTW+IPCW HR was closer to that of the 2024 follow-up study (than to the meta-analysis) suggests that there may exist some residual bias in the large-scale meta analysis. In addition, differences in study populations, data sources, and methodological choices (e.g., 1:1 propensity score matching in the meta-analysis vs. IPTW in our study) could also contribute to discrepancies. It is also possible that the IPTW estimate performed the “best” out of all four weighting methods when compared to the published meta-analysis because the meta-analysis itself did not adjust for censoring. However, we note that the meta-analysis might provide a better estimate even in the absence of censoring adjustment, because it used several large claims databases, which might capture more comprehensive observation periods than electronic health records 2 . Given the lack of a true experimental gold standard, this comparison represents the best available approach to assess the plausibility of the hazards ratio estimates. Finally, our real-world study evaluated a treatment-outcome pair where informative censoring may not have played a major role, particularly after adjusting for confounders. It is possible that the role of IPCW would be more pronounced in scenarios where censoring is strongly informative and differential, and not fully explained by observed covariates. Future research could explore alternative treatment-outcome pairs where censoring is more likely to introduce bias in order to better understand the practical necessity of IPCW. Conclusions This study underscores the importance of evaluating whether censoring meaningfully biases treatment effect estimation when deciding whether to apply censoring adjustment methods. The findings in our real-world study suggests that when treatment assignment is primarily driven by patient characteristics, large-scale confounder adjustment (e.g., using large-scale propensity scores) is often sufficient to remove most biases, including those indirectly related to censoring. In such cases, explicit censoring adjustment may not be necessary. However, in the presence of informative censoring (whether or not it is differential), IPCW improves survival curve estimation bias. Furthermore, if the informative censoring is also differential, the combination of IPCW and IPTW may be necessary to get unbiased treatment effect (RMST, HR) estimates. Data Availability The data underlying this article cannot be shared publicly due to privacy of patient health information. Appendix Causal Identification of RMST Difference Using IPTW and IPCW We now formally state and prove the identification result for the RMST difference Assumptions: A1 Consistency : T = T ( z ) when Z = z . A2 Conditional exchangeability : A ⊥ T ( z ) | X for z ∈ {0, 1}. A3 Positivity : 0 < P ( Z = z | X ) 0 for t ≤ τ . Under Assumptions 1-5, the causal restricted mean survival time (RMST) difference, is identified from the observed data as where e ( X ) = P ( Z = 1 | X ) is the propensity score, G ( t | Z, X ) = P ( C > t | Z, X ) is the conditional survival function for the censoring time, and is the event indicator. Proof . We will show that Footnotes ↵ * Co-senior authors References 1. ↵ Anand TV , Bu F , Schuemie MJ , Suchard MA and Hripcsak G ( 2024 ) Comparative safety and effectiveness of angiotensin converting enzyme inhibitors and thiazides and thiazide-like diuretics under strict monotherapy . The Journal of Clinical Hypertension 26 ( 4 ): 425 – 430 . DOI: 10.1111/jch.14793 . URL https://onlinelibrary.wiley.com/doi/abs/10.1111/jch.14793 . _eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1111/jch.14793 . OpenUrl CrossRef PubMed 2. ↵ Blacketer C , Ryan P , DeFalco F , Schuemie M and Rijnbeek P ( 2023 ) Estimating Observable Time in the Absence of Defined Enrollment . 3. ↵ Buchanan AL , Hudgens MG , Cole SR , Lau B and Adimora AA ( 2014 ) Worth the Weight: Using Inverse Probability Weighted Cox Models in AIDS Research . AIDS Research and Human Retroviruses 30 ( 12 ): 1170 – 1177 . DOI: 10.1089/aid.2014.0037 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4250953/ . OpenUrl CrossRef PubMed 4. ↵ Campigotto F and Weller E ( 2014 ) Impact of Informative Censoring on the Kaplan-Meier Estimate of Progression-Free Survival in Phase II Clinical Trials . Journal of Clinical Oncology 32 ( 27 ): 3068 – 3074 . DOI: 10.1200/JCO.2014.55.6340 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4162501/ . OpenUrl Abstract / FREE Full Text 5. ↵ Chernozhukov V , Chetverikov D , Demirer M , Duflo E , Hansen C and Newey W ( 2017 ) Double/Debiased/Neyman Machine Learning of Treatment Effects . American Economic Review 107 ( 5 ): 261 – 265 . DOI: 10.1257/aer.p20171038 . URL https://pubs.aeaweb.org/doi/10.1257/aer.p20171038 . OpenUrl CrossRef PubMed 6. ↵ Chipman HA , George EI and McCulloch RE ( 2010 ) BART: Bayesian additive regression trees . The Annals of Applied Statistics 4 ( 1 ). DOI: 10.1214/09-AOAS285 . URL https://projecteuclid.org/journals/annals-of-applied-statistics/volume-4/issue-1/BART-Bayesian-additive-regression-trees/10.1214/09-AOAS285.full . OpenUrl CrossRef Web of Science 7. ↵ Cox DR ( 1972 ) Regression Models and Life-Tables. Journal of the Royal Statistical Society . Series B (Methodological) 34 ( 2 ): 187 – 220 . URL https://www.jstor.org/stable/2985181 . Publisher: [Royal Statistical Society, Oxford University Press] . OpenUrl 8. ↵ Dong G , Mao L , Huang B , Gamalo-Siebers M , Wang J , Yu G and Hoaglin DC ( 2020 ) The inverse-probability-of-censoring weighting (IPCW) adjusted win ratio statistic: an unbiased estimator in the presence of right censoring . Journal of biopharmaceutical statistics 30 ( 5 ): 882 – 899 . DOI: 10.1080/10543406.2020.1757692 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7538385/ . OpenUrl CrossRef PubMed 9. ↵ Fay MP and Li F ( 2024 ) Causal Interpretation of the Hazard Ratio in Randomized Clinical Trials . Clinical trials (London, England) 21 ( 5 ): 623 – 635 . DOI: 10.1177/17407745241243308 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11502288/ . OpenUrl CrossRef PubMed 10. ↵ Fleming TR and Harrington DP ( 2005 ) Counting processes and survival analysis. Wiley series in probability and statistics . Hoboken, N.J: Wiley-Interscience . ISBN 978-0-471-76988-0 . 11. ↵ Goldfeld K and Wujciak-Jens J ( 2020 ) simstudy: Illuminating research methods through data generation . Journal of Open Source Software 5 ( 54 ): 2763 . DOI: 10.21105/joss.02763 . URL https://joss.theoj.org/papers/10.21105/joss.02763 . Publisher: The Open Journal . OpenUrl CrossRef 12. ↵ Hahn PR , Murray JS and Carvalho C ( 2019 ) Bayesian regression tree models for causal inference: regularization, confounding, and heterogeneous effects . DOI: 10.48550/arXiv.1706.09523 . URL http://arxiv.org/abs/1706.09523 . arxiv: 1706.09523 [stat]. OpenUrl CrossRef 13. ↵ Hernán MA ( 2010 ) The Hazards of Hazard Ratios . Epidemiology (Cambridge, Mass .) 21 ( 1 ): 13 – 15 . DOI: 10.1097/EDE.0b013e3181c1ea43 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3653612/ . OpenUrl CrossRef PubMed Web of Science 14. ↵ Hill JL ( 2011 ) Bayesian Nonparametric Modeling for Causal Inference . Journal of Computational and Graphical Statistics 20 ( 1 ): 217 – 240 . DOI: 10.1198/jcgs.2010.08162 . URL https://doi.org/10.1198/jcgs.2010.08162 . Publisher: ASA Website _eprint: https://doi.org/10.1198/jcgs.2010.08162 . OpenUrl CrossRef Web of Science 15. ↵ Kalbfleisch JD and Prentice RL ( 2002 ) The Statistical Analysis of Failure Time Data . Wiley Series in Probability and Statistics , 1 edition. Wiley . ISBN 978-0-471-36357-6 978-1-118-03298-5 . DOI: 10.1002/9781118032985 . URL https://onlinelibrary.wiley.com/doi/book/10.1002/9781118032985 . OpenUrl CrossRef 16. ↵ Kaplan EL and Meier P ( 1958 ) Nonparametric Estimation from Incomplete Observations . Journal of the American Statistical Association 53 ( 282 ): 457 – 481 . DOI: 10.1080/01621459.1958.10501452 . URL http://www.tandfonline.com/doi/abs/10.1080/01621459.1958.10501452 . OpenUrl CrossRef 17. ↵ Kleinbaum DG and Klein M ( 2012 ) Introduction to Survival Analysis . In: Survival Analysis . New York, NY : Springer New York . ISBN 978-1-4419-6645-2 978-1-4419-6646-9 , pp. 1 – 54 . DOI: 10.1007/978-1-4419-6646-9_1 . URL http://link.springer.com/10.1007/978-1-4419-6646-9_1 . Series Title: Statistics for Biology and Health . OpenUrl CrossRef 18. ↵ Lesko CR , Edwards JK , Moore RD and Lau B ( 2019 ) Censoring for loss to follow-up in time-to-event analyses of composite outcomes or in the presence of competing risks . Epidemiology (Cambridge, Mass .) 30 ( 6 ): 817 – 824 . DOI: 10.1097/EDE.0000000000001073 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6768756/ . OpenUrl CrossRef PubMed 19. ↵ Leung KM , Elashoff RM and Afifi AA ( 1997 ) Censoring Issues in Survival Analysis . Annual Review of Public Health 18 ( 1 ): 83 – 104 . DOI: 10.1146/annurev.publhealth.18.1.83 . URL https://doi.org/10.1146/annurev.publhealth.18.1.83 . _eprint: https://doi.org/10.1146/annurev.publhealth.18.1.83 . OpenUrl CrossRef PubMed Web of Science 20. ↵ Lin DY , and Wei LJ ( 1989 ) The Robust Inference for the Cox Proportional Hazards Model . Journal of the American Statistical Association 84 ( 408 ): 1074 – 1078 . DOI: 10.1080/01621459.1989.10478874 . URL https://www.tandfonline.com/doi/abs/10.1080/01621459.1989.10478874 . Publisher: ASA Website _eprint: https://www.tandfonline.com/doi/pdf/10.1080/01621459.1989.10478874 . OpenUrl CrossRef 21. ↵ Lin HM , Liu STH , Levin MA , Williamson J , Bouvier NM , Aberg JA , Reich D and Egorova N ( 2023 ) Informative Censoring—A Cause of Bias in Estimating COVID-19 Mortality Using Hospital Data . Life 13 ( 1 ): 210 . DOI: 10.3390/life13010210 . URL https://www.mdpi.com/2075-1729/13/1/210 . Number: 1 Publisher: Multidisciplinary Digital Publishing Institute . OpenUrl CrossRef PubMed 22. ↵ Pocock SJ , Ariti CA , Collier TJ and Wang D ( 2012 ) The win ratio: a new approach to the analysis of composite endpoints in clinical trials based on clinical priorities . European Heart Journal 33 ( 2 ): 176 – 182 . DOI: 10.1093/eurheartj/ehr352 . OpenUrl CrossRef PubMed Web of Science 23. ↵ Ranganathan P and Pramesh CS ( 2012 ) Censoring in survival analysis: Potential for bias . Perspectives in Clinical Research 3 ( 1 ): 40 . DOI: 10.4103/2229-3485.92307 . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3275994/ . OpenUrl CrossRef PubMed 24. ↵ Robins JM ( 1994 ) Correcting for non-compliance in randomized trials using structural nested mean models . Communications in Statistics - Theory and Methods 23 ( 8 ): 2379 – 2412 . DOI: 10.1080/03610929408831393 . URL https://doi.org/10.1080/03610929408831393 . Publisher: Taylor & Francis _eprint: https://doi.org/10.1080/03610929408831393 . OpenUrl CrossRef 25. ↵ Robins JM and Finkelstein DM ( 2000 ) Correcting for noncompliance and dependent censoring in an AIDS Clinical Trial with inverse probability of censoring weighted (IPCW) log-rank tests . Biometrics 56 ( 3 ): 779 – 788 . DOI: 10.1111/j.0006-341x.2000.00779.x . OpenUrl CrossRef PubMed Web of Science 26. ↵ Jewell NP , Dietz K and Farewell VT Robins JM and Rotnitzky A ( 1992 ) Recovery of Information and Adjustment for Dependent Censoring Using Surrogate Markers . In: Jewell NP , Dietz K and Farewell VT (eds.) AIDS Epidemiology: Methodological Issues . Boston, MA : Birkhäuser . ISBN 978-1-4757-1229-2 , pp. 297 – 331 . DOI: 10.1007/978-1-4757-1229-2_14 . URL https://doi.org/10.1007/978-1-4757-1229-2_14 . OpenUrl CrossRef 27. ↵ Rosenbaum PR and Rubin DB ( 1983 ) The central role of the propensity score in observational studies for causal effects . 28. ↵ Rubin DB ( 1974 ) Estimating causal effects of treatments in randomized and nonrandomized studies . Journal of Educational Psychology 66 ( 5 ): 688 – 701 . DOI: 10.1037/h0037350 . Place: US Publisher: American Psychological Association . OpenUrl CrossRef 29. ↵ Rubin DB ( 2005 ) Causal Inference Using Potential Outcomes: Design, Modeling, Decisions . Journal of the American Statistical Association 100 ( 469 ): 322 – 331 . DOI: 10.1198/016214504000001880 . URL https://doi.org/10.1198/016214504000001880 . Publisher: ASA Website _eprint: https://doi.org/10.1198/016214504000001880 . OpenUrl CrossRef Web of Science 30. ↵ Rytgaard HCW and van der Laan MJ ( 2024 ) Targeted maximum likelihood estimation for causal inference in survival and competing risks analysis . Lifetime Data Analysis 30 ( 1 ): 4 – 33 . DOI: 10.1007/s10985-022-09576-2 . URL https://doi.org/10.1007/s10985-022-09576-2 . OpenUrl CrossRef PubMed 31. ↵ Schaubel DE and Wei G ( 2011 ) Double inverse-weighted estimation of cumulative treatment effects under non-proportional hazards and dependent censoring . Biometrics 67 ( 1 ): 29 – 38 . DOI: 10.1111/j.1541-0420.2010.01449.x . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3372067/ . OpenUrl CrossRef PubMed 32. ↵ Splawa-Neyman J , Dabrowska DM and Speed TP ( 1990 ) On the Application of Probability Theory to Agricultural Experiments. Essay on Principles. Section 9 . Statistical Science 5 ( 4 ): 465 – 472 . DOI: 10.1214/ss/1177012031 . URL https://projecteuclid.org/journals/statistical-science/volume-5/issue-4/On-the-Application-of-Probability-Theory-to-Agricultural-Experiments-Essay/10.1214/ss/1177012031.full . Publisher: Institute of Mathematical Statistics . OpenUrl CrossRef 33. ↵ Suchard MA , Schuemie MJ , Krumholz HM , You SC , Chen R , Pratt N , Reich CG , Duke J , Madigan D , Hripcsak G and Ryan PB ( 2019 ) Comprehensive comparative effectiveness and safety of first-line antihypertensive drug classes: a systematic, multinational, large-scale analysis . The Lancet 394 ( 10211 ): 1816 – 1826 . DOI: 10.1016/S0140-6736(19)32317-7 . URL https://linkinghub.elsevier.com/retrieve/pii/S0140673619323177 . OpenUrl CrossRef PubMed 34. ↵ van der Laan M and Rubin D ( 2006 ) Targeted Maximum Likelihood Learning . U.C. Berkeley Division of Biostatistics Working Paper Series URL https://biostats.bepress.com/ucbbiostat/paper213 . 35. ↵ Van Der Laan MJ and Rose S ( 2011 ) Targeted Learning: Causal Inference for Observational and Experimental Data . Springer Series in Statistics . New York, NY : Springer . ISBN 978-1-4419-9781-4 978-1-4419-9782-1 . DOI: 10.1007/978-1-4419-9782-1 . URL https://link.springer.com/10.1007/978-1-4419-9782-1 . OpenUrl CrossRef 36. ↵ Voinot C , Berenfeld C , Mayer I , Sebastien B and Josse J ( 2025 ) Causal survival analysis, Estimation of the Average Treatment Effect (ATE): Practical Recommendations . DOI: 10.48550/arXiv.2501.05836 . URL http://arxiv.org/abs/2501.05836 . arxiv: 2501.05836 [stat]. OpenUrl CrossRef 37. ↵ Wager S , and Athey S ( 2018 ) Estimation and Inference of Heterogeneous Treatment Effects using Random Forests . Journal of the American Statistical Association 113 ( 523 ): 1228 – 1242 . DOI: 10.1080/01621459.2017.1319839 . URL https://doi.org/10.1080/01621459.2017.1319839 . Publisher: ASA Website _eprint: https://doi.org/10.1080/01621459.2017.1319839 . OpenUrl CrossRef 38. ↵ Willems S , Schat A , van Noorden M and Fiocco M ( 2018 ) Correcting for dependent censoring in routine outcome monitoring data by applying the inverse probability censoring weighted estimator . Statistical Methods in Medical Research 27 ( 2 ): 323 – 335 . DOI: 10.1177/0962280216628900 . URL https://doi.org/10.1177/0962280216628900 . Publisher: SAGE Publications Ltd STM . OpenUrl CrossRef PubMed 39. ↵ Xuan J , Mt-Isa S , Latimer N , Bell Gorrod H , Malbecq W , Vandormael K , Yorke-Edwards V and White IR ( 2025 ) Is inverse probability of censoring weighting a safer choice than per-protocol analysis in clinical trials? Statistical Methods in Medical Research 34 ( 2 ): 286 – 306 . DOI: 10.1177/09622802241289559 . URL https://journals.sagepub.com/doi/10.1177/09622802241289559 . OpenUrl CrossRef PubMed 40. ↵ Zhang L , Wang Y , Schuemie MJ , Blei DM and Hripcsak G ( 2022 ) Adjusting for indirectly measured confounding using large-scale propensity score . Journal of Biomedical Informatics 134: 104204 . DOI: 10.1016/j.jbi.2022.104204 . URL https://linkinghub.elsevier.com/retrieve/pii/S153204642200209X . OpenUrl CrossRef PubMed 41. ↵ Zhang M and Schaubel DE ( 2011 ) Estimating differences in restricted mean lifetime using observational data subject to dependent censoring . Biometrics 67 ( 3 ): 740 – 749 . DOI: 10.1111/j.1541-0420.2010.01503.x . URL https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4190616/ . OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted August 26, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following When Does IPCW Help? Simulation and Real-World Evidence on Censoring Adjustment in Survival Analysis Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share When Does IPCW Help? Simulation and Real-World Evidence on Censoring Adjustment in Survival Analysis Hsin Yi Chen , Tara V. Anand , Linying Zhang , George Hripcsak medRxiv 2025.08.22.25334253; doi: https://doi.org/10.1101/2025.08.22.25334253 Share This Article: Copy Citation Tools When Does IPCW Help? Simulation and Real-World Evidence on Censoring Adjustment in Survival Analysis Hsin Yi Chen , Tara V. Anand , Linying Zhang , George Hripcsak medRxiv 2025.08.22.25334253; doi: https://doi.org/10.1101/2025.08.22.25334253 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Epidemiology Subject Areas All Articles Addiction Medicine (568) Allergy and Immunology (863) Anesthesia (300) Cardiovascular Medicine (4441) Dentistry and Oral Medicine (444) Dermatology (383) Emergency Medicine (608) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1510) Epidemiology (15229) Forensic Medicine (30) Gastroenterology (1126) Genetic and Genomic Medicine (6606) Geriatric Medicine (668) Health Economics (998) Health Informatics (4541) Health Policy (1369) Health Systems and Quality Improvement (1613) Hematology (543) HIV/AIDS (1265) Infectious Diseases (except HIV/AIDS) (15923) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (147) Nephrology (668) Neurology (6604) Nursing (346) Nutrition (998) Obstetrics and Gynecology (1145) Occupational and Environmental Health (957) Oncology (3334) Ophthalmology (974) Orthopedics (369) Otolaryngology (420) Pain Medicine (436) Palliative Medicine (130) Pathology (663) Pediatrics (1693) Pharmacology and Therapeutics (692) Primary Care Research (711) Psychiatry and Clinical Psychology (5448) Public and Global Health (9235) Radiology and Imaging (2200) Rehabilitation Medicine and Physical Therapy (1370) Respiratory Medicine (1196) Rheumatology (594) Sexual and Reproductive Health (713) Sports Medicine (530) Surgery (712) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a017da589cbddf88',t:'MTc3OTc0Njg0NQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00