Skip to main content
Wiley Open Access Collection logoLink to Wiley Open Access Collection
. 2026 Oct 16;45(23-24):e70786. doi: 10.1002/sim.70786

Optimal Two‐Phase Sampling Designs for Generalized Raking Estimators With Multiple Parameters of Interest

Jasper B Yang 1,✉, Bryan E Shepherd 2, Thomas Lumley 3, Pamela A Shaw 1,4
PMCID: PMC13675120  PMID: 42888020

ABSTRACT

Large observational datasets, including those derived from electronic health records, are a valuable resource for medical research but are often affected by missingness, measurement error, and misclassification. Two‐phase sampling with generalized raking (GR) estimation is an efficient and robust approach to statistical inference in such settings. In this approach, variables that are unavailable or measured with error in a large Phase 1 cohort are obtained with higher‐quality measurements in a Phase 2 subsample. Previous research has studied optimal Phase 2 sampling designs for inverse‐probability‐weighted (IPW) estimators in nonadaptive, multiparameter settings, and for GR estimators in single‐parameter settings. In this work, we extend these results by deriving optimal adaptive, multiwave sampling designs for IPW and GR estimators when multiple parameters are of interest. We propose several practical allocation strategies, examine the design choices that arise when implementing them, and evaluate their performance through extensive simulations and an example using data from people living with HIV attending the Vanderbilt Comprehensive Care Clinic (VCCC). Our results show that independently optimizing allocation for each parameter improves efficiency over traditional case‐control sampling. We also derive an integer‐valued, A‐optimal allocation method that typically outperforms independent optimization. Notably, we find that optimal designs for GR can differ substantially from those for IPW, and that this distinction can meaningfully affect estimator efficiency in the multiple‐parameter setting. These findings offer practical guidance for future two‐phase studies involving incomplete or error‐prone data.

Keywords: A‐optimality, generalized raking, measurement error, Neyman allocation, two‐phase sampling

1. Introduction

Routinely collected observational data are an increasingly popular resource for biomedical research, largely due to the widespread adoption of electronic health records (EHRs) [1]. This is a promising trend, as EHR databases hold clinically relevant information for large cohorts and are cost‐effective compared to traditional study data. However, because these data were not originally collected for research purposes, they often lack variables of interest, and the variables that are available are susceptible to measurement error and misclassification [2, 3]. Neglecting these issues can lead to misleading research findings, which may in turn negatively affect patient health outcomes [4, 5].

A common approach in these settings is to supplement the initial dataset with a validation study where error‐free and otherwise expensive measures are collected for a subset of the initial cohort. This approach can be viewed through the lens of two‐phase sampling, where the inexpensive data are collected in Phase 1, and the validation subset is gathered in Phase 2 [6, 7, 8]. To estimate parameters efficiently under two‐phase sampling, two key components must be addressed: estimation and design. Estimation approaches have been well‐studied in this context and can generally be categorized as model‐based or design‐based. The latter, which includes Horvitz–Thompson inverse‐probability‐weighted (IPW) estimators and the generally more efficient augmented inverse‐probability‐weighted (AIPW) estimators, are often preferred due to their robust properties [9, 10, 11, 12]. The second key component, design, is the focus of this work. In particular, we focus on the optimal design of Phase 2 with respect to design‐based estimators.

It is well known that stratified sampling yields efficient design‐based estimators when individuals differ across readily available variables [13, 14]. Under stratified sampling, Neyman [15] showed that the variance of a population total (or mean) is approximately minimized when stratum sample sizes are proportional to the product of a stratum's standard deviation and size, and Wright [16] later presented an exactly optimal algorithm. Breslow et al. [17] extended this idea to regression coefficients by harnessing their asymptotic equivalence to totals of influence functions, and Chen and Lumley [18] further extended this work for generalized raking (GR) estimators. Although the true influence functions for the population cannot be obtained in practice, a benefit of two‐phase sampling is that they can be estimated from Phase 1 data. Noting that the accuracy of this estimation will depend on the (unknown) correlation between the available Phase 1 variables and the expensive Phase 2 variables, some have proposed breaking up Phase 2 sampling into multiple waves so that data collected in prior waves can be used to inform the design of subsequent waves [19, 20]. Studies applying these multiwave methods have already been conducted with promising results [8].

The aforementioned research on two‐phase designs has largely focused on maximizing efficiency with respect to a single parameter, but there is an emerging need for further understanding of efficiency with respect to multiple parameters in a single study. Recently, Sauer et al. [21] and Rivera‐Rodriguez et al. [22] proposed methods for optimizing two‐phase stratified sampling for multiple parameters in cluster‐correlated settings, focusing on minimizing the weighted sum of variances, and Wang et al. [23] and Yu et al. [24] used a similar approach to address computational issues in large‐scale estimation problems. These works acknowledge the challenge of estimating optimality parameters and incorporate pilot Phase 2 samples in their examples; however, they do not fully investigate multiwave approaches, which allow for better estimation of design nuisance parameters by re‐estimating them as validation data accumulate. Additionally, their methods focus on optimal designs for IPW estimators, and their performance has not been evaluated alongside more efficient approaches such as GR and its close relative, AIPW. In a related work, Wang et al. [25] introduced a model‐free approach for approximating optimal designs for multiple parameters under a maximin criterion but did not consider multiwave sampling, and their focus on Poisson sampling contrasts with the stratified sampling designs considered here. Finally, similar ideas have also recently appeared in the active statistical inference and prediction‐powered inference literatures, where predictions are used to guide the collection of costly labeling data to improve downstream estimation efficiency [26, 27, 28]. These methods do not generally use stratified sampling or GR, are not typically framed as measurement error problems from a survey sampling perspective, and do not focus on the practical design considerations that arise when multiple parameters are of interest.

In practice, multiwave sampling with GR has been applied to multiparameter problems, but often in ad hoc ways. For example, Shepherd et al. [8] examined the association between maternal weight change during pregnancy and two outcomes, childhood obesity and asthma, using a two‐phase, multiwave design. Their sampling was optimized separately by outcome, first allocating 75% of the Phase 2 sample for estimation of the primary obesity parameter and the remaining samples for the secondary asthma parameter. It is unlikely that this strategy was truly optimal for the research goals. There is large potential for other scenarios where researchers may want to answer multiple questions in one study, so understanding optimal design for these cases is needed.

In this paper, we propose practical strategies for optimal stratified sampling in two‐phase, multiwave studies with multiple parameters of interest and examine the methodological considerations that arise in doing so. These strategies include a simultaneous approach where optimum allocation is computed at each wave for every parameter of interest, a sequential approach where optimum allocation is computed at each wave for one parameter of interest, and an A‐optimality approach where optimum allocation is computed at each wave to minimize the sum of variances for the multiple‐parameter estimates of interest. We also derive a novel extension of Wright's exact integer‐valued allocation for one parameter to A‐optimal allocation for multiple parameters. The rest of the paper is organized as follows. In Section 2 we review optimal design results when one parameter is of interest. In Section 3, we extend these results to the multiple‐parameter case and develop the three proposed strategies. These strategies are compared in a simulation study in Section 4 and are demonstrated in an example from the Vanderbilt Comprehensive Care Clinic (VCCC) HIV Study in Section 5. We conclude with summaries of our findings and recommendations for future studies.

2. Optimal Two‐Phase Study Designs for One Parameter

2.1. Design‐Based Estimators

Design‐based estimation is a robust approach to population inference that focuses on randomness due to the sampling process rather than the data‐generating mechanism. A canonical example is the Horvitz–Thompson IPW estimator for a population total Ty=∑i=1Nyi using a sample of size n. The IPW estimator in this case is T^IPW=∑i=1NRiπi−1yi, where Ri is the indicator for whether unit i is sampled (so that ∑i=1NRi=n) and the weight πi−1:=wi is the inverse of πi, the sampling probability of unit i. This estimator is unbiased for Ty provided that the πi's are nonzero, and it requires no distributional assumptions on the yi's.

In practice, the collection of yi on a sample of size n is often supplemented with less expensive auxiliary information, denoted ci, consisting of one or more variables correlated with y and available for the entire population of size N. In such cases, another design‐based estimation approach is GR, which uses the known population total of ci to improve IPW estimators for the total of yi [29]. This improvement is achieved by calibrating sampling weights so that the weighted estimate of the population total for the auxiliary variable using the subsample matches the true population total. More formally, GR estimators adjust IPW weights by a factor of gi so that they become wi∗=giπi−1 for individual i, and the estimator becomes T^GR=∑i=1NRiwi∗yi, where the gi values are chosen such that

