Research Article  Open Access
Guogen Shan, Amei Amei, Daniel Young, "Efficient Noninferiority Testing Procedures for Simultaneously Assessing Sensitivity and Specificity of Two Diagnostic Tests", Computational and Mathematical Methods in Medicine, vol. 2015, Article ID 128930, 7 pages, 2015. https://doi.org/10.1155/2015/128930
Efficient Noninferiority Testing Procedures for Simultaneously Assessing Sensitivity and Specificity of Two Diagnostic Tests
Abstract
Sensitivity and specificity are often used to assess the performance of a diagnostic test with binary outcomes. Waldtype test statistics have been proposed for testing sensitivity and specificity individually. In the presence of a gold standard, simultaneous comparison between two diagnostic tests for noninferiority of sensitivity and specificity based on an asymptotic approach has been studied by Chen et al. (2003). However, the asymptotic approach may suffer from unsatisfactory type I error control as observed from many studies, especially in small to medium sample settings. In this paper, we compare three unconditional approaches for simultaneously testing sensitivity and specificity. They are approaches based on estimation, maximization, and a combination of estimation and maximization. Although the estimation approach does not guarantee type I error, it has satisfactory performance with regard to type I error control. The other two unconditional approaches are exact. The approach based on estimation and maximization is generally more powerful than the approach based on maximization.
1. Introduction
Sensitivity and specificity are often used to summarize the performance of a diagnostic or screening procedure. Sensitivity is the probability of positive diagnostic results given the subject having disease, and specificity is the probability of a negative outcome as the diagnostic result in the nondiseased group. Diagnostic tests with high values of sensitivity and specificity are often preferred and they can be estimated in the presence of a gold standard. For example, two diagnostic tests, the technetium99m methoxyisobutylisonitrile single photon emission computed tomography (TcMIBI SPECT) and the computed tomography (CT), were compared for diagnosing recurrent or residual nasopharyngeal carcinoma (NPC) from benign lesions after radiotherapy in the study by Kao et al. [1]. The gold standard in their study is the biopsy method. The sensitivity and specificity are 73% and 88% for the CT test and 73% and 96% for the TcMIBI SPECT test.
Traditionally, noninferiority of sensitivity and specificity between two diagnostic procedures is tested individually using the the McNemar test [2–6]. Recently, Tange et al. [7] developed an approach to simultaneously test sensitivity and specificity in noninferiority studies. Lu and Bean [2] were among the first researchers to propose a Waldtype test statistic for testing a nonzero difference in sensitivity or specificity between two diagnostic tests for paired data. Later, it was pointed out by Nam [3] that the test statistic by Lu and Bean [2] has unsatisfactory type I error control. A new test statistic based on a restricted maximum likelihood method was then proposed by Nam [3] and was shown to have good performance with actual type I error rates closer to the desired rates. This test statistic was used by Chen et al. [8] to compare sensitivity and specificity simultaneously in the presence of a gold standard. Actual type I error rates for a compound asymptotic test were evaluated on some specific points in the sample space. It is well known that the asymptotic method behaves poorly when the sample size is small. Therefore, it is not necessary to comprehensively evaluate type I error rate [9–14].
An alternative to an asymptotic approach is an exact approach conducted by enumerating all the possible tables for given total sample sizes of diseased and nondiseased subjects. The first commonly used unconditional approach is a method based on maximization [15]. In the unconditional approach, only the number of subjects in the diseased and nondiseased group is fixed, not the total number of responses from both groups. The latter is considered as the usual conditional approach by treating both margins of the table as fixed. The value of the unconditional approach based on maximization is calculated as the maximum of the tail probability over the range of a nuisance parameter [15]. This approach has been studied for many years and it can be conservative due to a smaller actual type I error rate as compared to the test size in small sample settings. One possible reason leading to the conservativeness of this approach is the spikes in the tail probability curve. Storer and Kim [16] proposed another unconditional approach based on estimation which is also known as the parametric bootstrap approach. The maximum likelihood estimate (MLE) is plugged into the null likelihood for the nuisance parameter. Other estimates may be considered if the MLE is not available [7]. Although this estimation based approach is often shown to have type I error rates being closer to the desired size than asymptotic approaches, it still does not respect test size.
A combination of the two approaches based on estimation and maximization has been proposed by Lloyd [4, 17] for the testing of noninferiority with binary matchedpairs data, which can be obtained from a casecontrol study and a twin study. The value of the approach based on estimation is used as a test statistic in the following maximization step. It should be noted that there could be multiple estimation steps before the final maximization step. The final step must be a maximization step in order to make the test exact. This approach has been successfully extended for the testing trend with binary endpoints [5, 18]. The rest of this paper is organized as follows. Section 2 presents relevant notation and testing procedures for simultaneously testing sensitivity and specificity. In Section 3, we extensively compare the performance of the competing tests. A real example is illustrated in Section 4 for the application of asymptotic and exact procedures. Section 5 is given to discussion.
2. Testing Approaches
Each subject in a study is evaluated by two dichotomous diagnostic tests, and , in the presence of a gold standard. Suppose each subject, either diseased or nondiseased, was already determined by the gold standard before performing the two diagnostic tests. Within the diseased group, () is the number of subjects with diagnostic results and , where and represent negative and positive diagnostic results from the th test , respectively, with being the associated probability. The total number of diseased subjects is . Similarly, () is the number of subjects with diagnostic results and in the nondiseased group, is the associated probability, and is the total number of nondiseased patients. Such data can be organized in a contingency table (Table 1), where and . It is reasonable to assume that the diseased group is independent of the nondiseased group.

