Papers
Topics
Authors
Recent
Search
2000 character limit reached

MissSurrogate R Package for Surrogate Evaluation

Updated 5 July 2026
  • 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 SS is missing for some trial participants. In the underlying framework, SS is an intermediate measurement intended to stand in for a harder-to-obtain primary clinical outcome YY, and treatment is represented by Z∈{0,1}Z \in \{0,1\}. The central methodological concern is that standard surrogate-validation procedures are often applied only to complete cases, meaning subjects with both SS and YY observed, even though deleting subjects with missing SS 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 YY, the surrogate marker SS, the randomized treatment indicator Z∈{0,1}Z \in \{0,1\}, and an indicator SS0 for whether the surrogate is observed: SS1 Potential outcomes are denoted by

SS2

The overall treatment effect on the primary outcome is

SS3

The residual treatment effect after accounting for the surrogate is defined as

SS4

where

SS5

The surrogate utility measure of interest is then

SS6

In the paper’s interpretation, SS7 corresponds to a perfect surrogate, SS8 to a useless surrogate, and intermediate values to partial explanation (Lotspeich et al., 21 Mar 2026).

Because SS9 and YY0 are never jointly observed for the same individual, YY1 is not directly identified. The paper therefore assumes

YY2

Under (A1),

YY3

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

YY4

With

YY5

the paper gives

YY6

YY7

and

YY8

This is a plug-in estimator: estimate YY9 and Z∈{0,1}Z \in \{0,1\}0, then compute Z∈{0,1}Z \in \{0,1\}1, Z∈{0,1}Z \in \{0,1\}2, and Z∈{0,1}Z \in \{0,1\}3.

The nonparametric approach avoids specifying model (1). The overall effect is estimated by

Z∈{0,1}Z \in \{0,1\}4

and the residual effect by

Z∈{0,1}Z \in \{0,1\}5

where Z∈{0,1}Z \in \{0,1\}6 is the empirical CDF in controls and Z∈{0,1}Z \in \{0,1\}7 is the Nadaraya–Watson estimator

Z∈{0,1}Z \in \{0,1\}8

Then

Z∈{0,1}Z \in \{0,1\}9

This nonparametric formulation requires the support-overlap assumption

SS0

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 SS1, 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 SS2, not in the primary outcome SS3. The implemented methods assume MCAR or MAR missingness in SS4, 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

SS5

then the operational assumptions are MAR given the modeled variables and positivity: SS6 If missingness depends only on treatment, the paper suggests nonparametric estimation: SS7 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

SS8

and are used only for subjects with SS9.

For the parametric PTE method, IPW is implemented by fitting the regression

YY0

using a weighted linear regression on complete cases with weights YY1. The treatment-arm surrogate means are estimated by weighted Horvitz–Thompson estimators: YY2 These are then substituted into equations (3)–(5).

For the nonparametric PTE method, YY3 is unchanged because YY4 is fully observed: YY5 The residual effect is reweighted as

YY6

with weighted kernel regression

YY7

Then

YY8

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 YY9 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

SS0

Here, SS1 comes from the normal linear regression model in (1), while SS2 is left nonparametric. Let SS3 denote observed support points of SS4 in treatment group SS5, with probabilities

SS6

satisfying

SS7

Even when SS8 is continuous, the nonparametric MLE places mass on observed support points.

The parameters SS9 are estimated by EM. In the E-step, the paper computes posterior probabilities

YY0

via

YY1

In the M-step, the expected complete-data objective is maximized, with YY2 obtainable by weighted linear regression and the mass probabilities updated by

YY3

The initialization reported in the paper is

YY4

with convergence tolerance YY5.

After EM converges, arm-specific surrogate means are estimated by

YY6