∑i=1NRiwi∗ci=∑i=1Nci. (1)

Since there may be multiple values of gi which satisfy Equation (1), the specific gi values are selected as those that minimize ∑i=1NRid(gi/πi,1/πi) for distance measure d(a,b)=alog(a/b)−a+b. GR estimators are at least as asymptotically efficient as traditional IPW estimators and are more efficient when components of the calibration (or raking) variable c are correlated with the variable of interest [17]. Moreover, GR estimators are consistent under the same assumptions as IPW estimators and straightforward to implement in standard statistical software, so these efficiency gains come at little additional cost [30].

Compared to a finite population total, a more general target of estimation is an arbitrary scalar super‐population parameter β. In this work, we consider settings where an ideal estimator β˜ for β would be available if the variables collected in Phase 2 (e.g., validation study) were available for the entire Phase 1 cohort. Further, we assume that β˜ is asymptotically linear, meaning it admits the form

N(β˜−β)=1N∑i=1Nhi+op(1), (2)

where hi is the influence function for unit i evaluated at the true β. Asymptotic linearity holds under standard regularity conditions for many commonly used estimators, including estimators of coefficients in generalized linear and Cox regression models. Accordingly, β˜ can be expressed asymptotically as β+1N∑i=1Nhi, so β˜ is asymptotically equivalent to a constant plus a sum of influence functions. An IPW Phase 2 estimator β^IPW can in turn be represented by

N(β^IPW−β)=1N∑i=1NRiπi−1hi+op(1), (3)

under the asymptotic regime where πi>δ>0, N→∞, n→∞ and n/N→γ∈(0,1).

The form of a GR estimator β^GR follows similarly to Equation (3), with weights πi−1 replaced by calibrated weights satisfying Equation (1). In this setting, ci contains information available for the entire Phase 1 cohort. Breslow et al. [17] showed that the optimal c, denoted copt, is the conditional expectation of hi given the observed Phase 1 data. GR estimators calibrated in this way are asymptotically efficient among design‐based estimators and asymptotically equivalent to the optimal augmented IPW (AIPW) estimator of Robins et al. [31] and Lumley et al. [32]. In practice, copt is unknown but can be estimated through regression or imputation [11, 33, 34, 35].

2.2. Optimal Designs for IPW Estimators: Neyman Allocation

A key feature of the two‐phase setting is the ability to control the Phase 2 sampling design. It is well known in the survey literature that informed design choices can reduce the variance of estimators of finite population means, and the setup described in Section 2.1 illustrates that the same ideas can be applied to design‐based estimators of superpopulation parameters. This connection is made clear by noting that β˜ and the influence functions hi are fixed, though unknown, quantities conditional on the realized Phase 1 sample. Thus, β˜ can be viewed as a finite‐population target parameter from a Phase 2 perspective, and the design goal is hence to minimize the conditional variance of β^IPW or β^GR. Reducing this conditional variance also reduces the overall variance of β^IPW or β^GR, while the variation arising from Phase 1 is unaffected by the Phase 2 design. In the remainder of this work, we use this perspective to motivate optimal design approaches, focusing on stratified sampling, which has been shown to be efficient in two‐phase studies [14, 36].

Under stratified sampling with simple random sampling within strata, the population is partitioned into K strata of size Nk, and a sample of size nk is drawn uniformly without replacement from each stratum k. The asymptotic representation of the IPW estimator in Equation (3) then becomes β^IPW≈β+1N∑k=1K∑i∈IkRiNknkhi, where Ik is the set of indices in stratum k so that πi=nk/Nk for i∈Ik. Applying the classic optimal allocation result of Neyman [15] in this setting shows that the variance of this estimator for a sample of size n is minimized when

nk=nNkσk∑k=1KNkσk, (4)

where σk is the stratum‐specific population standard deviation of hi [20, 37]. Although σk is typically unknown in practice, it can often be approximated using previously collected data. One drawback of Neyman allocation is that the resulting stratum sample sizes are not whole numbers, and they may not add up to the exact total sample size after rounding. In addition, the optimal stratum sizes nk are not constrained to be less than Nk. Wright [16, 38] presented an exactly optimal solution to this problem by decomposing the variance of the final stratified estimator into a difference of discrete terms. By selecting samples from strata corresponding to the largest of these terms, he derived an integer‐valued algorithm which is hereafter referred to as Neyman–Wright allocation.

2.3. Optimal Designs for Generalized Raking

Chen and Lumley [18] derive the optimal design for GR estimators by noting their asymptotic equivalence to generalized regression (GREG) estimators. Let Th=∑i=1Nhi be the total of influence functions among all N units in Phase 1. Then the GREG estimator for Th under stratified sampling is

T^h,GREG=∑k=1K∑i∈IkRiNknk(hi−α−θ⊤ci)+∑i=1N(α+θ⊤ci), (5)

where θ is the parameter from a least squares regression of h on c with an intercept α. By the GR analog of Equation (3), minimizing the variance of T^h is asymptotically equivalent to minimizing the variance of the estimator β^. If the estimators for α and θ converge at a n rate, then the variance of the second summation is of smaller order than the variance of the first summation. It thus suffices to minimize the variance of the first summation. The first term is the Horvitz–Thompson IPW estimator of the population total of residuals from the least squares regression of h on c, so, by the arguments of Section 2.2, the optimal design for GR estimators is given by the Neyman allocation in Equation (4), but with σk replaced by the stratum‐specific standard deviation of these residuals.

Despite these differences in the optimal designs for raking and IPW estimators, Chen and Lumley [18] found that they often lead to estimators with similar efficiency. Moreover, their optimal design for GR estimators involves both hi and ci, which are not jointly available a priori. Consequently, their results suggest that optimizing sampling for an IPW estimator is reasonable even when using a GR estimator. However, we will later demonstrate that this reasoning does not necessarily extend to the multiple‐parameter setting.

2.4. Multiwave Sampling in Two‐Phase Designs

Neyman allocation is particularly useful in two‐phase settings where a strong relationship exists between the Phase 1 data and validated data. In these cases, σk in Equation (4) can be closely approximated by fitting the target regression model on the Phase 1 data to generate estimates hi∗ of hi and using the within‐stratum standard deviations of hi∗ as estimates for σk [17, 33]. Further, these hi∗ can serve as informative components of ci for GR estimation. In practice, however, Phase 1 variables will not always be highly correlated with the true optimal allocation parameters. To handle such scenarios, McIsaac and Cook [19] suggest dividing Phase 2 into a series of subphases, which are often referred to as waves. Information about Phase 2 variables collected in previous waves can then be used to inform sample allocation in subsequent waves. A further benefit of this adaptive, multiwave approach is that it allows strata to be subdivided during Phase 2, thus offering another avenue for efficiency gain. Optimal stratification occurs when optimal allocation assigns an equal number of samples to each stratum [36, 39]. Theoretically, one wave per sampling unit would ensure the maximum amount of information is available at each decision point, but this is rarely practical. Instead, a more modest choice of 2‐6 waves has been found to be useful [8]. The simulations in this work are carried out over 4 waves.

3. Considerations for Multiple Parameters

3.1. Setup

We now consider the case where the parameter of interest is a vector β=(β1,…,βP)T. While replacing the scalars of Section 2 with vectors provides a natural framework for this setting, extending adaptive two‐phase designs to multiple parameters raises several practical considerations regarding allocation criteria, weighting, standardization, and implementation that we address in this section. Following a standard two‐phase sampling setting, we assume that inexpensive variables have been collected for a Phase 1 cohort of size N, but identification of β requires expensive variables that can only be collected for a fixed n<N units in Phase 2. We again assume that an asymptotically linear estimator β˜ for β would be available if the Phase 2 variables were observed for the entire cohort, as is the case in standard regression settings. Our aim is to determine a stratified sampling design for selecting the n Phase 2 samples that will lead to an efficient design‐based estimator β^ for β.

Although estimation theory extends naturally to this multiple‐parameter setting through vector‐valued influence functions, the optimal design problem is more complicated. The Phase 2 sampling design is shared across all parameters, and the allocation that minimizes the variance of an estimator for one parameter will generally differ from the optimal allocation for another. This setting therefore requires an optimality criterion for balancing efficiency across components of β. In this work, we focus on A‐optimality, which defines the optimal design as the one minimizing a weighted sum of component‐wise variances of an estimator β^ for β. While other criteria, such as minimaxity, have been used in similar settings, A‐optimality is interpretable, naturally accommodates priority weighting across parameters, and is well established in the optimal design literature [23, 25, 40].

