betaFeedback

WorksMathematics

Multivariate Augmented Prediction-Powered Survival Inference for EHR Association Studies With Limited Chart Review

Abstract

Objective: To reduce bias and improve precision in survival association studies using electronic health record (EHR) data when computational phenotypes (CPs) for outcomes and covariates are error-prone and chart review is limited. Materials and Methods: We developed Multivariate Augmented Prediction-Powered Survival (MAPS) regression, which combines chart-reviewed and CP-derived labels across different validation patterns. MAPS uses a discrete-time survival model with a complementary log-log link to estimate hazard ratios (HRs). It incorporates data-adaptive augmentation weights, inverse-probability sampling weights, and patient-level cluster-robust variance estimation. We compared MAPS with chart-reviewed data (CRD) and CP-only analyses in simulation studies and a masked-validation study of immune-related adverse events (irAEs) among 1,026 patients receiving immune checkpoint inhibitors. Results: In the main simulations, MAPS produced approximately unbiased estimates and generally near-nominal 95% confidence interval (CI) coverage, with narrower intervals than CRD. CP-only estimates became increasingly biased as CP errors increased. In the EHR analysis, MAPS estimates closely agreed with fully validated estimates and improved precision over CRD, particularly at lower validation rates. CP-only analysis suggested increased irAE risk associated with pre-existing autoimmune disease (AID; HR=1.53; 95% CI, 1.12-2.09), whereas the fully validated analysis did not (HR=0.93; 95% CI, 0.67-1.29). Discussion: Precision gains depended on CP quality and validation rates, while small validation samples may affect confidence interval coverage. Conclusion: MAPS provides a flexible and efficient approach to EHR-based survival inference by combining limited chart-reviewed data with error-prone CPs across different validation patterns.

Abbreviations: AID, CP, CRD, EHR, HR, ICI, IPW, irAE, MAPS

Background and Significance

Electronic health records (EHRs) support longitudinal studies of disease risk and treatment-related adverse events, but many clinical variables must first be extracted as computational phenotypes (CPs). CP algorithms translate diagnosis codes, laboratory results, medications, and clinical narratives into research variables using clinical rules, machine learning, or natural language processing [3]. The resulting phenotypes are imperfect measurements. Treating them as observed truth can bias association estimates, reduce statistical power, and, under differential misclassification, inflate type I error [5, 13]. Chart review and clinical adjudication provide validated labels, but their cost often limits validation to a small subset of patients [14]. Restricting analyses to this subset reduces statistical power and fails to leverage potentially valuable information from the remaining cohort.

Several methods have been developed to address phenotyping error in EHR-based association studies. Early likelihood-based approaches incorporate known or estimated sensitivity and specificity to correct for outcome misclassification [9]. Hubbard et al. proposed a bias-correction method that rescales regression coefficients using the mean predicted phenotype probabilities among true cases and controls [7]. Tong et al. developed an augmented estimator that combines chart-reviewed labels with CPs to reduce bias and improve precision [13]. Subsequent extensions accommodate outcome-dependent chart-review sampling [14] and multiple CPs generated by different algorithms for the same outcome [8]. More recently, prediction-powered inference (PPI) extended the augmentation framework to a broader range of statistical problems, including mean and quantile estimation and generalized linear regression [1]. PPI++ further introduces data-adaptive weighting to optimize the contribution of predicted outcomes, improving statistical efficiency, and provides computationally efficient inference [2]. However, these methods do not directly accommodate censored time-to-event outcomes or simultaneously address phenotyping errors in both covariates and outcomes.

Few methods address measurement error in survival regression. Existing approaches use validation-based multiple imputation or imputation-assisted generalized raking to correct measurement errors and improve efficiency [6, 10]. Multiple imputation requires an adequately specified imputation model, whereas imputation-assisted raking can remain consistent under model misspecification. Small validation samples can lead to imputation-model overfitting or limited efficiency gains.

To address these limitations, we propose Multivariate Augmented Prediction-Powered Survival (MAPS) regression, a framework that combines validated and CP-derived labels to estimate covariate associations with survival outcomes when both outcomes and covariates are subject to phenotyping error. MAPS uses discrete-time survival regression with a complementary log-log link to estimate hazard ratios (HRs) [11]. Built on the recent work on augmented estimation under different missing-data patterns [4], MAPS partitions patients according to their label-validation patterns and constructs pattern-specific augmentation terms to incorporate information from partially validated and CP-derived labels. A data-adaptive weight matrix optimally combines these augmentation terms to improve statistical efficiency. Inverse-probability sampling weights account for covariate-dependent validation, while patient-level cluster-robust variance estimation accounts for within-patient dependence across follow-up intervals.

We evaluate MAPS through simulation studies with CP errors in the survival outcome alone and in both the outcome and a covariate. We assess bias, empirical coverage of 95% confidence intervals, and precision across varying levels of CP error, comparing MAPS regression with chart-reviewed data (CRD) and CP-only analyses. We further evaluate MAPS using a Northwestern Medicine cohort of patients receiving immune checkpoint inhibitors (ICIs), examining the association between pre-existing autoimmune disease (AID) and the risk of immune-related adverse events (irAEs). Because both AID history and irAE outcomes have been fully adjudicated in this cohort, we mask validated labels to vary the validation rate and assess how closely MAPS reproduces estimates from the fully validated cohort and the precision gains achieved across different validation rates.