and these are inserted into the parametric PTE formulas to obtain YY7, YY8, and YY9. SMLE requires correctness of the linear model in (1), MAR/MCAR-type missingness assumptions, and enough observed support in SS0 within treatment groups to estimate SS1 nonparametrically. The paper characterizes the method as more robust than a fully parametric likelihood because it avoids specifying a parametric model for SS2, 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 SS3 total subjects, split evenly between treatment and control, with continuous surrogate SS4 and continuous outcome SS5. The data-generating model for SS6 was

SS7

and, for Settings 1–4,

SS8

The true effects were

SS9

Bootstrap inference used Z∈{0,1}Z \in \{0,1\}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

Z∈{0,1}Z \in \{0,1\}1

all methods were essentially unbiased, and coverage was near 95% throughout. The nonparametric complete-case estimator had bias Z∈{0,1}Z \in \{0,1\}2, ESE Z∈{0,1}Z \in \{0,1\}3, and RE Z∈{0,1}Z \in \{0,1\}4, whereas nonparametric IPW had bias Z∈{0,1}Z \in \{0,1\}5, ESE Z∈{0,1}Z \in \{0,1\}6, and RE Z∈{0,1}Z \in \{0,1\}7. The parametric complete-case and parametric IPW estimators both had bias Z∈{0,1}Z \in \{0,1\}8, ESE Z∈{0,1}Z \in \{0,1\}9, and RE SS00. Parametric SMLE had bias SS01, ESE SS02, and RE SS03. In this setting, the paper interprets the corrections primarily as efficiency improvements, with SMLE the best parametric method.

Under MAR depending only on treatment,

SS04

all methods again remained unbiased. Parametric complete-case RE was SS05, parametric IPW RE was SS06, and parametric SMLE RE was SS07. 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,

SS08

complete-case analysis became biased. The nonparametric complete-case estimator had bias SS09, percent bias SS10, and coverage SS11 for normal intervals and SS12 for quantile intervals. The parametric complete-case estimator had bias SS13, percent bias SS14, and coverage SS15 and SS16. IPW corrected the bias: nonparametric IPW had bias SS17 and coverage approximately SS18, while parametric IPW had bias SS19 and coverage approximately SS20–SS21. SMLE was also unbiased and more efficient than parametric IPW, with bias SS22, ESE SS23, and RE SS24, versus ESE SS25 and RE SS26 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

SS27

several weight models were tried: SS28 only, SS29 only, SS30, SS31, and the correct model SS32. 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 SS33, violating the nonparametric support assumption. In that case, nonparametric estimators were biased even with full data: the nonparametric gold-standard estimator had bias SS34 (SS35), the nonparametric complete-case estimator had bias SS36 (SS37), and the nonparametric IPW estimator had bias SS38 (SS39). 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 SS40 is intensive versus conventional therapy, the surrogate SS41 is blood glucose level measured as change from baseline to 4 years, and the primary outcome SS42 is LDL cholesterol measured as change from baseline to 4 years. The trial included SS43 participants, of whom 208 were missing the surrogate at 4 years, corresponding to approximately SS44 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 SS45-SS46 relationship was fairly linear, supporting the parametric approach.

The reported nonparametric estimates were: SS47 for complete case, and

SS48

for IPW.

The reported parametric estimates were: SS49 for complete case,

SS50

for IPW, and

SS51

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 SS52, a continuous surrogate SS53 that may be missing, a binary randomized treatment indicator SS54, and, for IPW, variables used to model SS55, such as SS56, SS57, or other observed covariates. The missingness indicator SS58 is implied by whether SS59 is observed (Lotspeich et al., 21 Mar 2026).

The central outputs are the estimands

SS60

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 SS61 resamples, re-estimating SS62, SS63, and SS64 each time. The paper reports bootstrap variance or standard error, Wald-type normal-approximation confidence intervals

SS65

and quantile bootstrap intervals

SS66

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 SS67 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 SS68 and SS69. 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 SS70 would require smoothing or sieves. A practical implication is that users must assess randomized treatment, continuous outcomes and surrogates, MCAR or MAR missingness in SS71, 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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to MissSurrogate R package.