Write hi for the P‐dimensional influence function vector corresponding to the estimator β˜ of β for person i. By Equation (2), an estimator for β if the Phase 2 variables were observed for the entire Phase 1 cohort can, for large N, be well approximated by β˜=β+1N∑i=1Nhi. However, these variables, and hence this total, are unknown. Instead, we estimate the sum by conducting stratified random sampling to select nk samples from the Nk in each stratum.

For stratum k, we define the within‐stratum covariance matrix of hi as Vk, a P×P matrix with (j,l)‐th entry σjl,k≡covk(hj,hl). When j=l, we write σjl,k=σj,k2=Vark(hj). Letting wk=Nknk, we have the IPW estimator β^IPW≈β+1N∑k∑i∈IkRiwkhi and

Var(β^IPW|phase 1)=∑k=1KNk2nkVk−∑k=1KNkVk. (6)

The second term, which reflects the finite population correction, only depends on the fixed Nk and Vk and not on the Phase 2 allocation. Thus, minimizing the variance with respect to the Phase 2 design is equivalent to selecting the nk's that minimize the first term subject to ∑k=1Knk=n.

3.2. Simple Strategies: Independent Allocation for Each Parameter

A natural approach to optimize allocation for multiple parameters in a single study is to divide the budget of n Phase 2 sampling units into P pieces, one for each parameter of interest, and then determine the allocation for each group independently using known Neyman or Neyman–Wright allocation results for the IPW estimator. Let n[p] be the number of Phase 2 samples to be allocated optimally with respect to the p‐th parameter of interest, where ∑p=1Pn[p]=n. Also, let nk[p] denote the sample size for stratum k with ∑k=1Knk[p]=n[p]. The overall optimal allocation for nk becomes

nk=∑p=1Pnk[p]=∑p=1Pn[p]Nkσp,k∑k′=1KNk′σp,k′, (7)

where σp,k is the square root of the p‐th diagonal entry of Vk. This is equivalent to the sum of the individual Neyman allocations for each parameter of interest. Alternatively, one could derive and sum across the Wright [16] integer‐valued optimal design.

If Phase 2 is conducted over multiple waves, the above allocation may be implemented in multiple ways. Let nk(t) be the sample size in stratum k at wave t=1,…,T and n(t)=∑k=1Knk(t). Two possible approaches are:

  • Simultaneous approach: At each wave t, recompute the cumulative optimal allocation for ∑v=1tn(v) samples according to Equation (7), or the Neyman–Wright equivalent, and set nk(t) to be the difference between the cumulative allocation and the units already sampled. Sampling at each wave is conducted with respect to all outcomes of interest, and allocation for both outcomes can make equal use of all information from prior waves.

  • Sequential approach: At each wave, calculate the cumulative optimal allocation for ∑v=1tn(v) samples with respect to a single outcome using Equation (4) or the Neyman–Wright equivalent, changing the parameter that determines the allocation across waves and again setting nk(t) to be the difference between the cumulative allocation and the units already sampled. This is the approach used by Shepherd et al. [8]. One benefit of this approach is that different strata can be defined for each outcome (See Figure 1).

FIGURE 1.

FIGURE 1

Visual depiction of simultaneous and sequential approaches when two parameters are of equal interest.

3.3. Prioritized A‐Optimality

The A‐optimality approach is to minimize the sum of the variances for the p parameter estimates [41]. That is, to minimize trace(Var(β^))=∑p=1P∑k=1KNk2nkσp,k2 in the IPW case. Because the parameters may have varying levels of importance towards the research goals, it may be useful to allow this sum to be weighted. Denote ap as the predefined priority weight for the pth parameter estimate, where ∑p=1Pap=1 for convenience. Traditional (nonprioritized) A‐optimality now becomes a special case where all weights are equal. We want to find

argminn1,…,nK∑p=1Pap∑k=1KNk2nkσp,k2=argminn1,…,nK∑k=1KNk2∑p=1Papσp,k2nk, (8)

subject to the constraint ∑k=1Knk=n. The continuous solution can be obtained using Lagrange multipliers (see Rivera‐Rodriguez et al. [22]) as

nk=nNk∑p=1Papσp,k2∑k=1KNk∑p=1Papσp,k2,

which is the Neyman allocation with the standard deviation of a single variable replaced by ∑p=1Papσp,k2.

We can also extend the Neyman–Wright algorithm to obtain an exact, integer‐valued solution to Equation (8) satisfying nk≥2 (for unbiased variance estimation) and nk<Nk. This allocation, whose derivation is provided in Supplemental Section S1, is given by forming the array of priority values

N1∑p=1Papσp,122·3N1∑p=1Papσp,123·4N1∑p=1Papσp,124·5⋯⋮Nk∑p=1Papσp,k22·3Nk∑p=1Papσp,k23·4Nk∑p=1Papσp,k24·5⋯⋮NK∑p=1Papσp,K22·3NK∑p=1Papσp,K23·4NK∑p=1Papσp,K24·5⋯ (9)

and taking the number of samples assigned to stratum k as 2 plus the number of priority values in the k‐th row that are among the largest n−2K in the entire array. In the context of multiple parameters, where the number of strata is typically large in order to accommodate the different parameters and some strata are hence small, this algorithm proves especially useful because, unlike Neyman allocation, it incorporates the constraint nk<Nk.

3.4. Optimal Design for Generalized Raking With Multiple Parameters

The approaches detailed so far for IPW estimators extend naturally to GR estimators by the arguments of Section 2.3. Let ϵi,p be the residual from the least squares regression of hi,p on the raking variables ci,p. In practice, these quantities are unknown but can be estimated using available data. The influence functions hi,p can be estimated using the validated Phase 2 data, while the raking variables ci,p may be constructed from the Phase 1 influence function proxies or estimated as approximations to the optimal raking variables ci,popt using regression or imputation. Denote by σp,k(ϵ) the standard deviation of ϵi,p within stratum k. Notably, σp,k(ϵ) reflects within‐stratum variation unexplained by the raking variables, while σp,k reflects overall within‐stratum variation. The independent allocation and prioritized A‐optimality strategies for GR estimators are given by replacing σp,k with σp,k(ϵ) in Equations (7) and (9), respectively.

Although Chen and Lumley [18] showed that the optimal designs for IPW and GR often lead to similar efficiencies for a single parameter, this formulation suggests that the multiple‐parameter setting is more complicated. In the single‐parameter setting, a poor raking variable that is weakly correlated with hi will lead to θ≈0 in Equation (5), making the GR and IPW estimators and optimal designs effectively equivalent. On the other hand, a strong raking variable will lead to hi−α−θ⊤ci≈0 in Equation (5), meaning the variance contributed by Phase 2 sampling will be minimal even for suboptimal designs. Hence, the GR optimal design will only lead to efficiency gains over the IPW design when the variances of residualized influence functions differ notably across strata (e.g., differential measurement error). In the multiple‐parameters setting, differences in the level of correlation between hi,p and their raking variables in ci,p across parameters p will also result in a meaningful advantage for the GR A‐optimal design. For instance, if ci,p contains a variable that is highly correlated with hi,p but hi,p′ is weakly correlated with each component of ci,p′, then the GR A‐optimal design will closely resemble the IPW optimal design for β^p′. The IPW A‐optimal design, however, would “waste” ap of the sampling efforts trying to optimize for β^p, even though GR will lead to a small variance regardless of its design. In the measurement error setting, this occurs when the variables relating to one parameter are measured with high error, but for another parameter they are measured with low error. Such a phenomenon is common in EHR‐based studies, and it is highlighted in the data example in Section 5.

3.5. Practical Implementation

Algorithm 1 describes the specific steps to implement a multiwave, prioritized A‐optimal design. In Supplemental Section S1.2, we establish that this adaptive design converges asymptotically to the oracle prioritized A‐optimal design. The algorithm leaves several implementation choices unspecified, including the number and size of the waves and the method used to estimate the raking variables. Appropriate choices depend on the total Phase 2 sample size, the quality of the Phase 1 variables, and other practical considerations. For instance, imputation‐based approximations to the optimal raking variables may be particularly useful when the Phase 1 variables are highly error‐prone or the error structure is complex, while simpler approaches such as influence function proxies constructed from Phase 1 data alone may perform similarly in other settings [11, 35]. Notably, the latter approach only requires Phase 1 data, while the former may also use Phase 2 data. When Phase 2 data are used to estimate the raking variables, separate data folds should be used to estimate the raking variables and influence functions when calculating the residuals for the GR‐optimal design to avoid underestimating residual variation, as described by Chen and Lumley [18].

ALGORITHM 1. Adaptive multiwave A‐optimal sampling design for generalized raking.

ALGORITHM 1

A key feature of Algorithm 1 is that, at each wave t, it targets the oracle allocation that would be optimal for ∑s=1tn(s) samples. It then tries to achieve this optimal design in line 13 by allocating the available n(t) to fill the slots that have not already been sampled in the first t−1 waves of sampling. A complication arises when the estimated allocation assigns fewer observations to a stratum than have already been sampled in previous waves. Yang et al. [42] refer to this phenomenon as oversampling and discuss several strategies with available software for addressing it. In practice, oversampling is typically minor and is often corrected in subsequent waves. Moreover, its impact is asymptotically negligible when the number of waves increases with the Phase 2 sample size.

As with other adaptive multiwave procedures, the quality of the proposed algorithm depends on the accuracy of the estimated nuisance parameters, which in this case are the within‐stratum residual variances. These estimates become more reliable as Phase 2 data accrue but may be unstable in smaller studies or when few Phase 2 observations are available in some strata. Prior to wave 1, there are no Phase 2 data available to estimate the GR‐optimal design, so the algorithm proposes targeting the optimal IPW design. Case‐control sampling, simple random sampling, proportional sampling, or a prior‐based allocation for the wave 1 design are reasonable alternatives, which may also help with the stability of nuisance parameter estimates for later waves [37]. In settings where stability could be a concern even in later waves, improved finite‐sample performance may be achieved by using a larger initial wave, fewer waves, or regularized estimation of the raking variables and residual variances.

A crucial input to the algorithm is the vector of priority weights a1,...,ap. When no parameter is of special interest, equal weights provide a natural default. In other settings where a subset of the p parameters are of heightened interest, assigning them larger priority weights will lead to a design that targets their precise estimation. Sensitivity analyses across several plausible choices of priority weights can also be used to assess how strongly the optimal allocation depends on this input. Because the prioritized A‐optimal criterion is sensitive to parameter scale, parameters measured on different scales should generally be standardized before computing the allocation. This may be accomplished by standardizing the variables before entering them into the optimal design formula, or by dividing each parameter's contribution to the allocation criterion by the overall variance of its influence function. Since these variances are generally unknown, they may be estimated from the Phase 1 influence‐function proxies and updated as Phase 2 data accumulate.

4. Simulation Study

We conducted a series of simulations to compare the performance of different allocation strategies in the context of two‐phase, multiwave sampling with multiple parameters of interest. We considered the problem of efficiently estimating logistic regression coefficients from the following models:

PrY1i|X1i,X2i,Zi,Y2i=expit(β01+β11X1i+β21X2i+β31Zi+β41Y2i)PrY2i|X1i,X2i,Zi=expit(β02+β12X1i+β22X2i+β32Zi). (10)

Motivated by real‐world examples, we focused on the measurement error setting, which can be viewed as a special case of missing data in which the error‐free Phase 2 variables are missing at Phase 1, but error‐prone Phase 1 variables are correlated with the missing values. Within this framework, we considered scenarios corresponding to different parameters of interest and features of the data‐generating process, including correlation levels and the degree of measurement error in Phase 1 variables (Table 1). These scenarios fall into three broad categories: two outcomes of interest (Scenario 2O), two predictors of interest (Scenario 2P), and two outcomes and two predictors of interest (Scenario 2O2P).

TABLE 1.

Simulation scenarios.

Scenario Coefficients of interest Cor(Y1,Y2) Cor(X1,X2) Error level
Setting Case
Two Outcomes, One Predictor (2O) A
β11,β12
Low — Low
B
β11,β12
Low — High
C
β11,β12
High — Low
D
β11,β12
High — High
One Outcome, Two Predictors (2P) A
β12,β22
— Low Low
B
β12,β22
— Low High
C
β12,β22
— High Low
D
β12,β22
— High High
Two Predictors, Two Outcomes (2O2P) A
β11,β21,β12,β22
Moderate Moderate Low
B
β11,β21,β12,β22
Moderate Moderate High

Our two motivating examples fall under Scenario 2O, but can easily be extended to the others. The first is the VCCC HIV/AIDS cohort, where the relationship between CD4 cell count and two binary outcomes, AIDS‐defining event (ADE) and death, is of interest [7, 43]. These two outcomes are highly correlated because AIDS may lead to death, and similar causes may also lead to both AIDS and death independently. A second motivating example is the Vanderbilt Maternal Weight Study, where the relationship between maternal weight change during pregnancy and two outcomes with low correlation, childhood obesity and asthma, was of interest [8]. In both studies, Phase 1 consisted of error‐prone measurements obtained from electronic health records, while Phase 2 involved chart review to obtain error‐free measurements for the variables of interest.

4.1. Setup

At each simulation iteration, we generated a Phase 1 dataset with N = 10 000 samples including two continuous variables, X1 and X2, one binary covariate Z, and two binary outcome variables Y1 and Y2 generated according to the logistic models in (10). We also simulated error‐prone or proxy versions of each variable, denoted X1∗,X2∗,Z∗,Y1∗,Y2∗, and assumed only these versions were collected in Phase 1. The measurement errors were simulated with correlation structures to reflect realistic error structures. We considered varying degrees of measurement error for the outcome and exposure(s) of interest. Further details on the simulation setup are provided in Supplemental Section S2.

The key distinguishing features between scenarios are the parameters of interest and the level of correlation between Y1 and Y2 or between X1 and X2. Scenarios 2O‐A and 2O‐B reflect the case of nearly independent outcomes, as in the Vanderbilt Maternal Weight Study, and Scenarios 2O‐C and 2O‐D reflect the case of correlated outcomes, as in the VCCC study, where one is a predictor for the other. Across scenarios, the prevalences of Y1 and Y2 were maintained at approximately 0.2 and 0.4, respectively, representing rare and common outcomes. Further, all continuous covariates were generated with variance 1 to minimize the contribution of scale. In practice, this would involve standardizing the covariates. For the primary analyses, we assume that the variances of the coefficients of interest are of equal importance, that is, the weights ap in Equation (8) are all equal. We additionally explore the sensitivity of results for Scenario 2O‐A across different choices of A‐optimality priority weights.

4.2. Sampling Designs

For each of the ten combinations of correlation and measurement error levels, five Phase 2 sampling design strategies were implemented assuming a Phase 2 budget of n=1000 validation samples:

  • Strategy 1: Case‐control sampling in a single wave.

  • Strategy 2: Simultaneous independent allocation for each parameter in four equally sized waves. At each wave, n(t)=250 samples were split evenly among the parameters of interest, with each subset allocated optimally for a single parameter (e.g., in the two‐parameter case, 125 samples were optimized independently for each parameter).

  • Strategy 3: Sequential independent allocation for each parameter over four equally sized waves. At each wave, n(t)=250 samples were allocated optimally for a single parameter, with each parameter receiving an equal number of dedicated waves.

  • Strategy 4: Strategy 3, but with the order of parameter‐specific optimization reversed.

  • Strategy 5: Prioritized A‐optimality over four equally sized waves.

Further details on each strategy are provided in Supplemental Section S2.3. We also consider a supplemental setting where n=500.

Estimation of the final regression parameters of interest was performed using both GR and IPW. For strategies 2‐5, strata were formed based on combinations of Y1∗,Y2∗ and categorized versions of X1∗ and X2∗ defined by quantile cut points. These stratum boundaries were motivated by Amorim et al. [39] and Särndal et al. [36], who note that efficient stratification yields approximately equal sample allocations across strata under Neyman allocation, and they were held fixed throughout Phase 2 sampling for simplicity. Further details on the scenario‐specific stratum constructions are provided in Supplemental Section S2.3.

Optimum allocation for wave 1 was calculated using Neyman allocation of the estimated influence functions hi∗ from fitting the target model on the error‐prone Phase 1 data for both IPW and GR estimators. For subsequent waves under the IPW estimator, IPW‐optimal Neyman allocation was performed using influence functions from the target model fit to the previously collected Phase 2 data with IPW estimators. For GR estimators, the GR‐optimal approach detailed in Section 3.4 and Algorithm 1 was used, with the estimated influence functions from fitting the target model on the Phase 1 data as the auxiliary raking variables (see Supplemental Section S2.4 for details). The R packages ‘survey’ and ‘optimall’ were used to implement the estimation and design procedures, respectively [30, 42]. Empirical variances over 2500 simulation iterations were reported as the primary results. Estimated 95% confidence intervals and their empirical coverage probabilities were also reported as secondary results, with details of the methods used for variance estimation described in Supplemental Section S2.5.

4.3. Simulation Results

The empirical variances of the regression‐coefficient estimates for each estimator for simulation Scenarios 2O, 2P, and 2O2P are presented in Tables 2 and 3, and Supplemental Table S3, respectively. Across all scenarios, GR estimators outperformed IPW estimators for each sampling strategy, with the largest efficiency gain from raking observed under the nonoptimal case‐control design. In general, the efficiency improvement from raking relative to IPW under case‐control sampling was comparable in magnitude to that achieved by A‐optimal sampling with IPW estimators relative to case‐control sampling, and combining the two provided an additional but more modest gain. Supplemental Tables S4–S6 report empirical mean squared errors (MSEs), which followed similar patterns to the empirical variances, and Supplemental Tables S8 and S9 show that the empirical coverage probabilities of estimated 95% confidence intervals are close to the nominal 0.95 level across strategies. The trends across allocation strategies were consistent for both IPW and GR estimators, and results in this section focus on the latter unless noted otherwise.

TABLE 2.

Empirical variance (×103) for each strategy under Scenario 2O: two outcomes of interest.

Corr. level Error level Estimator Parameter Strat 1: Case‐control Strat 2: Simultaneous Strat 3: β12 last Strat 4: β11 last Strat 5: A‐optimal
Low Low (A) IPW Var(β^11) 5.58 2.54 3.05 2.56 2.71
Var(β^12) 6.17 2.71 2.41 3.18 2.53
GR Var(β^11) 2.23 1.93 2.13 1.88 1.93
Var(β^12) 2.61 2.09 1.93 2.49 2.13
High (B) IPW Var(β^11) 5.75 4.97 5.52 4.52 4.82
Var(β^12) 5.30 3.83 3.69 4.23 3.62
GR Var(β^11) 4.55 4.44 5.08 4.37 4.56
Var(β^12) 4.05 3.53 3.36 3.93 3.60
High Low (C) IPW Var(β^11) 7.44 4.25 4.46 4.06 4.11
Var(β^12) 7.47 3.36 3.30 4.28 3.42
GR Var(β^11) 3.55 2.96 3.10 2.88 2.87
Var(β^12) 3.35 2.66 2.39 2.97 2.66
High (D) IPW Var(β^11) 8.64 7.55 7.96 7.42 7.46
Var(β^12) 6.76 4.98 4.54 5.41 4.86
GR Var(β^11) 7.12 7.01 7.55 6.62 6.49
Var(β^12) 5.04 4.58 4.17 5.17 4.40

TABLE 3.

Empirical variance (×103) for each strategy under Scenario 2P: two predictors of interest.

Corr. level Errorlevel Estimator Parameter Strat 1: Case‐control Strat 2: Simultaneous Strat 3: β22 last Strat 4:β12 last Strat 5: A‐optimal
Low Low (A) IPW
Var(β^12)
6.38 4.67 4.83 4.68 4.65
Var(β^22)
8.16 6.03 5.69 5.97 5.83
GR
Var(β^12)
3.91 3.65 3.52 3.77 3.58
Var(β^22)
5.81 5.11 5.04 5.25 5.01
High (B) IPW
Var(β^12)
6.94 5.93 5.65 6.03 5.92
Var(β^22)
8.43 6.88 6.81 6.90 7.24
GR
Var(β^12)
5.58 5.15 5.10 5.34 5.19
Var(β^22)
6.98 6.82 7.01 6.55 6.19
High Low (C) IPW
Var(β^12)
11.14 8.56 8.90 9.05 9.00
Var(β^22)
12.60 9.67 10.26 9.95 10.00
GR
Var(β^12)
7.74 7.17 6.95 6.92 6.87
Var(β^22)
10.02 9.11 8.76 8.41 8.47
High (D) IPW
Var(β^12)
11.49 10.42 10.88 10.91 10.64
Var(β^22)
13.55 11.72 12.50 11.84 11.51
GR
Var(β^12)
9.35 9.58 9.49 9.62 9.68
Var(β^22)
11.52 11.15 11.21 10.99 10.83

Across all ten simulation scenarios, multiwave adaptive sampling with Neyman allocation of influence functions (Strategies 2‐5) yielded more efficient regression‐coefficient estimates than case‐control sampling (Strategy 1). Table 4 reports the empirical relative efficiency (ERE) of the GR estimators for each strategy, where ERE is defined as the ratio of the total empirical variance of the estimated regression coefficients under the A‐optimal design to that under the given design. A‐optimal designs (Strategy 5) achieved the best or nearly the best empirical relative efficiency in every scenario. The simultaneous and sequential allocation strategies (Strategies 2‐4) generally yielded variances close to those of the A‐optimal design, though they typically performed slightly worse.

TABLE 4.

Empirical relative efficiency for the sum of variances for each strategy under GR.

Scenario Corr. level Errorlevel Strat 1: Case‐control Strat 2: Simultaneous Strat 3: Sequentialorder 1 Strat 4: Sequential order 2 Strat 5: A‐optimal
Setting Case
2O A Low Low 0.84 1.01 1.00 0.93 1.00
B Low High 0.95 1.02 0.97 0.98 1.00
C High Low 0.80 0.98 1.01 0.94 1.00
D High High 0.90 0.94 0.93 0.92 1.00
2P A Low Low 0.88 0.98 1.00 0.95 1.00
B Low High 0.91 0.95 0.94 0.96 1.00
C High Low 0.86 0.94 0.98 1.00 1.00
D High High 0.98 0.99 0.99 1.00 1.00
2O2P A Moderate Low 0.84 0.99 0.98 — 1.00
B Moderate High 0.95 1.01 0.98 — 1.00

Note: Scenario 2O: two outcomes, one predictor of interest; Scenario 2P: one outcome, two predictors of interest; Scenario 2O2P: two outcomes, two predictors of interest.

In Scenario 2O, the sequential allocation strategies (Strategies 3 and 4) often minimized variance for the coefficient optimized in the final two waves at the expense of efficiency for the coefficient optimized in the first two waves. For instance, Strategy 3, which optimized for β12 in the last two waves of Phase 2, was the most efficient design for β12 but the least efficient (excluding case‐control) for β11 in all four sub‐scenarios (Table 2). Similarly, Strategy 4 was the least efficient approach for β12 in all four sub‐scenarios but the most efficient for β11 in two. In Scenario 2O2P, the sequential approach (Strategy 3) led to the lowest ERE at both error levels.

In the analysis examining the effect of varying priority weights for the A‐optimal strategy in Scenario 2O‐A, increasing the priority weight assigned to β11 reduced the empirical variance of β^11 while increasing the variance of β^12, demonstrating the tradeoff induced by prioritizing one parameter over another (Supplemental Table S10). Equal weighting yielded relatively balanced efficiency across the two parameters, and the most pronounced loss in precision for the less‐prioritized parameter occurred when its weight was set to zero. In contrast, even a 3:1 imbalance in priority weights resulted in only modest increases in variance for the less‐prioritized parameter, suggesting that assigning any nonnegligible priority to a parameter can substantially improve its efficiency relative to zero priority.

Empirical variances increased with higher levels of measurement error across all sampling strategies. Additionally, the efficiency gains from GR compared to IPW diminished in high‐error settings, where the Phase 1 raking variables were less informative. Similarly, the efficiency advantage of optimal allocation over case‐control sampling (Strategy 1) declined as measurement error increased. The largest empirical relative efficiency gain from A‐optimal design in a high‐error scenario was 0.10 in Scenario 2O‐D, while the gains in low‐error scenarios were all larger than 0.10 and as high as 0.20 in Scenario 2O‐C (Table 4). The relative efficiency gains from adaptive, multiwave sampling were fairly consistent across different levels of correlation between the outcomes or predictors of interest. Results for the supplemental scenario with n=500 (Supplemental Tables S11–S13) were broadly consistent with the primary findings.