Materials and Methods

Discrete-Time Survival Regression Models

Consider a study with NN subjects. For subject ii, let XiX_i denote a vector of covariates, TiT_i the event time, and CiC_i the censoring time. In practice, neither TiT_i nor CiC_i is directly observed. Instead, we observe the follow-up time Ui=min⁡(Ti,Ci)U_i = \min(T_i,C_i) and the event indicator Δi=I(Ti≤Ci)\Delta_i = I(T_i \le C_i).

A widely used model for assessing the association between covariates and time-to-event outcomes is the Cox proportional hazards model,

λ(t∣Xi)=λ0(t)exp⁡(βTXi),(1)\lambda(t \mid X_i) = \lambda_0(t)\exp(\beta^\mathsf{T}X_i), \tag*{(1)}

where λ0(t)\lambda_0(t) is the baseline hazard function and β\beta is a vector of regression coefficients that quantify the association between the covariates and the hazard of the event.

In a discrete-time survival model, follow-up is divided into prespecified intervals, such as months or years. Let LiL_i denote the number of intervals contributed by subject ii. For j=1,…,Jij = 1,\ldots,J_i, define subject ii’s event indicator as

dij={1,event during interval j,0,otherwise.(2)d_{ij} = \begin{cases} 1, & \text{event during interval } j,\\ 0, & \text{otherwise.} \end{cases} \tag*{(2)}

A subject who is censored during time interval jj has dij=0d_{ij}=0 for that interval and does not contribute to subsequent intervals. We define the discrete-time hazard for subject ii during interval jj as

hij=Pr⁡(dij=1∣at risk at the start of interval j,Xi).(3)h_{ij} = \Pr(d_{ij}=1 \mid\text{at risk at the start of interval } j, X_i). \tag*{(3)}

Thus, hijh_{ij} is the conditional probability that subject ii experiences the event during interval jj, given that the subject has remained event-free and uncensored up to the start of that interval.

The data are represented in person-period format, with one row for each time interval during which a subject remains at-risk for the event. We fit a regression model with a complementary log-log (cloglog) link to these data. Let bj∈Rqb_j \in\mathbb{R}^q denote a flexible basis function for the intervals and let Xi∈RrX_i \in\mathbb{R}^r denote the covariates. We specify

log⁡{−log⁡(1−hij)}=bjTα+XiTβ,(4)\log\{-\log(1-h_{ij})\} = b_j^\mathsf{T}\alpha+ X_i^\mathsf{T}\beta, \tag*{(4)}

where α\alpha indicates the effect of baseline time. With the cloglog link, β\beta contains the log hazard ratios (log-HRs) for the covariates. With sufficiently small time intervals, the estimated hazard ratios closely approximate those obtained from continuous-time Cox regression [11] (Supplementary Methods, Section S1).

Multivariate Augmented Prediction-Powered Survival (MAPS) Regression

We use the term validated label to denote a covariate or outcome label determined through chart review and clinical adjudication and treated as the true label for analysis. We first consider the setting illustrated in Figure 1, in which the survival outcome Yi=(Ui,Δi)Y_i=(U_i,\Delta_i) and one covariate, Xi1X_{i1}, are identified using CP algorithms. These CP-derived labels, denoted by Y^i\widehat{Y}_i and X^i1\widehat{X}_{i1}, are available for all subjects but are measured with error. We assume that the remaining covariates, Xi,−1X_{i,-1}, are measured without error for all subjects.

Overview of MAPS for discrete-time survival analysis

Figure 1. Overview of MAPS for discrete-time survival analysis. (a) Patient-level survival data are expanded into one record per observed follow-up interval. (b) The cohort is stratified into the fully validated dataset D≡M0\mathcal{D} \equiv\mathcal{M}_0 and datasets Mk\mathcal{M}_k, k=1,2,3k = 1, 2, 3, in which CPs replace unavailable validated labels. Corresponding labels in D\mathcal{D} are masked and replaced with their CP-derived counterparts to form D~k\widetilde{\mathcal{D}}_k. Differences between estimates from D~k\widetilde{\mathcal{D}}_k and Mk\mathcal{M}_k form pattern-specific rectifiers that augment the CRD estimate through a data-adaptive weight matrix.

Our goal is to estimate the pp-dimensional parameter θ=(αT,βT)T\theta=(\alpha^\mathsf{T},\beta^\mathsf{T})^\mathsf{T}, where p=q+rp=q+r, α\alpha contains regression coefficients for baseline time, and β\beta contains log-HRs for the covariates. MAPS uses a subset of subjects with validated labels to correct the bias that can arise from directly using error-prone CP-derived outcomes and covariates, while incorporating CP-derived labels from the full cohort to improve efficiency. The key idea of MAPS regression is to partition the full cohort into mutually exclusive subsets defined by distinct label validation patterns and construct a debiased estimator by combining information across these subsets.

Dataset preparation for debiased estimation. Based on label validation status, we partition the overall cohort into four mutually exclusive datasets:

  • M0≡D\mathcal{M}_0 \equiv\mathcal{D} contains validated labels for both X1X_1 and YY;

  • M1\mathcal{M}_1 contains validated labels for X1X_1 and the CP-derived label Y^\widehat{Y} for YY;

  • M2\mathcal{M}_2 contains validated labels for YY and the CP-derived label X^1\widehat{X}_1 for X1X_1;

  • M3\mathcal{M}_3 contains CP-derived labels X^1\widehat{X}_1 and Y^\widehat{Y} for X1X_1 and YY, respectively.

Each dataset Mk\mathcal{M}_k represents a distinct validation pattern. If only the outcome is subject to CP error, there are two datasets with distinct validation patterns, M0\mathcal{M}_0 and M1\mathcal{M}_1. More generally, if ss variables are subject to CP error, there are up to 2s2^s distinct validation-pattern datasets.

For each dataset containing CP-derived labels (Mk\mathcal{M}_k, k=1,2,3k=1,2,3), we construct a corresponding mask-and-impute dataset D~k\widetilde{\mathcal{D}}_k from the fully validated dataset D\mathcal{D}. Specifically, we mask the validated labels that are unavailable in Mk\mathcal{M}_k and replace them with their CP-derived counterparts, thereby reproducing the same validation pattern. Thus, D~1\widetilde{\mathcal{D}}_1 replaces YY with Y^\widehat{Y}, D~2\widetilde{\mathcal{D}}_2 replaces X1X_1 with X^1\widehat{X}_1, and D~3\widetilde{\mathcal{D}}_3 replaces both X1X_1 and YY with X^1\widehat{X}_1 and Y^\widehat{Y}, respectively.

De-biased estimation for survival regression. MAPS estimates the regression parameters through the following estimating equations:

∑i∈Dai(0)Si(θ^CRD;Di)=0,(5)\sum_{i\in\mathcal{D}} a_i^{(0)} S_i(\widehat{\theta}_{\mathrm{CRD}};\mathcal{D}_i)=0, \tag*{(5)}
∑i∈Dai(0)Si(γ^1,k;D~k,i)=0,k=1,2,3,(6)\sum_{i\in\mathcal{D}} a_i^{(0)} S_i(\widehat{\gamma}_{1,k};\widetilde{\mathcal{D}}_{k,i})=0,\qquad k=1,2,3, \tag*{(6)}
∑i∈Mkai(k)Si(γ^2,k;Mk,i)=0,k=1,2,3.(7)\sum_{i\in\mathcal{M}_k} a_i^{(k)} S_i(\widehat{\gamma}_{2,k};\mathcal{M}_{k,i})=0,\qquad k=1,2,3. \tag*{(7)}

Here, Si(ϑ;Ei)S_i(\vartheta;\mathcal{E}_i) denotes the pp-dimensional subject-level estimating function for the discrete-time survival model with a cloglog link, obtained by summing contributions across all observed at-risk intervals for subject ii. ai(k)a_i^{(k)} is the sampling weight for subject ii in dataset Mk\mathcal{M}_k. The CRD estimator θ^CRD\widehat{\theta}_{\mathrm{CRD}} is obtained from the fully validated dataset D\mathcal{D}. For each validation pattern k=1,2,3k=1,2,3, the auxiliary estimators γ^1,k\widehat{\gamma}_{1,k} and γ^2,k\widehat{\gamma}_{2,k} are obtained from the corresponding mask-and-impute dataset D~k\widetilde{\mathcal{D}}_k and validation-pattern dataset Mk\mathcal{M}_k, respectively. All parameter estimates are pp-dimensional.

If chart review is conducted using simple random sampling, we set ai(k)=1a_i^{(k)}=1 for all subjects across all datasets. If selection for chart review depends on observed patient characteristics, ai(k)a_i^{(k)} is estimated as the inverse probability of belonging to validation-pattern dataset Mk\mathcal{M}_k:

ai(k)=1Pr⁡(i∈Mk∣Zi),k=0,1,2,3,(8)a_i^{(k)}=\frac{1}{\Pr(i\in\mathcal{M}_k\mid Z_i)},\qquad k=0,1,2,3, \tag*{(8)}

where ZiZ_i denotes the observed variables associated with the chart review selection process. Stabilized or truncated weights may be used to reduce the influence of extreme weights [12].

The de-biased estimator in MAPS regression is:

θ^MAPS=θ^CRD−W^∑k=13(γ^1,k−γ^2,k).(9)\widehat{\theta}_{\mathrm{MAPS}}=\widehat{\theta}_{\mathrm{CRD}}-\widehat{W}\sum_{k=1}^{3}\left(\widehat{\gamma}_{1,k}-\widehat{\gamma}_{2,k}\right). \tag*{(9)}

Here, Δ^k=γ^1,k−γ^2,k\widehat{\Delta}_k=\widehat{\gamma}_{1,k}-\widehat{\gamma}_{2,k} is the rectifier associated with validation-pattern dataset Mk\mathcal{M}_k. The weighted sum of these rectifiers is the augmentation term in (9), and W^\widehat{W} is a p×pp\times p weight matrix estimated by

W^=Σ^θ,ΔΣ^Δ−1,(10)\widehat{W}=\widehat{\Sigma}_{\theta,\Delta}\widehat{\Sigma}_{\Delta}^{-1}, \tag*{(10)}

where Σ^θ,Δ=Cov⁡^(θ^CRD,Δ^)\widehat{\Sigma}_{\theta,\Delta}=\widehat{\operatorname{Cov}}(\widehat{\theta}_{\mathrm{CRD}},\widehat{\Delta}) and Σ^Δ=Var⁡^(Δ^)\widehat{\Sigma}_{\Delta}=\widehat{\operatorname{Var}}(\widehat{\Delta}), with Δ^=∑k=13Δ^k\widehat{\Delta}=\sum_{k=1}^{3}\widehat{\Delta}_k.

The covariance of θ^MAPS\widehat{\theta}_{\mathrm{MAPS}} is estimated as

Σ^MAPS=Σ^θ−W^Σ^Δ,θ.(11)\widehat{\Sigma}_{\mathrm{MAPS}}=\widehat{\Sigma}_{\theta}-\widehat{W}\widehat{\Sigma}_{\Delta,\theta}. \tag*{(11)}

Here, Σ^θ∈Rp×p\widehat{\Sigma}_{\theta}\in\mathbb{R}^{p\times p} is the estimated covariance of θ^CRD\widehat{\theta}_{\mathrm{CRD}} and Σ^Δ,θ=Σ^θ,ΔT\widehat{\Sigma}_{\Delta,\theta}=\widehat{\Sigma}_{\theta,\Delta}^{\mathsf{T}}. The matrix W^\widehat{W} is chosen to minimize the asymptotic variance of the MAPS estimator assuming a common weight matrix for all three datasets. Under the stated assumptions, the MAPS estimator has asymptotic variance no greater than that of θ^CRD\widehat{\theta}_{\mathrm{CRD}} [4].

The paired construction aligns the inferential targets of D~k\widetilde{\mathcal{D}}_k and Mk\mathcal{M}_k by using the same combination of validated and CP-derived variables. Under correct sampling weights and an ignorable validation mechanism, γ^1,k\widehat{\gamma}_{1,k} and γ^2,k\widehat{\gamma}_{2,k} converge to the same population parameter, implying Δ^k→p0\widehat{\Delta}_k\xrightarrow{p}0. Thus, incorporating the augmentation terms preserves the consistency of θ^CRD\widehat{\theta}_{\mathrm{CRD}} while potentially improving efficiency by leveraging CP-derived information from the larger cohort.

For intuition, consider a single validation pattern with a scalar augmentation weight WW. If the CP-derived labels provide no useful information for estimating the target parameter, such that Σ^θ,Δ=0\widehat{\Sigma}_{\theta,\Delta}=0, the optimal weight is W=0W=0, and MAPS reduces to θ^CRD\widehat{\theta}_{\mathrm{CRD}}, using only validated data. As the CP-derived labels become more informative, the augmentation can yield greater variance reduction. At the other extreme, if the CP-derived labels perfectly match the true labels, MAPS is asymptotically equivalent to the full-cohort estimator under random validation and comparable information per subject.

To account for repeated time intervals within subjects in the discrete-time survival model, we use a cluster-robust sandwich variance estimator, aggregating interval-specific estimating functions within each patient. This accounts for within-patient correlation across follow-up intervals and correlations among estimates obtained from the same fully validated subset D\mathcal{D} (Supplementary Methods, Section S7). We construct 95% confidence intervals (CIs) on the log-HR scale using standard errors obtained from the square roots of the diagonal elements of the estimated covariance matrix, and then exponentiate the confidence limits to obtain CIs for HRs.

Algorithm 1Procedure for estimating MAPS regression.
Require:CP-derived covariates and survival outcomes for all subjects and validated covariates and outcomes for a subset of subjects.
1:Divide the full cohort into D\mathcal{D}, M1\mathcal{M}_1, M2\mathcal{M}_2, M3\mathcal{M}_3 based on label-validation pattern (assuming CP errors in one covariate and outcome).
2:Estimate θ^CRD\widehat{\theta}_{\mathrm{CRD}} from the fully validated dataset D\mathcal{D}.
3:For each k=1,2,3k=1,2,3, construct D~k\widetilde{\mathcal{D}}_k to match Mk\mathcal{M}_k, estimate γ^1,k\widehat{\gamma}_{1,k} from D~k\widetilde{\mathcal{D}}_k, and estimate γ^2,k\widehat{\gamma}_{2,k} from Mk\mathcal{M}_k, using sampling weights if needed.
4:Estimate W^\widehat{W} and θ^MAPS=θ^CRD−W^∑k=13(γ^1,k−γ^2,k)\widehat{\theta}_{\mathrm{MAPS}}=\widehat{\theta}_{\mathrm{CRD}}-\widehat{W}\sum_{k=1}^{3}(\widehat{\gamma}_{1,k}-\widehat{\gamma}_{2,k}).
5:Report the estimated baseline hazard and covariate hazard ratios with 95% confidence intervals.

Table Algorithm 1.

Simulation Design and Evaluation

We conducted simulation studies to evaluate the performance of MAPS under two settings: (1) CP error in the survival outcome alone, and (2) CP error in both the survival outcome and a covariate. In each setting, we generated a cohort of N=5000N = 5000 subjects with covariates Xi=(xi1,xi2)T\mathbf{X}_i = (x_{i1}, x_{i2})^{\mathsf{T}} and event times from a Weibull proportional hazards model:

Ti∣xi1,xi2∼Weibull⁡(κ,λexp⁡{−β1xi1+β2xi2κ}).(12)T_i \mid x_{i1}, x_{i2} \sim\operatorname{Weibull}\left(\kappa, \lambda\exp\left\{-\frac{\beta_1 x_{i1}+\beta_2 x_{i2}}{\kappa}\right\}\right). \tag*{(12)}

We set the shape to κ=1.5\kappa= 1.5 and baseline scale parameter to λ=3\lambda= 3. The coefficients β1=log⁡(1.4)\beta_1 = \log(1.4) and β2=log⁡(0.75)\beta_2 = \log(0.75) corresponded to HRs of 1.4 and 0.75, respectively. We generated exponential censoring times independently of event times conditional on the covariates, with the rate calibrated to yield 35% censoring. The observed follow-up times Ui=min⁡(Ti,Ci)U_i = \min(T_i, C_i) ranged from near 0 to approximately 21 time units across simulated cohorts.

CP-derived event times were generated from a perturbed Weibull regression model by adding an error term to the linear predictor:

ℓ~i=β1xi1+β2xi2+εi,εi∼indN(δ,σ2),(13)\widetilde{\ell}_i = \beta_1 x_{i1} + \beta_2 x_{i2} + \varepsilon_i,\qquad\varepsilon_i \mathrel{\overset{\mathrm{ind}}{\sim}} N(\delta,\sigma^2), \tag*{(13)}

where δ\delta controls the systematic shift and σ\sigma controls the random variation in the linear predictor. The errors were generated independently of the covariates. True and CP-derived event times shared the same subject-specific latent Weibull draw and censoring time.

Generating CP errors. In simulations with CP errors only in the outcomes, covariates (x1,x2)(x_1, x_2) were generated from a bivariate normal distribution with zero means, unit marginal variances, and correlation 0.2. Both covariates were measured without error for all subjects. CP-derived survival outcomes were available for the full cohort, while validated outcomes were available for approximately 10% of subjects. We fixed δ=0.30\delta= 0.30 and varied σ\sigma to evaluate performance across different levels of random prediction error.

In simulations with CP errors in both covariates and outcomes, we generated x1∼N(0,1)x_1 \sim N(0,1) and x2∼Bernoulli⁡{expit⁡(0.6x1)}x_2 \sim\operatorname{Bernoulli}\{\operatorname{expit}(0.6x_1)\}. The covariate x1x_1 was measured without error, whereas x2x_2 and the survival outcome were subject to CP errors. CP-derived labels for x2x_2 were generated by independently flipping its binary value with a prespecified probability. We varied this misclassification probability from 0% to 30%, with outcome error parameters fixed at δ=0\delta= 0 and σ=0.05\sigma= 0.05. Validation rates were 40% for x2x_2 and 25% for the survival outcome.

Subject selection for chart review. We used logistic regression the outcome only, we used

\logit\Pr(R_{Y_i}=1 \mid X_i)=c_0+0.6x_{i1}-0.6x_{i2}. \tag*{(14)}

For error in both a covariate and the outcome, we specified

\logit\Pr(R_{X_i}=1 \mid x_{i1})=a_0+0.6x_{i1}, \tag*{(15)}
\begin{aligned} \logit\Pr(R_{Y_i}=1 \mid x_{i1},R_{X_i})\\ =b_0+0.6x_{i1}-0.8(1-R_{X_i}). \tag*{(16)} \end{aligned}

Here, RYi=1R_{Y_i}=1 indicates that subject ii was selected for outcome validation, and RXi=1R_{X_i}=1 indicates selection for validation of covariate x2x_2. We drew these indicators from Bernoulli distributions with probabilities specified by the logistic models, producing two validation patterns for outcome error alone and four patterns, M0M_0–M3M_3, for joint error. We fixed the slope coefficients at the specified values and calibrated the intercepts to achieve the desired validation rates. For analysis, we fitted the same propensity-score models to validated-label availability to estimate validation-pattern probabilities, bounded them below at 0.01, and constructed stabilized inverse-probability sampling weights. We present results under covariate-dependent sampling. Additional analyses of validation patterns and sample size are provided in the Supplementary Methods.

We compared the proposed MAPS regression with two alternative approaches: (1) chart-reviewed data (CRD) analysis, which included the subset of subjects with fully validated data for all variables; and (2) CP-only analysis, which used CP-derived labels without validation.

All analyses used a time interval width of dt=0.5\mathrm{d}t=0.5 in the discrete-time survival model and a natural spline basis with 3 degrees of freedom to model baseline time. Stabilized inverse-probability sampling weights were applied to MAPS and CRD to account for covariate-dependent sampling; CP-only analysis used unit weights. Each simulation scenario was replicated 300 times. We evaluated performance in terms of bias, empirical coverage of 95% confidence intervals (CIs), and average CI width for each log-HR coefficient. Bias was defined as the mean estimated coefficient minus its true value, coverage as the proportion of 95% CIs containing the true value, and CI width as the average width of the 95% CIs across replicates. Additional simulation settings and implementation details are provided in the Supplementary Methods.

Simulation Results

CP Error in the Survival Outcome. As shown in Figure 2, MAPS and CRD remained approximately unbiased for both coefficients across all levels of prediction noise. However, MAPS consistently achieved greater precision, with substantially narrower 95% CIs than CRD. Although MAPS intervals widened as prediction noise increased, they remained narrower than CRD intervals even at the highest noise level. Both methods maintained generally near-nominal 95% coverage (91%–95% for MAPS and approximately 95% for CRD). In contrast, CP-only estimates exhibited increasing bias as prediction noise increased. Despite their narrow CIs, CP-only estimates failed to account for this bias, resulting in sharply declining coverage probabilities that approached 0% for both coefficients at the highest noise level. Overall, MAPS substantially improved precision over CRD while maintaining negligible bias and near-nominal coverage, consistently outperforming CP-only estimation.

Performance across prediction-noise levels in the outcome CP

Figure 2. Performance across prediction-noise levels in the outcome CP (σ\sigma: 0–1), with δ=0.30\delta=0.30, N=5000N=5000, 10% outcome validation, and 300 replicates per level. Bias and mean CI width are on the log-HR scale. Dashed red lines indicate zero bias and nominal 95% coverage. CRD, chart-reviewed data analysis.

CP Error in both covariate and outcome. Consistent with the outcome-error simulations, MAPS remained approximately unbiased with near-nominal 95% coverage across all levels of covariate prediction error, while consistently achieving narrower CIs than CRD (Figure 3). In contrast, CP-only estimates exhibited increasing bias and declining coverage as prediction error increased. Notably, MAPS interval widths for X2X_2 gradually increased as the error rate increased, while remaining substantially narrower than CRD intervals. CP-only estimates showed particularly pronounced bias for X2X_2, reaching approximately 0.18 at the highest error rate, with coverage falling to nearly 0%. Coverage for X1X_1 also declined to approximately 43%. These results further demonstrate that MAPS improves precision over CRD and outperforms CP-only estimation.

Performance across covariate CP prediction-error rates

Figure 3. Performance across covariate CP prediction-error rates (0%–30%), with outcome CP error fixed at δ=0\delta= 0 and σ=0.05\sigma= 0.05, N=5000N = 5000, 25% outcome validation, 40% x2x_2 validation, and 300 replicates per level. Bias and mean CI width are on the log-HR scale. Dashed red lines indicate zero bias and nominal 95% coverage. CRD, chart-reviewed data analysis.

Real Data Analysis

To illustrate our MAPS regression method, we analyzed data from a Northwestern Medicine EHR cohort of 1,026 cancer patients who initiated ICI therapy between April 1, 2011, and August 25, 2021. We examined the association between pre-existing AID and the risk of irAEs following ICI treatment. Error-prone clinical proxies for AID history and irAE outcomes were derived from diagnosis codes. Both AID history and irAE outcomes were clinically adjudicated through chart review for all 1,026 patients, providing a unique opportunity to evaluate MAPS under varying proportions of patients with validated labels.

The outcome was time from ICI initiation to the first irAE in a clinical category not documented before treatment. Follow-up ended at the earlier of the last recorded follow-up and 2 years. In addition to pre-existing AID as the primary exposure, the regression model included ICI class, age, and sex to adjust for potential confounding, with PD-1-only therapy as the reference regimen. We used 30-day time intervals and modeled the baseline hazard using a natural cubic spline with three degrees of freedom.

The outcome CP used post-ICI ICD diagnosis codes mapped to irAE categories, excluding categories in the same adjudicated pretreatment history used for the validated outcome. The first qualifying code defined the CP event time; patients without a qualifying code were censored at the end of follow-up. The AID CP was positive if at least one autoimmune ICD-10 diagnosis code was recorded during the 2 years before ICI initiation.

We masked validated irAE outcome and AID history labels at prespecified rates, with validation probabilities dependent on age, sex, and ICI class. For each configuration, we repeated the masking process 100 times and averaged the results across replicates. Both MAPS and CRD used stabilized inverse-probability sampling weights. We estimated log-HRs and their 95% confidence intervals using MAPS, CRD, and CP-only analyses, with the fully validated analysis serving as the benchmark. Details on masking rates, sampling weights, and implementation are provided in Supplementary Methods, Section S11.

In the full cohort, the mean age was 66.9 years (SD, 12.4), and 485 patients (47.3%) were female. Of these patients, 668 (65.1%) received PD-1-only therapy, 180 (17.5%) received PD-L1-only therapy, and 178 (17.3%) received a CTLA-4-containing or combination regimen. Chart review confirmed irAEs in 504 patients (49.1%) and pre-existing AID in 80 (7.8%). Additional cohort characteristics are provided in Supplementary Table S1.

CP-derived labels agreed with chart-reviewed labels in 58.8% of patients for irAE occurrence and 92.2% for pre-existing AID. The sensitivity and specificity of CPs were 85.1% and 33.3%, respectively, for irAE occurrence, compared with 26.3% and 97.8% for AID. These findings indicate substantial misclassification in both CPs, with particularly low specificity for irAEs and low sensitivity for AID. These measures describe binary label classification rather than agreement in event times.

In the analysis using all adjudicated AID and irAE data, AID showed no clear association with irAE risk (HR = 0.93; 95% CI, 0.67–1.29), whereas the CP-only analysis suggested a significant positive association (HR = 1.53; 95% CI, 1.12–2.09). Estimates for all other covariates are presented in Supplementary Table S2.

As shown in Figure 4, MAPS produced mean log-HR estimates closely aligned with those from the fully validated cohort (benchmark) across the three selected covariates and validation proportions. MAPS consistently achieved narrower 95% CIs than CRD, with CI widths decreasing as the validation proportion increased. The precision gain over CRD was most pronounced when only 15% of patients were fully validated but diminished as the validation proportion increased to 56% (Figure 5). Substantial errors in CP-derived labels may have limited the additional information gained from incorporating them. At approximately 15% validation, mean CI widths were 23.1% lower for CTLA-4-containing regimens and 6.0% lower for pre-existing AID than with CRD. In contrast, CP-only estimates showed substantial deviations from the benchmark for CTLA-4-containing regimens and pre-existing AID. Overall, MAPS improved precision over CRD while closely reproducing the fully validated estimates, particularly when validation data were limited. Results for all model covariates are provided in Supplementary Table S3.

Masked-validation estimates for time to an irAE

Figure 4. Masked-validation estimates for time to an irAE. Mean log-HRs and mean lower and upper 95% CI limits are shown across 100 masking replicates per setting. Percentages indicate the proportion of the cohort with both validated survival outcomes and AID history available after masking, corresponding to D≡M0D \equiv M_0. Reference groups are PD-1-only therapy and no pre-existing AID. The vertical dashed black line and gray band show the estimate and 95% CI from the fully validated cohort, respectively. CRD, chart-reviewed data analysis.

Mean 95% CI widths for MAPS and CRD across validation levels

Figure 5. Mean 95% CI widths for MAPS and CRD across validation levels. Points summarize 100 masking replicates per configuration; curves are smoothed guides. The horizontal axis is the mean number of patients with both outcome and AID labels validated divided by the cohort size (N=1026N = 1026), expressed as a percentage (approximately 15%–64%). Widths are on the log-HR scale. Both methods used stabilized inverse-probability sampling weights. CRD, chart-reviewed data analysis.

Discussion

We developed MAPS regression to address phenotyping errors in EHR-based survival association studies when both outcomes and covariates are error-prone and chart-reviewed labels are available for only a subset of patients. MAPS extends prediction-powered inference to censored time-to-event outcomes using discrete-time survival regression with a complementary log-log link. Through a multivariate augmentation framework, MAPS combines validated and CP-derived labels across different validation patterns, using data-adaptive weights to improve statistical efficiency over CRD analysis, which relies solely on fully validated records, while preserving consistency under appropriate assumptions. Robust sandwich variance estimation accounts for within-patient dependence across follow-up intervals, while inverse-probability sampling weights accommodate covariate-dependent chart-review selection.

Our main simulation studies demonstrated that MAPS substantially improved precision over CRD while maintaining negligible bias and generally near-nominal 95% confidence interval coverage. These findings held when CP errors affected the survival outcome alone and when both the outcome and a covariate were error-prone. In contrast, CP-only analyses exhibited increasing bias and substantial losses in coverage as CP errors increased, highlighting the importance of using validated labels for bias correction. The precision gains from MAPS depended on CP quality. As CP errors increased, MAPS confidence intervals widened but remained narrower than those from CRD. These findings demonstrate that MAPS can improve efficiency even with imperfect CPs, although the magnitude of improvement depends on how strongly CP-derived labels are associated with the true phenotypes.

The real-data analysis showed that substantial errors in the AID and irAE CPs may have limited the precision gains from MAPS. These gains further diminished as validation rates increased, because more information was already available from validated records, reducing the additional benefit of CP-derived labels. These findings highlight the importance of both CP quality and validation rates in determining the efficiency gains from MAPS.

When chart review is conducted for two variables, four distinct validation patterns are possible, as illustrated in Figure 1. However, in practice, only a subset of these patterns may be observed. For example, when both variables are validated for the same patients, only fully validated (M0M_0) and fully unvalidated (M3M_3) records are available. We therefore conducted additional simulation studies to evaluate the performance of MAPS under different validation-pattern configurations. When one variable was validated for half of the patients outside the fully validated subset, incorporating these labels reduced CI widths by 8.3% and 20.4% for the two regression coefficients compared with an augmentation approach that did not use this additional validation information (Supplementary Figure S12). The gains were not uniform across coefficients and validation allocations.

Several limitations warrant consideration. When chart-review selection depends on patient characteristics, valid inference requires positive validation-pattern probabilities, a correctly specified selection model, and corresponding inverse-probability sampling weights. In addition, small fully validated samples may lead to unstable covariance estimates and data-adaptive augmentation weights, potentially affecting confidence interval coverage. For example, in simulations with only 10% outcome validation, MAPS empirical coverage ranged from 91% to 95%, slightly below the nominal level in some settings (Supplementary Table S6). Future work will evaluate MAPS across multiple healthcare systems to assess its generalizability. Integrating MAPS with targeted chart-review sampling strategies, which use CP-derived labels to preferentially select informative patients for validation, such as patients whose CPs indicate the event of interest [14], may further improve statistical efficiency while reducing chart-review costs.

Conclusion

MAPS addresses phenotyping errors in EHR-based survival studies by combining limited chart-reviewed data with error-prone CPs across different validation patterns. Simulations and an analysis of real EHR data with masked validation labels demonstrated improved precision over CRD analysis, with approximately unbiased estimates and generally near-nominal confidence interval coverage in the main simulations. Although efficiency gains depend on CP quality and validation rates, MAPS offers a practical approach to improving EHR-based survival inference with limited chart-review resources.

References

  1. [1]A. N. Angelopoulos, S. Bates, C. Fannjiang, M. I. Jordan, and T. Zrnic. Prediction-powered inference. Science, 382 (6671):669–674, 2023. doi: 10.1126/science.adi6000.DOI
  2. [2]A. N. Angelopoulos, J. C. Duchi, and T. Zrnic. PPI++: Efficient prediction-powered inference. arXiv preprint arXiv:2311.01453, 2023. doi: 10.48550/arXiv.2311.01453. URL https://arxiv.org/abs/2311.01453v2. Version 2, revised March 26, 2024.
  3. [3]D. S. Carrell, J. S. Floyd, S. Gruber, B. L. Hazlehurst, P. J. Heagerty, J. C. Nelson, B. D. Williamson, and R. Ball. A general framework for developing compatible clinical phenotype algorithms. Journal of the American Medical Informatics Association, 31(8):1785–1796, 2024. doi: 10.1093/jamia/ocae121.DOI
  4. [4]X. Chen, T. McCormick, B. Mukherjee, and Z. Wu. A unified framework for inference with general missingness patterns and machine learning imputation. arXiv preprint arXiv:2508.15162, 2025. doi: 10.48550/arXiv.2508.15162. URL https://arxiv.org/abs/2508.15162v3. Version 3, revised November 11, 2025.
  5. [5]//pmc.ncbi.nlm.nih.gov/articles/PMC5333313/. Published February 10, 2017; 2016 symposium collection.pubmed.ncbi.nlm.nih.gov/28269935
  6. [6]M. J. Giganti, P. A. Shaw, G. Chen, S. S. Bebawy, M. M. Turner, T. R. Sterling, and B. E. Shepherd. Accounting for dependent errors in predictors and time-to-event outcomes using electronic health records, validation samples and multiple imputation. The Annals of Applied Statistics, 14(2):1045–1061, 2020. doi: 10.1214/20-AOAS1343. URL https://pmc.ncbi.nlm.nih.gov/articles/PMC7523695/.DOI
  7. [7]R. A. Hubbard, J. Tong, R. Duan, and Y. Chen. Reducing bias due to outcome misclassification for epidemiologic studies using EHR-derived probabilistic phenotypes. Epidemiology, 31(4):542–550, 2020. doi: 10.1097/EDE.0000000000001193. URL https://pubmed.ncbi.nlm.nih.gov/32282406/.
  8. [8]Y. Lu, J. Tong, J. Chubak, T. Lumley, R. A. Hubbard, H. Xu, and Y. Chen. Leveraging error-prone algorithm-derived phenotypes: Enhancing association studies for risk factors in EHR data. Journal of Biomedical Informatics, 157:104690, 2024. doi: 10.1016/j.jbi.2024.104690. URL https://pmc.ncbi.nlm.nih.gov/articles/PMC12235754/.DOI
  9. [9]L. S. Magder and J. P. Hughes. Logistic regression when the outcome is measured with uncertainty. American Journal of Epidemiology, 146(2):195–203, 1997. doi: 10.1093/oxfordjournals.aje.a009251. URL https://academic.oup.com/aje/article-abstract/146/2/195/165276.DOI
  10. [10]E. J. Oh, B. E. Shepherd, T. Lumley, and P. A. Shaw. Improved generalized raking estimators to address dependent covariate and failure-time outcome error. Biometrical Journal, 63(5):1006–1027, 2021. doi: 10.1002/bimj.202000187. URL https://onlinelibrary.wiley.com/doi/10.1002/bimj.202000187.DOI
  11. [11]R. L. Prentice and L. A. Gloeckler. Regression analysis of grouped survival data with application to breast cancer data. Biometrics, 34(1):57–67, 1978. doi: 10.2307/2529588.DOI
  12. [12]B. Sun and E. J. Tchetgen Tchetgen. On inverse probability weighting for nonmonotone missing at random data. Journal of the American Statistical Association, 113(521):369–379, 2018. doi: 10.1080/01621459.2016.1256814.
  13. [13]J. Tong, J. Huang, J. Chubak, X. Wang, J. H. Moore, R. A. Hubbard, and Y. Chen. An augmented estimation procedure for EHR-based association studies accounting for differential misclassification. Journal of the American Medical Informatics Association, 27(2):244–253, 2020. doi: 10.1093/jamia/ocz180. URL https://pmc.ncbi.nlm.nih.gov/articles/PMC7025368/.DOI
  14. [14]Z. Yin, J. Tong, Y. Chen, R. A. Hubbard, and C. Y. Tang. A cost-effective chart review sampling design to account for phenotyping error in electronic health records (EHR) data. Journal of the American Medical Informatics Association, 29(1):52–61, 2022. doi: 10.1093/jamia/ocab222. URL https://pmc.ncbi.nlm.nih.gov/articles/PMC8714286/.DOI

Paper details

vlnc:W_kcqfzu3z
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents