Skip to contents

Introduction

In epidemiological studies, an important quantity that needs to be estimated with great accuracy is the prevalence rate of a disease in order to learn more about central parameters such as case fatality rate and/or to plan and refine decisions about measures with regards to an epidemic or a pandemic. Traditionally, to measure the prevalence, a survey sample (of randomly chosen subjects from the population) is collected and the prevalence is estimated by the sample proportion. This process involves some financial and logistic efforts, which increase with the number of sampled participants, while at the same time, increasing the accuracy of the estimator. Having a sufficiently large sample is especially important when the (true) prevalence is very small, for example at the beginning of a new pandemic such as the one of the COVID-19. In this case, since the beginning of the outbreak, many measurements have been taken on the number of infected people, but only on the sub-population selected under some medical (and logistic) criteria. It is obvious that using these measurements as if they would be like a complete census, would lead to an underestimation of the prevalence.

In Guerrier et al. (2024), we propose to combine this case-count information with data from a survey sample to improve the accuracy of the prevalence estimate. For a target statistical precision, the required sample size shrinks substantially when case-count data are used as auxiliary information. The possible misclassification errors of the medical tests are taken into account through the sensitivity (1β1-\beta, the complement of the false negative rate) and the specificity (1α1-\alpha, the complement of the false positive rate). The approach is frequentist — it uses fixed values for the sensitivity and specificity rather than priors.

Mathematical setup

As in Guerrier et al. (2024), we define the following unobserved random variable:

Xi={1if participant (in the survey sample) i is positive,0otherwise;\begin{equation*} X_i= \left\{ \begin{array}{ll} 1 & \quad \mbox{if participant (in the survey sample) $i$ is positive,} \\ 0 & \quad \mbox{otherwise;} \end{array} \right. \end{equation*}

The objective is to provide an estimator for the unknown population proportion, i.e. the prevalence, given by

π=Pr(Xi=1).\begin{equation*} \pi = \Pr\left(X_i=1\right). \end{equation*}

Next, we define the following quantities.

Yi={1if participant i is tested positive in the survey sample,0otherwise;Zi={1if participant i was declared positive with the official procedure,0otherwise.\begin{eqnarray} Y_i&=& \left\{ \begin{array}{ll} 1 & \quad \mbox{if participant $i$ is tested positive in the survey sample,} \\ 0 & \quad \mbox{otherwise;} \end{array} \right.\nonumber \\ Z_i&=& \left\{ \begin{array}{ll} 1 & \quad \mbox{if participant $i$ was declared positive with the official procedure,} \\ 0 & \quad \mbox{otherwise.} \end{array} \right. \label{eqn:Y-Z} \end{eqnarray}

and

R11=i=1nYiZi,R10=i=1n(1Yi)Zi,R01=i=1nYi(1Zi),R00=i=1n(1Yi)(1Zi)=nR11R10+R01.\begin{alignat}{4} &R_{11}&&=\sum_{i=1}^n Y_i Z_i, \quad\quad\quad &&R_{10}&&=\sum_{i=1}^n(1-Y_i)Z_i, \label{eqn:R-R4} \\ &R_{01}&&= \sum_{i=1}^nY_i(1-Z_i), \quad\quad \quad &&R_{00}&&= \sum_{i=1}^n(1-Y_i)(1-Z_i)=n-R_{11}-R_{10}+R_{01}. \nonumber \end{alignat}

In words, R11R_{11} is the number of participants in the survey sample that are tested positive and have also been declared positive through the official procedure; R10R_{10} is the number of participants in the survey sample that are tested negative but have been declared positive through the official procedure; R01R_{01} is the number of participants in the survey sample that are tested positive but have been declared negative through the official procedure; R00R_{00} is the number of participants in the survey sample that are tested negative and have been declared negative through the official procedure. We also make use of R*1=i=1nYi=R11+R01R_{\ast 1} = \sum_{i=1}^nY_i = R_{11} + R_{01}, the number of participants that are tested positive in the survey sample. The RjkR_{jk} are central quantities for computing the proposed estimators. In the case of stratified sampling, these quantities can be modified accordingly (see below in the section on stratified sampling).

Random sampling

For simplicity of exposition, we first consider the unweighted (or random) sampling case, the weighted one is treated below.

We also allow for the possibility that the outcome of (medical) tests can be subject to misclassification error. Hence, we define α=Pr(Yi=1|Xi=0)\alpha = \Pr(Y_i=1\vert X_i=0) and β=Pr(Yi=0|Xi=1)\beta = \Pr(Y_i=0\vert X_i=1). The probabilities α\alpha and β\beta, are the (assumed known) FP rate (α=1specificity\alpha = 1-\mbox{specificity}) and FN rate (β=1sensitivity\beta = 1-\mbox{sensitivity}) of the particular medical test employed in the survey. Moreover, we will make use of the (known) prevalence π0=Pr(Zi=1)\pi_0 =\Pr(Z_i=1) from the official procedure. As previously explained, π0\pi_0 is the joint probability of being selected in the official procedure and declared positive, so that we have π0π\pi_0\leq \pi.

Since the objective is to take advantage of the information provided by the official procedure in estimating the prevalence π\pi, we also need to take into account the possible biases in the official data. Therefore, we define α0=Pr(Zi=1|Xi=0)\alpha_0 = \Pr(Z_i=1\vert X_i=0), the FP rate of the official procedure and β0=Pr(Zi=0|Xi=1)\beta_0 = \Pr(Z_i=0\vert X_i=1) the FN rate of the official procedure. It turns out (see Guerrier et al. (2024) for details) that α0\alpha_0 is a negligible quantity and hence can be set to 00, and β0\beta_0 can be deduced from the other available or estimable quantities as we have

β0=1π0α0(1π)π. \beta_0 = 1- \frac{\pi_0-\alpha_0(1-\pi)}{\pi}.

The success probabilities (see Guerrier et al. (2024) for their derivation), denoted by τjk(π)\tau_{jk}(\pi) associated to each RjkR_{jk}, j,k{0,1}j,k \in \{0,1\} are given by % τ11(π)=Pr(Zi=1,Yi=1)=πΔα0+(π0α0)(1β)+αα0,τ10(π)=Pr(Zi=1,Yi=0)=πΔα0+(π0α0)β+(1α)α0,τ01(π)=Pr(Zi=0,Yi=1)=πΔ(1α0)(π0α0)(1β)+α(1α0),τ00(π)=Pr(Zi=0,Yi=0)=πΔ(1α0)(π0α0)β+(1α)(1α0),\begin{eqnarray} \begin{aligned} \tau_{11}(\pi) &= \Pr(Z_i=1, Y_i=1) =\pi\Delta\alpha_0+(\pi_0-\alpha_0)(1-\beta)+\alpha\alpha_0, \\ \tau_{10}(\pi) &= \Pr(Z_i=1,Y_i=0) = -\pi\Delta\alpha_0+(\pi_0-\alpha_0)\beta+(1-\alpha)\alpha_0, \\ \tau_{01}(\pi) &= \Pr(Z_i=0,Y_i=1) = \pi\Delta(1-\alpha_0)-(\pi_0-\alpha_0)(1-\beta)+\alpha(1-\alpha_0), \\ \tau_{00}(\pi) &= \Pr(Z_i=0,Y_i=0) = -\pi\Delta(1-\alpha_0)-(\pi_0-\alpha_0)\beta+(1-\alpha)(1-\alpha_0), \end{aligned} \label{eqn:tau-pi} \end{eqnarray} % where Δ=1(α+β)\Delta =1-(\alpha+\beta). Without misclassification error, we would have τ11(π)=π0\tau_{11}(\pi)=\pi_0, τ10(π)=0\tau_{10}(\pi)=0, τ01(π)=ππ0\tau_{01}(\pi)=\pi-\pi_0, τ00(π)=1π\tau_{00}(\pi)=1-\pi.

Based on these definitions, we present a Conditional Maximum Likelihood Estimator (CMLE) and a Method of Moments Estimator (MME). The formal derivations and properties are provided in Guerrier et al. (2024). There, we also consider a Marginal MLE (MMLE) when some data is missing, and some Generalized Method of Moment (GMM) estimators. The likelihood function for π\pi can be obtained from the multinomial distribution with categories provided by R11,R10,R01,R00R_{11},R_{10},R_{01},R_{00} and their associated success probabilities τ11(π),τ10(π),τ01(π),τ00(π)\tau_{11}(\pi),\tau_{10}(\pi),\tau_{01}(\pi),\tau_{00}(\pi). The CMLE, conditional on the information provided by the official procedure, π̂\widehat{\pi}, generally, has no closed-form solution but can be computed numerically. However, in the case when α0=0\alpha_0 = 0, we obtain a closed-form solution given by

π̂=π0R00+R01Δ(R01+R00)π0βΔαΔ.\begin{equation} \widehat{\pi} = \frac{\pi_0 R_{00} + R_{01}}{\Delta \left(R_{01}+R_{00}\right)} - \frac{\pi_0 \beta}{\Delta} - \frac{\alpha}{\Delta}. \label{eq:cmle-closedform} \end{equation}

When α0=α=β=0\alpha_0=\alpha=\beta=0, this further reduces to

π̂=π0nR*1nR11+R01(nR11).\begin{equation} \widehat{\pi} = \pi_0 \frac{n - R_{\ast 1}}{n - R_{11}} + \frac{R_{01}}{ \left(n - R_{11}\right)}. \label{eqn:MLE} \end{equation}

Considering the data used in Guerrier et al. (2024), this estimator can be computed as follows:

# Load pempi
library(pempi)

# Austrian data (November 2020)
pi0 = 93914/7166167

# Load data
data("covid19_austria")

# Random sampling
n = nrow(covid19_austria)
R1 = sum(covid19_austria$Y == 1 & covid19_austria$Z == 1)
R2 = sum(covid19_austria$Y == 0 & covid19_austria$Z == 1)
R3 = sum(covid19_austria$Y == 1 & covid19_austria$Z == 0)
R4 = sum(covid19_austria$Y == 0 & covid19_austria$Z == 0)

# Compute CMLE
conditional_mle(R1 = R1, R2 = R2, R3 = R3, R4 = R4, pi0 = pi0)
## Method: Conditional MLE
## 
## Estimated proportion: 2.9317%
## Standard error      : 0.2639%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 2.4145% - 3.4489%
## 
## Assumed measurement error: alpha  = 0%, beta = 0%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 55.30%
## CI at the 95% level: 47.41% - 63.18%
## 
## Estimated ascertainment rate: 
## pi0/pi = 44.70%
## CI at the 95% level: 36.82% - 52.59%
## 
## Sampling: Random

Note that the notation in the paper is slightly amended for convenience in this package. In particular, the package uses R1 for R11R_{11}, R2 for R10R_{10}, R3 for R01R_{01} and R4 for R00R_{00}. Considering the following measurement error α=0.01\alpha = 0.01, α0=0\alpha_0 = 0 and β=0.1\beta = 0.1, we obtain:

# Assumed measurement errors
alpha0 = 0
alpha  = 1/100
beta   = 10/100

# Compute CMLE with measurement error
conditional_mle(R1 = R1, R2 = R2, R3 = R3, R4 = R4, pi0 = pi0,
                alpha = alpha, alpha0 = alpha0, beta = beta)
## Method: Conditional MLE
## 
## Estimated proportion: 2.0200%
## Standard error      : 0.2962%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 1.4394% - 2.6006%
## 
## Assumed measurement error: alpha  = 1%, beta = 10%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 35.12%
## CI at the 95% level: 16.48% - 53.77%
## 
## Estimated ascertainment rate: 
## pi0/pi = 64.88%
## CI at the 95% level: 46.23% - 83.52%
## 
## Sampling: Random

Alternatively, we can consider an estimator from the class of GMM estimators based on the random variable 𝑹=[R11/n,R10/n,R01/n,R00/n]\mathbf{R} =[R_{11}/n, R_{10}/n, R_{01}/n, R_{00}/n] with expectation 𝔼[𝑹]=τ(π)=[τ11(π),τ10(π),τ01(π),τ00(π)]\mathbb{E}[\mathbf{R}] = {\tau}(\pi)=[\tau_{11}(\pi), \tau_{10}(\pi), \tau_{01}(\pi), \tau_{00}(\pi)]. A particular case is given by an MME based on R01R_{01} (with expectation τ01(π)\tau_{01}(\pi)), which, again assuming an interior solution exists, is given by

π̃=1Δ(1α0)(R01n+π0βπ0α0Δα).\begin{equation} \widetilde{\pi} = \frac{1}{\Delta(1-\alpha_0)} \left(\frac{R_{01}}{n} + \pi_0 - \beta\pi_0 - \alpha_0 \Delta - \alpha\right). \label{eqn:MME-ME} \end{equation}

When α0=α=β=0\alpha_0=\alpha=\beta=0, this reduces to

π̃=π0+R01n.\begin{equation} \widetilde{\pi} = \pi_0 + \frac{R_{01}}{n}. \label{eqn:MME} \end{equation}

Since we have that 𝔼[π̃]=π\mathbb{E}[\widetilde{\pi} ] = \pi, the MME is unbiased. This estimator can be computed as follows:

# Without measurement error
moment_estimator(R3 = R3, n = n, pi0 = pi0)
## Method: Moment Estimator
## 
## Estimated proportion: 2.9262%
## Standard error      : 0.2635%
## 
## Confidence intervals at the 95% level:
## Asymptotic Approach: 2.4099% - 3.4426%
## Clopper-Pearson    : 2.4506% - 3.5308%
## 
## Assumed measurement error: alpha  = 0%, beta = 0%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 55.21%
## CI at the 95% level: 47.31% - 63.12%
## 
## Estimated ascertainment rate: 
## pi0/pi = 44.79%
## CI at the 95% level: 36.88% - 52.69%
## 
## Sampling: Random
# With measurement error
moment_estimator(R3 = R3, n = n, pi0 = pi0, alpha = alpha,
                 alpha0 = alpha0, beta = beta)
## Method: Moment Estimator
## 
## Estimated proportion: 2.0171%
## Standard error      : 0.2960%
## 
## Confidence intervals at the 95% level:
## Asymptotic Approach: 1.4369% - 2.5973%
## Clopper-Pearson    : 1.4827% - 2.6963%
## 
## Assumed measurement error: alpha  = 1%, beta = 10%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 35.03%
## CI at the 95% level: 16.34% - 53.72%
## 
## Estimated ascertainment rate: 
## pi0/pi = 64.97%
## CI at the 95% level: 46.28% - 83.66%
## 
## Sampling: Random

In the pempi package the marginal MLE is also implemented and can be used as follows:

# Without measurement error
marginal_mle(R1 = R1, R3 = R3, n = n, pi0 = pi0)
## Method: Marginal MLE
## 
## Estimated proportion: 2.9317%
## Standard error      : 0.2639%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 2.4145% - 3.4489%
## 
## Assumed measurement error: alpha  = 0%, beta = 0%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 55.30%
## CI at the 95% level: 47.41% - 63.18%
## 
## Estimated ascertainment rate: 
## pi0/pi = 44.70%
## CI at the 95% level: 36.82% - 52.59%
## 
## Sampling: Random
# With measurement error
marginal_mle(R1 = R1, R3 = R3, n = n, pi0 = pi0, 
             alpha = alpha, beta = beta, alpha0 = alpha0)
## Method: Marginal MLE
## 
## Estimated proportion: 2.0200%
## Standard error      : 0.2962%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 1.4394% - 2.6006%
## 
## Assumed measurement error: alpha  = 1%, beta = 10%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 35.12%
## CI at the 95% level: 16.48% - 53.77%
## 
## Estimated ascertainment rate: 
## pi0/pi = 64.88%
## CI at the 95% level: 46.23% - 83.52%
## 
## Sampling: Random

These results can be compared to the standard survey MLE which can be computed as follows:

# Without measurement error
survey_mle(R = R1 + R3, n = n)
## Method: Survey MLE
## 
## Estimated proportion: 3.1441%
## Standard error      : 0.3647%
## 
## Confidence intervals at the 95% level:
## Asymptotic Approach: 2.4294% - 3.8588%
## Clopper-Pearson    : 2.4680% - 3.9433%
## 
## Assumed measurement error: alpha = 0%, beta = 0% 
## Sampling: Random
# With measurement error
survey_mle(R = R1 + R3, n = n, alpha = alpha, beta = beta)
## Method: Survey MLE
## 
## Estimated proportion: 2.4091%
## Standard error      : 0.4097%
## 
## Confidence intervals at the 95% level:
## Asymptotic Approach: 1.6060% - 3.2122%
## Clopper-Pearson    : 1.6495% - 3.3070%
## 
## Assumed measurement error: alpha = 1%, beta = 10% 
## Sampling: Random

Stratified sampling

In many applications sampling is not uniformly random, but stratified. This is also the case for the COVID-19 data from the Austrian survey sample that we apply our method to. For such cases, one can use different approaches. In this section, we present a method that considers a prevalence estimator formed as a weighted sum of prevalence estimators π̃k\widetilde{\pi}^k associated to each stratum kk, i.e., a generalization of the MME, as well as a Weighted M-Estimator (WME). In both cases, we have to rely on asymptotic theory for computing CIs.

It actually turns out that the resulting estimators are based on similar quantities provided previously, but weighted ones. Let γi\gamma_i denote the sampling weight associated to subject i=1,,ni=1,\ldots,n, which is proportional to the reciprocal of the sampling probability for subject ii, and adjusted such that i=1nγi=n\sum_{i=1}^n \gamma_i = n. Let also

R¯11=i=1nγiYiZi=i=1nγiRi11,R¯10=i=1nγi(1Yi)Zi=i=1nγiRi10,R¯01=i=1nγiYi(1Zi)=i=1nγiRi01,R¯00=i=1nγi(1Yi)(1Zi)=i=1nγiRi00,R¯*1=i=1nγiYi=R¯11+R¯01.\begin{eqnarray} \overline{R}_{11}&=&\sum_{i=1}^n\gamma_iY_i Z_i=\sum_{i=1}^n\gamma_iR_{i11}, \nonumber \\ \overline{R}_{10}&=&\sum_{i=1}^n\gamma_i(1-Y_i)Z_i=\sum_{i=1}^n\gamma_iR_{i10}, \nonumber \\ \overline{R}_{01}&=& \sum_{i=1}^n\gamma_iY_i(1-Z_i)= \sum_{i=1}^n\gamma_iR_{i01}, \nonumber\\ \overline{R}_{00}&=& \sum_{i=1}^n\gamma_i(1-Y_i)(1-Z_i)=\sum_{i=1}^n\gamma_iR_{i00}, \nonumber \\ \overline{R}_{*1}&=&\sum_{i=1}^n\gamma_iY_i=\overline{R}_{11}+\overline{R}_{01}. \nonumber \end{eqnarray}

With the MME approach, we consider the possibility that different groups of people (such as in different towns or provinces), or even each participant ii, are associated to different prevalence πi\pi_i. We are, however, only interested in the overall prevalence π=(1/n)i=1nγiπi\pi=(1/n)\sum_{i=1}^n \gamma_i \pi_i, given the additional information provided by the official procedure. Moreover, the (known but biased) prevalence from the official procedure could also be different for each (groups of) subject(s) ii, with πi0,i=1,,n\pi_{i0}, i=1,\ldots,n. Note, however, that π0=(1/n)i=1nγiπi0\pi_0 =(1/n) \sum_{i=1}^n \gamma_i \pi_{i0} and that π0\pi_0 is known. A general approach then consists in obtaining estimates for each πi\pi_i using some method and then take their weighted average as an estimator for π\pi. Using the MME approach based on the Ri01R_{i01} and assuming, as done before, that the parameters α,β\alpha,\beta are specific to the medical test used and, thus, independent of subject ii, we obtain a weighted MME for π\pi as

π̃=1Δ(1α0)(R¯01n+π0(1β)α0Δα).\begin{equation} \widetilde{\pi} = \frac{1}{\Delta(1-\alpha_0)} \left( \frac{\overline{R}_{01}}{n} + \pi_0 (1 - \beta) - \alpha_0 \Delta - \alpha\right). \label{eqn:CWMLE-alpha0} \end{equation}

We also have that 𝔼[π̃]=π\mathbb{E}\left[\widetilde{\pi}\right]= \pi. When α0=α=β=0\alpha_0=\alpha=\beta=0, we get

π̃=π0+R¯01n.\begin{equation*} \widetilde{\pi} = \pi_0 + \frac{\overline{R}_{01}}{n}. \end{equation*}

An alternative approach is to consider a WME π̂\widehat{\pi} as proposed for example by Wooldridge (2001). Generally, it has no closed-form solution but can be computed numerically. However, in the case when α0=0\alpha_0 = 0, we obtain a closed-form solution given by

π̂=π0R¯00+R¯01Δ(R¯01+R¯00)π0βΔαΔ.\begin{equation*} \widehat{\pi} = \frac{\pi_0 \overline{R}_{00} + \overline{R}_{01}}{\Delta \left(\overline{R}_{01}+\overline{R}_{00}\right)} - \frac{\pi_0 \beta}{\Delta} - \frac{\alpha}{\Delta}. \end{equation*}

When α0=α=β=0\alpha_0=\alpha=\beta=0, this further reduces to

π̂=π0nR¯*1nR¯11+R01(nR11).\begin{equation*} \widehat{\pi} = \pi_0 \frac{n - \overline{R}_{\ast 1}}{n - \overline{R}_{11}} + \frac{R_{01}}{ \left(n - R_{11}\right)}. \end{equation*}

In other words, in the case of stratified sampling, one replaces the RjkR_{jk} by their weighted counterparts R¯jk\overline{R}_{jk}.

Considering the data used in Guerrier et al. (2024), these estimators can be computed as follows:

# Load pempi
library(pempi)

# Austrian data (November 2020)
pi0 = 93914/7166167

# Weighted sampling
R1w = sum(covid19_austria$weights[covid19_austria$Y == 1 & covid19_austria$Z == 1])
R2w = sum(covid19_austria$weights[covid19_austria$Y == 0 & covid19_austria$Z == 1])
R3w = sum(covid19_austria$weights[covid19_austria$Y == 1 & covid19_austria$Z == 0])
R4w = sum(covid19_austria$weights[covid19_austria$Y == 0 & covid19_austria$Z == 0])

# Average of squared weights 
V = mean(covid19_austria$weights^2)

# Compute CMLE
conditional_mle(R1 = R1w, R2 = R2w, R3 = R3w, R4 = R4w, 
                pi0 = pi0, V = V)
## Method: Conditional MLE
## 
## Estimated proportion: 2.9841%
## Standard error      : 0.3294%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 2.3385% - 3.6297%
## 
## Assumed measurement error: alpha  = 0%, beta = 0%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 56.08%
## CI at the 95% level: 46.58% - 65.59%
## 
## Estimated ascertainment rate: 
## pi0/pi = 43.92%
## CI at the 95% level: 34.41% - 53.42%
## 
## Sampling: Stratified with V = 1.51
# Compute MME
moment_estimator(R3 = R3w, pi0 = pi0, n = n, V = V)
## Method: Moment Estimator
## 
## Estimated proportion: 2.9818%
## Standard error      : 0.3292%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 2.3365% - 3.6270%
## 
## Assumed measurement error: alpha  = 0%, beta = 0%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 56.05%
## CI at the 95% level: 46.54% - 65.56%
## 
## Estimated ascertainment rate: 
## pi0/pi = 43.95%
## CI at the 95% level: 34.44% - 53.46%
## 
## Sampling: Stratified with V = 1.51
# Survey MLE
survey_mle(R = R1w + R3w, pi0 = pi0, n = n, V = V)
## Method: Survey MLE
## 
## Estimated proportion: 3.1280%
## Standard error      : 0.4471%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 2.2517% - 4.0042%
## 
## Assumed measurement error: alpha = 0%, beta = 0% 
## Sampling: Stratified with V = 1.51

These estimators are also defined in the stratified case with measurement error. For example, for the MME:

# Compute MME
moment_estimator(R3 = R3w, pi0 = pi0, n = n, V = V, alpha = alpha,
                 alpha0 = alpha0, beta = beta)
## Method: Moment Estimator
## 
## Estimated proportion: 2.0794%
## Standard error      : 0.3699%
## 
## Confidence interval at the 95% level:
## Asymptotic Approach: 1.3544% - 2.8045%
## 
## Assumed measurement error: alpha  = 1%, beta = 10%,
##                            alpha0 = 0% 
## 
## Estimated false negative rate of the
## official procedure: beta0 = 36.98%
## CI at the 95% level: 15.00% - 58.95%
## 
## Estimated ascertainment rate: 
## pi0/pi = 63.02%
## CI at the 95% level: 41.05% - 85.00%
## 
## Sampling: Stratified with V = 1.51

References

Guerrier, Stéphane, Christoph Kuzmics, and Maria-Pia Victoria-Feser. 2024. “Assessing COVID-19 Prevalence in Austria with Infection Surveys and Case Count Data as Auxiliary Information.” Journal of the American Statistical Association 119 (547): 1722–35. https://doi.org/10.1080/01621459.2024.2313790.
Wooldridge, J. M. 2001. “Asymptotic Properties of Weighted M-Estimators for Standard Stratified Samples.” Econometric Theory 17: 451–70.