5. Example: Vanderbilt Comprehensive Care Clinic Study

We also assessed the performance of the various optimal allocation strategies using real EHR data collected on 1595 HIV‐positive persons who received care at the VCCC between 1999 and 2013. This dataset served as a motivating example for our work, as both death and ADE have been considered as outcomes of interest in prior studies, particularly as they relate to CD4 count at the time of antiretroviral therapy (ART) initiation [7, 43]. These three variables, along with many others covering demographic information, medical history, and laboratory test results, were collected routinely during patient visits to the clinic and stored in the EHR. Given the error‐prone nature of EHR‐derived data, the research team also conducted validation by chart review for the entire cohort, which revealed many errors in EHR‐derived variables relating to the ADE analysis. Notably, time to ADE was measured incorrectly in the EHR for 34.5% of patients, and 10.8% were found to have an incorrect ADE status (sensitivity: 0.87; specificity: 0.89; positive predictive value: 0.35). In contrast, variables relating to the death analysis were more accurate in the EHR. Time to death was initially measured with error in only 21.3% of patients, and the indicator for death did not have any errors at all. Further details on this data set and discrepancies between routinely‐collected and validated versions can be found in [7].

In this example, we used the validated data on the whole cohort to assess the performance of optimum allocation strategies assuming the validation budget had been limited to 200 individuals. We defined the “true” parameter values for the coefficients of interest, βCD4,death and βCD4,ADE, as the coefficients obtained by fitting the following Cox regression models on the entire validated data set:

λDeath(t|CD4,Age)=λ0,Death(t)·exp(βCD4,Death·CD4+βAge,Death·Age)λADE(t|CD4,Age)=λ0,ADE(t)·exp(βCD4,ADE·CD4+βAge,ADE·Age).

Notably, this setup differs from the simulation study in the previous section where the parameters of interest were logistic regression coefficients from the superpopulation from which Phase 1 was a simple random sample. The model difference highlights the flexibility of the proposed approach since estimators for coefficients in both logistic and Cox regression are asymptotically linear [44]. The difference in sampling framework isolates the Phase 2 contribution to the variance, but this is the only component of the variance that can be controlled through the Phase 2 sampling design, so the optimal allocation results apply as before.

We performed Phase 2 sampling across four waves of 50 samples using each optimum allocation strategy and compared the empirical variances observed over 1000 sampling iterations. The procedure was implemented separately under optimal allocation for IPW and for GR, as well as under the suboptimal case‐control design, following the procedures described in Section 4 and Supplemental Section S2.4. For the adaptive sampling strategies, strata were defined by first cross‐classifying individuals by their Phase 1 ADE status and death status into four groups. The group with neither an observed ADE nor death contained approximately 77% of this cohort initially and was therefore further divided into five strata according to quantiles of the error‐prone CD4 measure within that group, yielding eight strata in total. For the case‐control strategy, 50 samples were collected from each of the four ADE‐by‐death groups. For Strategy 5, equal priority weights were used because βCD4,Death and βCD4,ADE were considered of equal scientific interest and are on comparable scales. Table 5 displays the results for both IPW and GR estimators under each sampling approach. Comparisons between the IPW and GR estimators under the same sampling design isolate the efficiency gained from raking, while comparisons between the IPW‐optimal and GR‐optimal designs for the same estimator isolate the effect of tailoring the Phase 2 design to the estimator. The four combinations are shown to distinguish these two sources of efficiency.

TABLE 5.

Empirical variance (×106) from Phase 2 of estimators (with type of design optimality) under each strategy in the VCCC data example.

Estimator Design Parameter Strat 1: Case‐control Strat 2: Simultaneous Strat 3: ADE first Strat 4: Death first Strat 5:A‐optimal
IPW IPW‐optimal
Var(β^CD4,ADE)
3.08 2.16 2.53 2.21 1.97
Var(β^CD4,Death)
0.87 0.64 0.64 0.79 0.80
GR IPW‐optimal
Var(β^CD4,ADE)
2.62 1.99 2.28 2.07 1.74
Var(β^CD4,Death)
0.03 0.05 0.05 0.06 0.06
IPW GR‐optimal
Var(β^CD4,ADE)
3.08 1.87 2.18 1.77 1.59
Var(β^CD4,Death)
0.87 0.85 0.91 0.95 1.37
GR GR‐optimal
Var(β^CD4,ADE)
2.62 1.65 1.98 1.43 1.24
Var(β^CD4,Death)
0.03 0.04 0.03 0.05 0.05

5.1. Example: Results

The data example results further demonstrate the utility of adaptive, multiwave sampling with GR on a real‐world dataset. A‐optimality targeted to the appropriate IPW or GR estimator successfully minimized the sum of variances among the presented strategies and demonstrated substantial efficiency gains over case‐control sampling.

Notably, across all sampling designs, GR led to a 92%–97% reduction in variance for β^CD4,Death but only a 6%–22% reduction for β^CD4,ADE (Table 5). This discrepancy is a direct consequence of the stark difference in measurement error levels in the Phase 1 variables, which were used to derive influence functions serving as raking variables in the GR analysis. These influence functions were strongly correlated with the true influence functions for the death model but not for the ADE model, making raking substantially more effective for the former. Accordingly, Table 5 shows that using an IPW‐optimal design between waves results in a notably higher sum of variances for raking estimators compared to the GR‐optimal approach. The GR‐based A‐optimal design, constructed by regressing Phase 2 influence function estimates on their Phase 1 counterparts, recognized that raking alone would yield large gains for β^CD4,death and thus prioritized minimizing variance for β^CD4,ADE through the sampling design by mimicking the univariate IPW‐optimal design for ADE (Supplemental Figure S1). This design most effectively addressed the imbalance in efficiency gains across parameters. This type of trade‐off does not arise in the single‐parameter setting, where Chen and Lumley [18] point out that IPW‐optimal designs are often approximately optimal for GR as well. Thus, this example demonstrates the heightened importance of using an A‐optimal design tailored to raking in the multiple‐parameter setting compared to the single‐parameter setting.

6. Discussion

This work presents a number of practical sampling strategies and examines key design considerations for two‐phase studies aimed at estimating multiple parameters with minimal variance. Through extensive numerical studies, we investigate the performance of these designs and demonstrate the strong benefits of adaptive, multiwave sampling using Neyman or Neyman–Wright allocation of influence functions and GR estimators. These simulations, supported by theoretical results in Section 3, also illustrate the utility of a novel application of A‐optimality to multiwave stratified sampling. A‐optimality shows a promising ability to minimize the sum of variances for both IPW and GR estimators across a wide range of measurement error and correlation scenarios. To support implementation of this approach, we have added an A‐optimal allocation feature to the R package ‘optimall’, available on CRAN [42]. While A‐optimality has previously been considered in a nonadaptive setting for IPW estimators, our derivation of an A‐optimal design specifically tailored to raking estimators and exploration of adaptive implementations are unique contributions of this work. Notably, we show that this approach can yield sampling strategies that offer substantial improvements over those optimized for IPW estimators, a result which differs from findings in the single‐parameter setting. The data example in Section 5 is just one illustration of this approach's practical strengths, particularly its ability to target sampling towards estimators for which the Phase 1 variables provide poor proxies for the variables of interest.

While A‐optimality effectively minimizes the sum of variances, our results also suggest that simplified approaches, such as independently optimizing allocation for each parameter in each wave or optimizing for one parameter per wave sequentially, often yield very similar estimator variances. A‐optimality's key advantage is its ability to assign explicit weights to different parameters, ensuring a more principled allocation. In contrast, independent allocation approaches (Strategies 3‐4) rely on the choice of arbitrary sample split points. This limitation is highlighted in the data example: when one parameter is harder to measure, simply splitting the Phase 2 sample in half does not lead to balanced efficiency gains. Similarly, in sequential strategies, later‐allocated parameters benefit disproportionately from earlier sampling waves. In both cases, an optimal split point likely exists, but it cannot be known during the design stage. A‐optimality naturally accounts for these complexities, making it the most practical and flexible strategy.

It should be noted that these simulations used only a simplified subset of the steps that could be taken to achieve an optimal sample design. Further improvements could be made by selecting stratum boundaries so that optimum allocation divides samples to strata more evenly, even subdividing strata between waves as necessary [8, 36]. Another avenue for design refinement is incorporating informative priors to improve the wave 1 allocation rather than relying solely on error‐prone Phase 1 data [37]. Multiple imputation could also be used to construct more efficient raking estimators, particularly in settings where the Phase 1 variables are poor surrogates for the Phase 2 variables of interest [11].