In a study with given total sample sizes and in the diseased and the nondiseased groups, respectively, sensitivities of diagnostic tests and are estimated as and . Similarly, and are specificities for and , respectively. The estimated difference between their sensitivities isand the estimated difference between their specificities is
The hypotheses for noninferiority of sensitivity and specificity between and are given in the format of compound hypotheses as againstwhere and are the clinical meaningful differences between and in sensitivity and specificity, and . For example, investigators may consider a difference in sensitivity of less than 0.2 not clinically important .
A test statistic for the hypotheses versus iswhere is the estimated difference in sensitivities and is the estimated standard error of . The estimate of based on a restricted maximum likelihood estimation approach [3, 19, 20] is used, and the associated form is , whereThere are two reasons for using this estimate instead of some other estimates [2]. First, it has been shown to perform well [8, 20]. Second, it is applicable to a contingency table with offdiagonal zero cells. We are going to consider the exact approaches by enumerating all possible tables with some of them having zero cells in offdiagonals. The traditional estimate for does not provide a reasonable estimate of variance for such tables.
The test statistic for sensitivity in (5) follows a normal distribution asymptotically. The null hypothesis would be rejected if the test statistic in (5) is greater than or equal to , where is the upper percentile of the standard normal distribution.
As mentioned by many researchers, the asymptotic approach has unsatisfactory type I error control especially in small or medium sample settings. An alternative is an exact approach by enumerating all possible tables for a given total of sample sizes. The first exact unconditional approach considered here is a method based on maximization (referred to as the approach) [15]. The value of this approach is calculated as the maximum of the tail probability. In this approach, the worst possible value for the nuisance parameter is found in order to calculate the value, where is the observed data of . The tail set based on the test statistic for this approach is
It is easy to show that follows a trinomial distribution with parameters . Then, the value is expressed as where is the search range for the nuisance parameter and is the probability density function for a trinomial distribution.
The approach could be conservative when the actual type I error is much less than the test size [5, 9]. To overcome this disadvantage of exact unconditional approaches, Lloyd [21] proposed a new exact unconditional approach based on estimation and maximization (referred to as the approach). The first step in this approach is to compute the value for each table based on the estimation approach [16], also known as parametric bootstrap. We refer to this approach as the approach. The nuisance parameter in the null likelihood is replaced by the maximum likelihood estimate and the value is calculated as It should be noted that the approach does not guarantee type I error rate. Once the values are calculated for each table, they will be used as a test statistic in the next step for the value calculation. The value is then given by where is the tail set. The refinement from the step in the approach could possibly increase the actual type I error rate of the testing procedure which may lead to power increase for exact tests.
Monotonicity is an important property in exact testing procedures to reduce the computation time and guarantee that the maximum of the tail probability is attained at the boundary for noninferiority hypotheses. Berger and Sidik [22] showed that monotonicity is satisfied for paired data for testing onesided hypothesis based on the NcNemar test. Most importantly, the dimension of nuisance parameters is reduced from two to one [17]. We provide the following theorem to show the monotonicity of the test statistic .
Theorem 1. Monotonicity property is satisfied for under the null hypothesis: and .
Proof. Let and . For a given , Under the null hypothesis, . In order to show , we only need to prove that . From (6), we know that where and are given in (6). It is obvious that is a decreasing function of and is a positive constant number when is fixed and is an increasing function of , which leads to . It follows that .
For a given , similar proof will lead to a result of .
The probability of the tail set for either the approach or the approach has two nuisance parameters, and . Applying the theorem for the monotonicity property, type I error of the test occurs on the boundary of the twodimensional nuisance parameter space, . Therefore, there is only one nuisance parameter, , in the definition of the two exact values.
For testing the specificity, the asymptotic approach, the approach, the approach, and the approach can be similarly applied to test the hypotheses against . The test statistic [3, 19, 20] would bewhere is the estimated standard error of , , , and . Under the null hypothesis, one can show that the monotonicity of is in a similar way to .
When there are two diagnostic tests available, we may want to simultaneously confirm the noninferiority of sensitivity and specificity for the two tests. The population from the diseased group and the nondiseased group can be reasonably assumed to be independent of each other. Then, the joint probability is a product of two probabilities: where is the rejection region. Let and be the significance levels for testing sensitivity and specificity separately. We can reject the compound null hypothesis or at the significance level of when the sensitivity null hypothesis is rejected at the level of and the specificity null is rejected at the level of , where . For simplicity, we assume .
3. Numerical Study
We already know that both the asymptotic approach and the approach do not guarantee type I error rate; however, it is still interesting to compare type I error control for the following four approaches: the asymptotic approach, the approach, the approach, and the approach. We select three commonly used values of and , 0.05, 0.1, and 0.2. For each configuration of and , actual type I error rates are presented in Table 2 for sample size and in Table 3 for sample size at the significance level of . It can be seen from both tables that the asymptotic approach generally has inflated type I error rates. Both the approach and the approach are exact tests and respect the test size as expected. Although the approach does not guarantee type I error rate, the performance of the approach is much better than the asymptotic approach regarding the type I error control. Even for large sample size, the approach is still conservative. The approach has an actual type I error rate which is very close to the nominal level when .


The asymptotic approach will not be included in the power comparison due to inflated type I error rates. We include the approach in the power comparison with the approach and the approach due to the good performance of type I error control in the approach. The power is a function of four parameters: , , , and where and approaches and and are the rejection region for the diseased group and the nondiseased group at a significance level of based on the approach. Given the two parameters and in the nondiseased group, the power is a function of for a given . We compared multiple configurations of the parameters. Typical comparison results for balanced data are presented in Figure 1. The power difference between the approach and the approach is often negligible and both are generally more powerful than the approach. We also compared the power for unbalanced data with the ratio of sample size 1/2, 1/3, 2, and 3. Similar results are observed as compared to the balanced data; see Figure 2. We also observe similar results in comparing the power as a function of for the given , , and .
4. An Example
Kao et al. [1] compared diagnostic tests to detect recurrent or residual NPC in the presence of a gold standard test. Simultaneous comparison of sensitivity and specificity is conducted between the CT test () and the TcMIBI SPECT test , with and . The diagnostic results using these two tests are presented in Table 4. The sensitivity and specificity are 73% and 88% for the CT test and 73% and 96% for the TcMIBI SPECT test. The clinical meaningful difference in sensitivity and specificity is assumed to be and , respectively. Four testing procedures are used to calculate the value: the asymptotic approach; the approach; the approach; and the approach. The values based on the asymptotic, , , and approaches are 0.0677, 0.0317, 0.0764, and 0.0418, respectively. Both the approach and the approach reject the null hypothesis at a 5% significance level, while the asymptotic approach and the approach do not. It should be noted that the two tests have the same sensitivities which may contribute to the significant result even with a small difference between the two tests.

