MissSurrogate R Package for Surrogate Evaluation
- MissSurrogate is an R package designed to estimate the proportion of treatment effect explained (PTE) when continuous surrogate measurements are incomplete in randomized trials.
- It implements both parametric (via Wang–Taylor linear regression) and nonparametric methods, utilizing inverse probability weighting (IPW) and semiparametric maximum likelihood estimation (SMLE) to correct bias.
- Empirical evidence demonstrates that these methods improve efficiency and reduce bias compared to complete-case analysis under typical MCAR or MAR missing-data scenarios.
Searching arXiv for the specified paper to ground the article in the cited source. MissSurrogate is an R package for evaluating surrogate markers in randomized clinical trials when the surrogate is missing for some participants. Its scope is the proportion of treatment effect explained (PTE) framework, with implementations of inverse probability weighting (IPW) for both parametric and nonparametric surrogate evaluation and semiparametric maximum likelihood estimation (SMLE) for the parametric framework. The package is designed for settings in which the primary outcome is observed, the surrogate is continuous and incompletely observed, treatment is randomized, and missingness is assumed to be missing completely at random (MCAR) or missing at random (MAR) rather than missing not at random (MNAR) (Lotspeich et al., 21 Mar 2026).
1. Definition, purpose, and scope
MissSurrogate addresses a specific inferential problem: estimating surrogate utility when a surrogate marker is missing for some trial participants. In the underlying framework, is an intermediate measurement intended to stand in for a harder-to-obtain primary clinical outcome , and treatment is represented by . The central methodological concern is that standard surrogate-validation procedures are often applied only to complete cases, meaning subjects with both and observed, even though deleting subjects with missing can be inefficient and, under many realistic missingness patterns, biased (Lotspeich et al., 21 Mar 2026).
The package is not presented as a generic missing-data package. It is software for a specific statistical task: estimating surrogate utility, especially the proportion of treatment effect explained, when surrogate measurements are incompletely observed. The paper states that the package is available at https://github.com/sarahlotspeich/missSurrogate and that supporting information and reproducible simulation code are available at https://github.com/sarahlotspeich/evaluate_missing_surrogates. The paper does not give exact function names, so no software interface beyond the methodology itself is specified.
A central clarification concerns the role of complete-case analysis. The paper’s position is not that complete-case analysis is always invalid. Rather, complete-case analysis is often inefficient, and under common MAR-type mechanisms it can become biased. The package therefore implements corrections intended to retain more of the information in the full trial and to reduce bias under a broader range of missingness mechanisms than complete-case analysis.
2. Statistical formulation of surrogate utility
The paper defines the primary outcome , the surrogate marker , the randomized treatment indicator , and an indicator 0 for whether the surrogate is observed: 1 Potential outcomes are denoted by
2
The overall treatment effect on the primary outcome is
3
The residual treatment effect after accounting for the surrogate is defined as
4
where
5
The surrogate utility measure of interest is then
6
In the paper’s interpretation, 7 corresponds to a perfect surrogate, 8 to a useless surrogate, and intermediate values to partial explanation (Lotspeich et al., 21 Mar 2026).
Because 9 and 0 are never jointly observed for the same individual, 1 is not directly identified. The paper therefore assumes
2
Under (A1),
3
This is the identified form used operationally.
Within this framework, the package supports both parametric and nonparametric estimation. The parametric approach uses the Wang–Taylor linear model
4
With
5
the paper gives
6
7
and
8
This is a plug-in estimator: estimate 9 and 0, then compute 1, 2, and 3.
The nonparametric approach avoids specifying model (1). The overall effect is estimated by
4
and the residual effect by
5
where 6 is the empirical CDF in controls and 7 is the Nadaraya–Watson estimator
8
Then
9
This nonparametric formulation requires the support-overlap assumption
0
The paper emphasizes that the nonparametric method can fail or be badly biased when surrogate distributions in the two treatment arms do not overlap well. It also notes that MissSurrogate is focused almost entirely on one surrogate criterion, the PTE 1, rather than functioning as a general surrogate-validation toolbox spanning principal stratification, meta-analytic surrogacy, or other paradigms.
3. Missing-data methods implemented in the package
The package is built around missingness in the surrogate 2, not in the primary outcome 3. The implemented methods assume MCAR or MAR missingness in 4, not MNAR (Lotspeich et al., 21 Mar 2026).
For IPW, the paper requires a correctly specified model for the probability that the surrogate is observed. If
5
then the operational assumptions are MAR given the modeled variables and positivity: 6 If missingness depends only on treatment, the paper suggests nonparametric estimation: 7 More generally, if missingness depends on multiple variables, the paper suggests fitting a model using all subjects, such as logistic regression or generalized boosted models. The inverse-probability weights are
8
and are used only for subjects with 9.
For the parametric PTE method, IPW is implemented by fitting the regression
0
using a weighted linear regression on complete cases with weights 1. The treatment-arm surrogate means are estimated by weighted Horvitz–Thompson estimators: 2 These are then substituted into equations (3)–(5).
For the nonparametric PTE method, 3 is unchanged because 4 is fully observed: 5 The residual effect is reweighted as
6
with weighted kernel regression
7
Then
8
The paper attributes complementary properties to IPW. Its strengths are conceptual simplicity, computational speed, and relative flexibility in including additional predictors of missingness. Its limitations are dependence on correct specification of the weight model, instability when some observation probabilities are small, and lower efficiency than model-based methods because subjects with missing 9 do not directly contribute to the surrogate regression or kernel fit.
SMLE is implemented only for the parametric PTE framework. The full-data joint distribution is factored as
0
Here, 1 comes from the normal linear regression model in (1), while 2 is left nonparametric. Let 3 denote observed support points of 4 in treatment group 5, with probabilities
6
satisfying
7
Even when 8 is continuous, the nonparametric MLE places mass on observed support points.
The parameters 9 are estimated by EM. In the E-step, the paper computes posterior probabilities
0
via
1
In the M-step, the expected complete-data objective is maximized, with 2 obtainable by weighted linear regression and the mass probabilities updated by
3
The initialization reported in the paper is
4
with convergence tolerance 5.
After EM converges, arm-specific surrogate means are estimated by
6
and these are inserted into the parametric PTE formulas to obtain 7, 8, and 9. SMLE requires correctness of the linear model in (1), MAR/MCAR-type missingness assumptions, and enough observed support in 0 within treatment groups to estimate 1 nonparametrically. The paper characterizes the method as more robust than a fully parametric likelihood because it avoids specifying a parametric model for 2, while also noting greater computational cost and potential difficulty under heavy missingness or sparse support.
4. Relation to complete-case analysis and simulation evidence
A central theme of the paper is that complete-case analysis is not uniformly biased, but it is often inefficient and becomes biased under some common MAR mechanisms. The simulation study compares gold-standard full-data estimators, complete-case parametric and nonparametric estimators, IPW parametric and nonparametric estimators, and parametric SMLE estimators (Lotspeich et al., 21 Mar 2026).
Each simulation used 3 total subjects, split evenly between treatment and control, with continuous surrogate 4 and continuous outcome 5. The data-generating model for 6 was
7
and, for Settings 1–4,
8
The true effects were
9
Bootstrap inference used 0 stratified bootstrap samples, with both Wald and quantile confidence intervals. The reported metrics were bias and percent bias, empirical SE (ESE), average estimated SE (ASE), coverage probability, and relative efficiency (RE) relative to the gold standard.
Under MCAR, with
1
all methods were essentially unbiased, and coverage was near 95% throughout. The nonparametric complete-case estimator had bias 2, ESE 3, and RE 4, whereas nonparametric IPW had bias 5, ESE 6, and RE 7. The parametric complete-case and parametric IPW estimators both had bias 8, ESE 9, and RE 00. Parametric SMLE had bias 01, ESE 02, and RE 03. In this setting, the paper interprets the corrections primarily as efficiency improvements, with SMLE the best parametric method.
Under MAR depending only on treatment,
04
all methods again remained unbiased. Parametric complete-case RE was 05, parametric IPW RE was 06, and parametric SMLE RE was 07. The paper treats this as an instance in which complete-case analysis happened to be valid, but SMLE recovered substantially more precision.
Under MAR depending on the outcome,
08
complete-case analysis became biased. The nonparametric complete-case estimator had bias 09, percent bias 10, and coverage 11 for normal intervals and 12 for quantile intervals. The parametric complete-case estimator had bias 13, percent bias 14, and coverage 15 and 16. IPW corrected the bias: nonparametric IPW had bias 17 and coverage approximately 18, while parametric IPW had bias 19 and coverage approximately 20–21. SMLE was also unbiased and more efficient than parametric IPW, with bias 22, ESE 23, and RE 24, versus ESE 25 and RE 26 for parametric IPW. This is the paper’s main practical argument for the package’s corrections: when missingness depends on observed outcome information, complete-case surrogate evaluation can be biased, whereas IPW and SMLE recover validity.
The paper also studies IPW misspecification. When the true missingness depended on
27
several weight models were tried: 28 only, 29 only, 30, 31, and the correct model 32. Underfitting caused bias, omitting key terms made IPW nearly as biased as complete case, and including extra terms did not hurt much and could be slightly better. The paper therefore reinforces a standard point: IPW is sensitive to omission of important predictors of missingness.
A separate setting examined lack of overlap in the treatment and control distributions of 33, violating the nonparametric support assumption. In that case, nonparametric estimators were biased even with full data: the nonparametric gold-standard estimator had bias 34 (35), the nonparametric complete-case estimator had bias 36 (37), and the nonparametric IPW estimator had bias 38 (39). Coverage was poor, whereas parametric methods stayed essentially unbiased. The implication drawn in the paper is precise: missing-data correction cannot rescue a surrogate estimator whose core identifying or smoothing assumptions are violated.
5. Empirical application to the DCCT diabetes trial
The paper illustrates MissSurrogate with the Diabetes Control and Complications Trial (DCCT), a multicenter randomized trial in Type 1 diabetes comparing intensive treatment aimed at near-normal glycemic control with conventional treatment used at the time (Lotspeich et al., 21 Mar 2026).
In this application, treatment 40 is intensive versus conventional therapy, the surrogate 41 is blood glucose level measured as change from baseline to 4 years, and the primary outcome 42 is LDL cholesterol measured as change from baseline to 4 years. The trial included 43 participants, of whom 208 were missing the surrogate at 4 years, corresponding to approximately 44 missingness. The paper reports that the surrogate distributions by treatment arm did not fully overlap, making the nonparametric method potentially unstable or biased, while scatterplots suggested that the 45-46 relationship was fairly linear, supporting the parametric approach.
The reported nonparametric estimates were: 47 for complete case, and
48
for IPW.
The reported parametric estimates were: 49 for complete case,
50
for IPW, and
51
for SMLE.
The paper interprets these results as showing that missingness-adjusted estimates were broadly similar to complete-case estimates in this dataset, suggesting limited bias from missingness. At the same time, the SMLE confidence interval was 31% narrower than the IPW interval among the parametric methods, which is consistent with the simulation findings on efficiency. The authors conclude that blood glucose explained a moderate proportion of the treatment effect on LDL, but not enough to support it as a valid surrogate in this setting, because the lower confidence bounds were well below thresholds such as 0.5. For the package’s intended use, this example shows that missing-data correction can improve precision even when point estimates change little, and that method choice should reflect the structure of the data, especially support overlap.
6. Inference, practical use, and limitations
The paper gives more methodological detail than software syntax, but several package-facing implications are explicit. At minimum, the methods require a continuous primary outcome 52, a continuous surrogate 53 that may be missing, a binary randomized treatment indicator 54, and, for IPW, variables used to model 55, such as 56, 57, or other observed covariates. The missingness indicator 58 is implied by whether 59 is observed (Lotspeich et al., 21 Mar 2026).
The central outputs are the estimands
60
According to the paper, the supported methods are:
- Parametric: complete case, IPW, and SMLE.
- Nonparametric: complete case and IPW.
SMLE is not developed for the nonparametric framework in this paper.
Inference is bootstrap-based for all methods. The procedure uses stratified bootstrap resampling by treatment arm with 61 resamples, re-estimating 62, 63, and 64 each time. The paper reports bootstrap variance or standard error, Wald-type normal-approximation confidence intervals
65
and quantile bootstrap intervals
66
It suggests that quantile intervals are more robust, especially in smaller samples.
The paper also offers clear operational guidance. IPW is the simpler and faster correction, roughly comparable in speed to complete-case fitting, and is the only missing-data correction available for both the parametric and nonparametric surrogate frameworks. SMLE is slower because it uses an iterative EM algorithm, but in the parametric framework it is often more efficient and avoids explicit modeling of the missingness probability. Nonparametric methods require bandwidth selection and, critically, sufficient support overlap across treatment arms. The paper explicitly notes that SMLE may struggle under heavy missingness if too few support points are available to estimate 67 nonparametrically.
The limitations are equally specific. The methods do not handle missing primary outcomes, are not valid under MNAR without further sensitivity analysis, and are developed in a setting with continuous 68 and 69. SMLE is only developed for the parametric framework, and no missing-data method beyond IPW is developed for the nonparametric framework. The paper identifies extension to multiple imputation as potentially useful, and notes that extending the SMLE nonparametric component to condition on more than 70 would require smoothing or sieves. A practical implication is that users must assess randomized treatment, continuous outcomes and surrogates, MCAR or MAR missingness in 71, positivity for IPW, correctness of the IPW weight model when weighting is used, correctness of the linear model when the parametric or SMLE route is used, and overlap of surrogate distributions by treatment arm when the nonparametric method is contemplated.
Taken together, these features place MissSurrogate in a narrow but technically important niche. It is a PTE-focused package for randomized trials with incomplete surrogate measurement, intended to replace default reliance on complete-case analysis with methods that are more valid under MAR and often more efficient, while preserving a clear distinction between the parametric and nonparametric assumptions that govern surrogate evaluation.