The potential for future work on efficient sampling designs for multiple outcomes is vast and increasingly important given the increasing use of EHRs in medical research [1]. One natural extension of this work would be to extend the simulations to a broader range of outcome models and incorporate design enhancements such as optimal stratification. Under these conditions, the advantages of alternative optimality criteria, such as those that account for parameter covariances, may become more apparent. Examples include D‐optimality, E‐optimality, I‐optimality, and the maximin relative‐efficiency criterion of Wang et al. [25] and [45, 46, 47]. Still, the practical advantages of A‐optimal designs with multiwave adaptive sampling and GR make it a compelling approach, and the findings of this work provide a foundation for future research on optimal design and estimation in studies using error‐prone or incomplete data.

Funding

This work was supported by the U.S. National Institutes of Health (Grant Nos. R37‐AI131771 and P30‐AI110527) and the U.S. National Science Foundation Graduate Research Fellowship Program (Grant No. DGE‐2140004).

Conflicts of Interest

The authors declare no conflicts of interest.

Supporting information

Figure S1: Optimal stratum fractions for three strata defined on ADE or Death cases under A‐optimal allocation with respect to GR (GR), A‐optimal allocation with respect to IPW (IPW), univariate IPW optimal allocation with respect to βCD4, ADE (IPW‐ADE), and univariate IPW optimal allocation with respect to βCD4, Death (IPW‐Death). Table S1: Coefficients for data‐generating models in each simulation scenario. Table S2: Measurement error model parameters. Sens refers to sensitivity, the probability of the observed value being 1 if the true value is 1, and Spec to specificity, the probability of the true value being 0 if the true value is 0. The error model parameters for Z were held constant across measurement error cases for simplicity, with Sens(Z) = 0.9 and Spec(Z) = 0.95. Table S3: Empirical variance (×103) under Scenario 2O2P: Multiple predictors and Multiple outcomes of interest. Table S4: Empirical MSE (×103) under Scenario 2O: Multiple outcomes of interest. Table S5: Empirical MSE (×103) under Scenario 2P: Multiple predictors of interest. Table S6: Empirical MSE (×103) under Scenario 2O2P: Multiple predictors and Multiple outcomes of interest. Table S7: Empirical relative efficiency for sum of variances under IPW. Table S8: Coverage probabilities of estimated 95% confidence intervals for the simulation study for the two outcomes (2O) and two predictors (2P) scenarios. Table S9: Coverage probabilities of estimated 95% confidence intervals for the simulation study for the two outcomes and two predictors (2O2P) scenario. Table S10: Empirical variances (×103) for the A‐optimal strategy (Strategy 5) under varying priority weights in the two outcomes of interest and one predictor scenario with low measurement error and low correlation (2O‐A). Table S11: Empirical variance (×103) for each strategy under Scenario 2O: Two outcomes of interest in the supplemental scenario where the Phase 2 size is n=500. Table S12: Empirical variance (×103) for each strategy under Scenario 2P: Two predictors of interest in the supplemental scenario where the Phase 2 size is n=500. Table S13: Coverage probabilities of estimated 95% confidence intervals for the simulation study for the two outcomes (2O) and two predictors (2P) scenarios in the supplemental scenario where the Phase 2 size is n=500.

SIM-45-0-s001.pdf (372.2KB, pdf)

Acknowledgments

This material is based upon work supported by the National Science Foundation Graduate Research Fellowship Program under Grant No. DGE‐2140004 and the U.S. National Institutes of Health under Grant Nos. R37‐AI131771 and P30‐AI110527. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation or National Institutes of Health.

Data Availability Statement

Data from the example in this paper may be obtained by contacting the corresponding author and appropriate data use agreements. Data are not publicly available due to privacy restrictions.