5. Discussion
In this paper, the asymptotic approach, the approach, the approach, and the approach are considered for testing sensitivity and specificity simultaneously in the presence of a gold standard. Although the approach does not guarantee type I error rate, it has good performance regarding type I error rate control and the difference between the approach and the approach is negligible. Since the computational time is not an issue for this problem and the approach is an exact method, the approach is recommended for use in practice due to the power gain as compared to the approach.
Tang [9] has studied the approach and the approach for comparing sensitivity and specificity when combining two diagnostic tests. The approach has been shown to be a reliable testing procedure. We would consider comparing the approach with the approach in this context as a future work. The intersectionunion method may be considered for testing sensitivity and specificity [8].
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
The authors would like to thank the Associate Editor and the three reviewers for their valuable comments and suggestions. The authors also thank Professor Michelle Chino for her valuable comments. Shan’s research is partially supported by the NIH Grant 5U54GM104944.
References
 C.H. Kao, Y.C. Shiau, Y.Y. Shen, and R.F. Yen, “Detection of recurrent or persistent nasopharyngeal carcinomas after radiotherapy with technetium99m methoxyisobutylisonitrile single photon emission computed tomography and computed tomography: comparison with 18fluoro2deoxyglucose positron emission tomography,” Cancer, vol. 94, no. 7, pp. 1981–1986, 2002. View at: Publisher Site  Google Scholar
 Y. Lu and J. A. Bean, “On the sample size for onesided equivalence of sensitivities based upon McNemar's test,” Statistics in Medicine, vol. 14, no. 16, pp. 1831–1839, 1995. View at: Publisher Site  Google Scholar
 J.M. Nam, “Establishing equivalence of two treatments and sample size requirements in matchedpairs design,” Biometrics, vol. 53, no. 4, pp. 1422–1430, 1997. View at: Publisher Site  Google Scholar
 C. J. Lloyd and M. V. Moldovan, “A more powerful exact test of noninferiority from binary matchedpairs data,” Statistics in Medicine, vol. 27, no. 18, pp. 3540–3549, 2008. View at: Publisher Site  Google Scholar
 G. Shan, C. Ma, A. D. Hutson, and G. E. Wilding, “An efficient and exact approach for detecting trends with binary endpoints,” Statistics in Medicine, vol. 31, no. 2, pp. 155–164, 2012. View at: Publisher Site  Google Scholar
 G. Shan and W. Wang, “Exact onesided confidence limits for Cohen's kappa as a measurement of agreement,” Statistical Methods in Medical Research, 2014. View at: Publisher Site  Google Scholar
 N.S. Tang, M.L. Tang, and S.F. Wang, “Sample size determination for matchedpair equivalence trials using rate ratio,” Biostatistics, vol. 8, no. 3, pp. 625–631, 2007. View at: Publisher Site  Google Scholar
 J. J. Chen, H.M. Hsueh, and J.P. Liu, “Simultaneous noninferiority test of sensitivity and specificity for two diagnostic procedures in the presence of a gold standard,” Biometrical Journal, vol. 45, no. 1, pp. 47–60, 2003. View at: Publisher Site  Google Scholar
 M.L. Tang, “On simultaneous assessment of sensitivity and specificity when combining two diagnostic tests,” Statistics in Medicine, vol. 23, no. 23, pp. 3593–3605, 2004. View at: Google Scholar
 I. S. F. Chan, N.S. Tang, M.L. Tang, and P.S. Chan, “Statistical analysis of noninferiority trials with a rate ratio in smallsample matchedpair designs,” Biometrics, vol. 59, no. 4, pp. 1170–1177, 2003. View at: Publisher Site  Google Scholar
 G. Shan, “A better confidence interval for the sensitivity at a fixed level of specificity for diagnostic tests with continuous endpoints,” Statistical Methods in Medical Research, 2014. View at: Publisher Site  Google Scholar
 W. Wang and G. Shan, “Exact confidence intervals for the relative risk and the odds ratio,” Biometrics, 2015. View at: Publisher Site  Google Scholar
 G. Shan and W. Wang, “ExactCIdiff: an R package for computing exact confidence intervals for the difference of two proportions,” The R Journal, vol. 5, no. 2, pp. 62–71, 2013. View at: Google Scholar
 G. Shan, “Exact unconditional testing procedures for comparing two independent Poisson rates,” Journal of Statistical Computation and Simulation, vol. 85, no. 5, pp. 947–955, 2015. View at: Publisher Site  Google Scholar
 D. Basu, “On the elimination of nuisance parameters,” Journal of the American Statistical Association, vol. 72, no. 358, pp. 355–366, 1977. View at: Publisher Site  Google Scholar
 B. E. Storer and C. Kim, “Exact properties of some exact test statistics for comparing two binomial proportions,” The Journal of the American Statistical Association, vol. 85, no. 409, pp. 146–155, 1990. View at: Publisher Site  Google Scholar
 C. J. Lloyd, “A new exact and more powerful unconditional test of no treatment effect from binary matched pairs,” Biometrics, vol. 64, no. 3, pp. 716–723, 2008. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 G. Shan, C. Ma, A. D. Hutson, and G. E. Wilding, “Some tests for detecting trends based on the modified BaumgartnerWeißSchindler statistics,” Computational Statistics & Data Analysis, vol. 57, no. 1, pp. 246–261, 2013. View at: Publisher Site  Google Scholar
 T. Tango, “Equivalence test and confidence interval for the difference in proportions for the pairedsample design,” Statistics in Medicine, vol. 17, no. 8, pp. 891–908, 1998. View at: Publisher Site  Google Scholar
 J.P. Liu, H.M. Hsueh, E. Hsieh, and J. J. Chen, “Tests for equivalence or noninferiority for paired binary data,” Statistics in Medicine, vol. 21, no. 2, pp. 231–245, 2002. View at: Publisher Site  Google Scholar
 C. J. Lloyd, “Exact pvalues for discrete models obtained by estimation and maximization,” Australian and New Zealand Journal of Statistics, vol. 50, no. 4, pp. 329–345, 2008. View at: Publisher Site  Google Scholar
 R. L. Berger and K. Sidik, “Exact unconditional tests for a 2 × 2 matchedpairs design,” Statistical Methods in Medical Research, vol. 12, no. 2, pp. 91–108, 2003. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2015 Guogen Shan et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.