References

  • 1. Lee S., Xu Y., D'Souza A. G., et al., “Unlocking the Potential of Electronic Health Records for Health Research,” International Journal of Population Data Science 5, no. 1 (2020): 610–617. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Weiskopf N. G. and Weng C., “Methods and Dimensions of Electronic Health Record Data Quality Assessment: Enabling Reuse for Clinical Research,” Journal of the American Medical Informatics Association 20, no. 1 (2013): 144–151. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Bell S. K., Delbanco T., Elmore J. G., et al., “Frequency and Types of Patient‐Reported Errors in Electronic Health Record Ambulatory Care Notes,” JAMA Network Open 3, no. 6 (2020): e205867. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Floyd J. S., Heckbert S. R., Weiss N. S., Carrell D. S., and Psaty B. M., “Use of Administrative Data to Estimate the Incidence of Statin‐Related Rhabdomyolysis,” Journal of the American Medical Association 307, no. 15 (2012): 1580–1582. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Shortreed S. M., Cook A. J., Coley R. Y., Bobb J. F., and Nelson J. C., “Challenges and Opportunities for Using Big Health Care Data to Advance Medical Science and Public Health,” American Journal of Epidemiology 188, no. 5 (2019): 851–861. [DOI] [PubMed] [Google Scholar]
  • 6. Neyman J., “Contribution to the Theory of Sampling Human Populations,” Journal of the American Statistical Association 33 (1938): 101–116. [Google Scholar]
  • 7. Giganti M. J., Shaw P. A., Chen G., et al., “Accounting for Dependent Errors in Predictors and Time‐To‐Event Outcomes Using Electronic Health Records, Validation Samples, and Multiple Imputation,” Annals of Applied Statistics 14, no. 2 (2020): 1045–1061. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Shepherd B. E., Han K., Chen T., et al., “Multiwave Validation Sampling for Error‐Prone Electronic Health Records,” Biometrics 79, no. 3 (2023): 2649–2663. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Lumley T., “Robustness of Semiparametric Efficiency in Nearly‐True Models for Two‐Phase Samples,” Pre‐Print arXiv:1707.05924, (2017), https://arxiv.org/abs/1707.05924.
  • 10. Tao R., Zeng D., and Lin D. Y., “Efficient Semiparametric Inference Under Two‐Phase Sampling, With Applications to Genetic Association Studies,” Journal of the American Statistical Association 112, no. 520 (2017): 1468–1476. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Han K., Shaw P. A., and Lumley T., “Combining Multiple Imputation With Raking of Weights: An Efficient and Robust Approach in the Setting of Nearly True Models,” Statistics in Medicine 40, no. 30 (2021): 6777–6791. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Williamson B. D., Krakauer C., Johnson E., et al., “Assessing Treatment Effects in Observational Data With Missing Confounders: A Comparative Study of Practical Doubly‐Robust and Traditional Missing Data Methods,” Preprint arXiv:2412.15012, (2024), https://arxiv.org/abs/2412.15012. [DOI] [PMC free article] [PubMed]
  • 13. Cochran W. G., Sampling Techniques (John Wiley & Sons, 1977). [Google Scholar]
  • 14. Yang J. B., Lumley T., Shepherd B. E., and Shaw P. A., “Improving Optimal Subsampling Through Stratification,” Preprint arXiv:2512.20837, (2025), https://arxiv.org/abs/2512.20837.
  • 15. Neyman J., “On the Two Different Aspects of the Representative Method: The Method of Stratified Sampling and the Method of Purposive Selection,” Journal of the Royal Statistical Society 97, no. 4 (1934): 558–606. [Google Scholar]
  • 16. Wright T., “Exact Optimal Sample Allocation: More Efficient Than Neyman,” Statistics & Probability Letters 129 (2017): 50–57. [Google Scholar]
  • 17. Breslow N. E., Lumley T., Ballantyne C. M., Chambless L. E., and Kulich M., “Improved Horvitz–Thompson Estimation of Model Parameters From Two‐Phase Stratified Samples: Applications in Epidemiology,” Statistics in Biosciences 1 (2009): 32–49. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Chen T. and Lumley T., “Optimal Sampling for Design‐Based Estimators of Regression Models,” Statistics in Medicine 41, no. 8 (2022): 1482–1497. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. McIsaac M. A. and Cook R. J., “Adaptive Sampling in Two‐Phase Designs: A Biomarker Study for Progression in Arthritis,” Statistics in Medicine 34, no. 21 (2015): 2899–2912. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Han K., Lumley T., Shepherd B. E., and Shaw P. A., “Two‐Phase Analysis and Study Design for Survival Models With Error‐Prone Exposures,” Statistical Methods in Medical Research 30, no. 3 (2021): 857–874. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Sauer S., Hedt‐Gauthier B., and Haneuse S., “Optimal Allocation in Stratified Cluster‐Based Outcome‐Dependent Sampling Designs,” Statistics in Medicine 40, no. 18 (2021): 4090–4107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Rivera‐Rodriguez C., Haneuse S., and Sauer S., “Optimal Sampling Allocation for Outcome‐Dependent Designs in Cluster‐Correlated Data Settings,” Statistical Methods in Medical Research 31, no. 12 (2022): 2400–2414. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Wang H. Y., Zhu R., and Ma P., “Optimal Subsampling for Large Sample Logistic Regression,” Journal of the American Statistical Association 113, no. 522 (2018): 829–844. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Yu J., Wang H. Y., Ai M., and Zhang H., “Optimal Distributed Subsampling for Maximum Quasi‐Likelihood Estimators With Massive Data,” Journal of the American Statistical Association 117, no. 537 (2022): 265–276. [Google Scholar]
  • 25. Wang R., Wang Q., and Miao W., “A Maximin Optimal Approach for Sampling Designs in Two‐Phase Studies,” (2025), https://arxiv.org/abs/2312.10596.
  • 26. Zrnic T. and Candès E. J., “Active Statistical Inference,” arXiv Preprint arXiv:2403.03208, (2024).
  • 27. Li P., Zrnic T., and Candes E., “Robust Sampling for Active Statistical Inference,” Advances in Neural Information Processing Systems 38 (2026): 68727–68756. [Google Scholar]
  • 28. Kluger D. M. and Bates S., “M‐Estimation Under Two‐Phase Multiwave Sampling With Applications to Prediction‐Powered Inference,” arXiv Preprint arXiv:2602.16933, (2026).
  • 29. Deville J. C., Sarndal C. E., and Sautory O., “Generalized Raking Procedures in Survey Sampling,” Journal of the American Statistical Association 88, no. 423 (1993): 1013–1020. [Google Scholar]
  • 30. Lumley T., “Survey: Analysis of Complex Survey Samples,” R package version 4.4, (2024), https://CRAN.R‐project.org/package=survey.
  • 31. Robins J. M., Rotnitzky A., and Zhao L. P., “Estimation of Regression Coefficients When Some Regressors Are Not Always Observed,” Journal of the American Statistical Association 89, no. 427 (1994): 846–866. [Google Scholar]
  • 32. Lumley T., Shaw P. A., and Dai J. Y., “Connections Between Survey Calibration Estimators and Semiparametric Models for Incomplete Data,” International Statistical Review 79, no. 2 (2011): 200–220. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Kulich M. and Lin D. Y., “Improving the Efficiency of Relative‐Risk Estimation in Case‐Cohort Studies,” Journal of the American Statistical Association 99, no. 467 (2004): 832–844. [Google Scholar]
  • 34. Breslow N. E., Lumley T., Ballantyne C. M., Chambless L. E., and Kulich M., “Using the Whole Cohort in the Analysis of Case‐Cohort Data,” American Journal of Epidemiology 169, no. 11 (2009): 1398–1405. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Oh E. J., Shepherd B. E., Lumley T., and Shaw P. A., “Raking and Regression Calibration: Methods to Address Bias From Correlated Covariate and Time‐To‐Event Error,” Statistics in Medicine 40, no. 3 (2021): 631–649. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Särndal C. E., Swensson B., and Wretman J., Model Assisted Survey Sampling (Springer Science & Business Media, 2003). [Google Scholar]
  • 37. Chen T. and Lumley T., “Optimal Multiwave Sampling for Regression Modeling in Two‐ Phase Designs,” Statistics in Medicine 39, no. 30 (2020): 4912–4921. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Wright T., “The Equivalence of Neyman Optimum Allocation for Sampling and Equal Proportions for Apportioning the US House of Representatives,” American Statistician 66, no. 4 (2012): 217–224. [Google Scholar]
  • 39. Amorim G., Tao R., Lotspeich S., Shaw P. A., Lumley T., and Shepherd B. E., “Two‐Phase Sampling Designs for Data Validation in Settings With Covariate Measurement Error and Continuous Outcome,” Journal of the Royal Statistical Society: Series A (Statistics in Society) 184, no. 4 (2021): 1368–1389. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Kiefer J. and Wolfowitz J., “Optimum Designs in Regression Problems,” Annals of Mathematical Statistics 30, no. 2 (1959): 271–294. [Google Scholar]
  • 41. Chan N. N., “A‐Optimality for Regression Designs,” Journal of Mathematical Analysis and Applications 87, no. 1 (1982): 45–50. [Google Scholar]
  • 42. Yang J. B., Lumley T., Shepherd B. E., and Shaw P. A., “Optimum Allocation for Adaptive Multi‐Wave Sampling in R: The R Package Optimall,” Journal of Statistical Software 114 (2025): 1–31. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Melekhin V. V., Shepherd B. E., Jenkins C. A., et al., “Postpartum Discontinuation of Antiretroviral Therapy and Risk of Maternal AIDS‐Defining Events, Non‐AIDS‐Defining Events, and Mortality Among a Cohort of HIV‐1‐Infected Women in the United States,” AIDS Patient Care and STDs 24, no. 5 (2010): 279–286. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Lin D. Y. and Wei L., “The Robust Inference for the Cox Proportional Hazards Model,” Journal of the American Statistical Association 84, no. 408 (1989): 1074–1078. [Google Scholar]
  • 45. Wald A., “On the Efficient Design of Statistical Investigations,” Annals of Mathematical Statistics 14, no. 2 (1943): 134–140. [Google Scholar]
  • 46. Pukelsheim F., Optimal Design of Experiments (Society for Industrial and Applied Mathematics, 2006). [Google Scholar]
  • 47. Goos P., Jones B., and Syafitri U., “I‐Optimal Design of Mixture Experiments,” Journal of the American Statistical Association 111, no. 514 (2016): 899–911. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Figure S1: Optimal stratum fractions for three strata defined on ADE or Death cases under A‐optimal allocation with respect to GR (GR), A‐optimal allocation with respect to IPW (IPW), univariate IPW optimal allocation with respect to βCD4, ADE (IPW‐ADE), and univariate IPW optimal allocation with respect to βCD4, Death (IPW‐Death). Table S1: Coefficients for data‐generating models in each simulation scenario. Table S2: Measurement error model parameters. Sens refers to sensitivity, the probability of the observed value being 1 if the true value is 1, and Spec to specificity, the probability of the true value being 0 if the true value is 0. The error model parameters for Z were held constant across measurement error cases for simplicity, with Sens(Z) = 0.9 and Spec(Z) = 0.95. Table S3: Empirical variance (×103) under Scenario 2O2P: Multiple predictors and Multiple outcomes of interest. Table S4: Empirical MSE (×103) under Scenario 2O: Multiple outcomes of interest. Table S5: Empirical MSE (×103) under Scenario 2P: Multiple predictors of interest. Table S6: Empirical MSE (×103) under Scenario 2O2P: Multiple predictors and Multiple outcomes of interest. Table S7: Empirical relative efficiency for sum of variances under IPW. Table S8: Coverage probabilities of estimated 95% confidence intervals for the simulation study for the two outcomes (2O) and two predictors (2P) scenarios. Table S9: Coverage probabilities of estimated 95% confidence intervals for the simulation study for the two outcomes and two predictors (2O2P) scenario. Table S10: Empirical variances (×103) for the A‐optimal strategy (Strategy 5) under varying priority weights in the two outcomes of interest and one predictor scenario with low measurement error and low correlation (2O‐A). Table S11: Empirical variance (×103) for each strategy under Scenario 2O: Two outcomes of interest in the supplemental scenario where the Phase 2 size is n=500. Table S12: Empirical variance (×103) for each strategy under Scenario 2P: Two predictors of interest in the supplemental scenario where the Phase 2 size is n=500. Table S13: Coverage probabilities of estimated 95% confidence intervals for the simulation study for the two outcomes (2O) and two predictors (2P) scenarios in the supplemental scenario where the Phase 2 size is n=500.

SIM-45-0-s001.pdf (372.2KB, pdf)

Data Availability Statement

Data from the example in this paper may be obtained by contacting the corresponding author and appropriate data use agreements. Data are not publicly available due to privacy restrictions.


Articles from Statistics in Medicine are provided here courtesy of Wiley

RESOURCES