A new class of robust two-sample Wald-type tests
Abhik Ghosh, Nirian Martin, Ayanendranath Basu, Leandro Pardo

TL;DR
This paper introduces robust Wald-type tests for two-sample parametric hypotheses, utilizing minimum density power divergence estimators to enhance robustness and applicability in fields like medicine and biology.
Contribution
It develops novel Wald-type tests based on divergence estimators, providing asymptotic robustness for both simple and composite two-sample hypotheses.
Findings
Tests are asymptotically robust and reliable.
Numerical examples demonstrate improved performance over traditional methods.
Applicable to clinical trial data and real-world biological datasets.
Abstract
Parametric hypothesis testing associated with two independent samples arises frequently in several applications in biology, medical sciences, epidemiology, reliability and many more. In this paper, we propose robust Wald-type tests for testing such two sample problems using the minimum density power divergence estimators of the underlying parameters. In particular, we consider the simple two-sample hypothesis concerning the full parametric homogeneity of the samples as well as the general two-sample (composite) hypotheses involving nuisance parameters also. The asymptotic and theoretical robustness properties of the proposed Wald-type tests have been developed for both the simple and general composite hypotheses. Some particular cases of testing against one-sided alternatives are discussed with specific attention to testing the effectiveness of a treatment in clinical trials.…
| 0 | 0.1 | 0.3 | 0.5 | 0.7 | 0.9 | 1 | |
|---|---|---|---|---|---|---|---|
| 0 | 0.050 | 0.050 | 0.050 | 0.050 | 0.050 | 0.050 | 0.050 |
| 1 | 0.170 | 0.169 | 0.160 | 0.150 | 0.140 | 0.131 | 0.127 |
| 2 | 0.516 | 0.511 | 0.484 | 0.449 | 0.413 | 0.380 | 0.364 |
| 3 | 0.851 | 0.847 | 0.821 | 0.784 | 0.742 | 0.698 | 0.677 |
| 5 | 0.999 | 0.999 | 0.998 | 0.996 | 0.992 | 0.985 | 0.981 |
| 0 | 0.1 | 0.3 | 0.5 | 0.7 | 0.9 | 1 | |
|---|---|---|---|---|---|---|---|
| 0 | 0.050 | 0.050 | 0.050 | 0.050 | 0.050 | 0.050 | 0.050 |
| 1 | 0.260 | 0.258 | 0.247 | 0.233 | 0.219 | 0.207 | 0.201 |
| 2 | 0.639 | 0.634 | 0.608 | 0.574 | 0.538 | 0.503 | 0.487 |
| 3 | 0.912 | 0.909 | 0.891 | 0.865 | 0.833 | 0.798 | 0.780 |
| 5 | 1.000 | 1.000 | 0.999 | 0.998 | 0.997 | 0.994 | 0.991 |
| Treatment | 91 | 49 | 19 | 12 | 12 | 3 | 13 | 10 | 6 | 3 | 3 | 7 | 6 | 5 | 4 | 4 | 3 | 2 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Control | 109 | 58 | 20 | 13 | 10 | 10 | 6 | 4 | 5 | 7 | 5 | 1 | 2 | 4 | 4 | 5 | 2 | 2 | 1 |
| Group | 0 | 0.1 | 0.3 | 0.5 | 0.7 | 0.9 | 1 | |
|---|---|---|---|---|---|---|---|---|
| With | Treatment | 15.00 | 7.25 | 6.94 | 6.35 | 5.86 | 6.05 | 5.70 |
| Outlier | Control | 18.47 | 8.25 | 7.75 | 7.56 | 7.53 | 7.41 | 7.81 |
| Without | Treatment | 8.82 | 7.47 | 6.44 | 6.20 | 6.14 | 5.58 | 6.58 |
| Outlier | Control | 9.65 | 7.97 | 7.63 | 7.61 | 7.56 | 7.68 | 7.75 |
| Treatment | 120 | 124 | 215 | 90 | 67 | 126 | 95 | 190 | 180 | 135 | 399 | 65 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Control | 12 | 20 | 112 | 32 | 60 | 40 | 18 |
| Process 1 | .044 | .134 | .142 | .158 | .216 | .625 | .649 | .658 | 1.062 | 1.140 | 1.159 | 1.238 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Process 2 | .060 | .174 | .237 | .272 | .335 | .391 | .670 | .902 | 1.543 | 1.615 | 2.013 | 2.309 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A new class of robust two-sample Wald-type tests
Abhik Ghosh1∗, Nirian Martin2, Ayanendranath Basu1 and Leandro Pardo2
1 Indian Statistical Institute, Kolkata, India
2 Complutense University, Madrid, Spain
*∗*Corresponding author; Email: [email protected]
Abstract
Parametric hypothesis testing associated with two independent samples arises frequently in several applications in biology, medical sciences, epidemiology, reliability and many more. In this paper, we propose robust Wald-type tests for testing such two sample problems using the minimum density power divergence estimators of the underlying parameters. In particular, we consider the simple two-sample hypothesis concerning the full parametric homogeneity of the samples as well as the general two-sample (composite) hypotheses involving nuisance parameters also. The asymptotic and theoretical robustness properties of the proposed Wald-type tests have been developed for both the simple and general composite hypotheses. Some particular cases of testing against one-sided alternatives are discussed with specific attention to testing the effectiveness of a treatment in clinical trials. Performances of the proposed tests have also been illustrated numerically through appropriate real data examples.
Keywords: Robust Hypothesis Testing; Two-Sample problems; Minimum Density Power Divergence Estimator; Influence function; Clinical Trial
1 Introduction
Testing of parametric hypothesis is an important paradigm of statistical inference. In many real life applications like medical sciences, biology, epidemiology, sociology, reliability etc., we need to compare data from two independent samples through appropriate two-sample tests of hypotheses. Examples include but not limited to comparing mean of any biomarkers or success of any treatment between control and treatment groups, comparing lifetime of two populations in reliability etc.
Mathematically, let be the statistical space associated with the random variable where is the -field of Borel subsets and is a family of probability distributions defined on the measurable space where is an open subset of , with Probability measures are assumed to be described by densities where is a -finite measure on We shall denote by a set of parametric model densities. On the basis of two independent random samples and of sizes and , respectively, from two densities and belonging to , we can solve the problem of complete homogeneity by testing
[TABLE]
The classical test statistics for solving the problem of testing given in (1) are the likelihood ratio test, Wald test and Rao test and the unknown parameters are estimated on the basis of the maximum likelihood estimator (MLE). Some new tests statistics have been presented in the literature based on divergence measures; see for instance Basu et al. (2011) and Pardo (2006). It is well-known that the MLE is a BAN estimator, i.e., is efficient asymptotically but at the same time it has serious problems of robustness. In order to avoid that problem, it has been introduced in the statistical literature some procedures of testing based on estimators with good behavior in relation to the robustness. In Basu et al. (2013) the problem considered in (1) was studied on the basis of the density power divergence. They introduced a family of test statistics based on the density power divergence between and when the parameters are estimated considering the minimum density power divergence estimator (MDPDE) of Basu et al. (1998). For more details about MDPDE see Section 1.1.
After solving the problem considered in (1), we will be able to test in normal populations, i.e., and the following problem of complete homogeneity
[TABLE]
But there are other interesting problems of homogeneity, for instance, to test
[TABLE]
when the variance is the same but unknown, i.e., general composite hypothesis with two samples. This problem with normal population has been considered in Basu et al. (2015) on the basis of introducing a family of test statistics based on the density power divergence measure and estimating the unknown parameters using the MDPDE. The results obtained were excellent in relation to the robustness and efficiency since some tests were presented in which the lost of efficiency in relation to the size and the power was not important but the increase of robustness was very significant. One can think that the problems considered previously can be solved in that way in a very satisfactory way and from a theoretical point of view it is true but from a practical point of view sometimes it is not very easy to get the density power divergence measure between and In this paper we are going to present a family of test statistics which are easy to calculate based on the MDPDE for any general two-sample problems with any parametric distribution. These test statistics are called Wald-type test statistics and their usefulness have been illustrated in the literature of one sample testing problems by Basu et al. (2016) and Ghosh et al. (2016). In the present paper, not only we shall present the asymptotic distribution of the Wald-type test statistics for two-sample problems but also a theoretical study of the robustness properties of them along with suitable examples and numerical illustrations.
The rest of the paper is organized as follows: In Section 1.1 we present some results in relation to the MDPDE that will be necessary for the rest of the paper. Section 2 is devoted to present the family of Wald-type tests for solving the problem of complete homogeneity, i.e., the problem considered in (1). After defining the Wald-type tests based on MDPDE, we study its asymptotic distribution as well as the theoretical robustness properties with examples. In Section 3, we present a family of Wald-type tests for general composite hypotheses in two sample context. We shall derive the asymptotic distribution of the Wald-type tests introduced as well as its robustness properties. Illustrations will be provided for the special case of testing partial homogeneity in presence of nuisance parameters like, for example, testing equality of two normal means with unknown (nuisance) variances. In Section 4, we briefly describe the extensions for testing the two-sample hypotheses against one-sided alternatives for some particular cases. Section 5 will present several real life applications of our proposal with interesting data examples from applied sciences like medical, biology, reliability etc. Appropriate simulation studies with some comments on the choice of tuning parameters will be presented in Section 6. The paper ends with a short concluding remark in Section 7. For brevity in presentation, the proofs of all the results have been moved to Appendix A.
1.1 Minimum density power divergence estimator: Asymptotic properties and robustness
Given any two densities and from , the density power divergence with a nonnegative tuning parameter , is defined as (Basu et al., 1998)
[TABLE]
The divergence corresponding to may be derived from the general case by taking the continuous limit as , and the resulting turns out to be the Kullback-Leibler divergence.
Let represent the distribution function corresponding to the density that generates the data. We model it by the model density and we are interested in the estimation of based on an observed random sample from . The corresponding minimum density power divergence functional at with tuning parameter , denoted by , is defined as . Therefore the MDPDE of with tuning parameter is given by where is the empirical distribution function associated with the observed random sample from the population with density . As the last term of equation (2) does not depend on , is given by
[TABLE]
Notice that for coincides with the maximum likelihood estimator (MLE). Denoting
[TABLE]
expression (3) can be written as It shows that the MDPDE is an M-estimator.
The functional is Fisher consistent; it takes the value 0, the true value of the parameter, when the true density is a member of the model, i.e. . Let us assume , and define the quantities
[TABLE]
where and . Then, following Basu et al. (1998, 2011), it can be shown that, under Assumptions (D1)–(D5) of Basu et al. (2011, p. 304) to be referred as “Basu et al. conditions” in the rest of the paper,
[TABLE]
where It is a simple exercise to see that for being the Fisher information matrix associated to the model under consideration. Therefore we obtain the classical well known result,
[TABLE]
Next, the influence function can be used to study the robustness of the MDPDE like any other estimator or test statistic. If the influence function is bounded, the corresponding estimator or the statistic is said to have infinitesimal robustness. Therefore, the influence function particularly can be used to quantify infinitesimal robustness of an estimator or a statistic by measuring the approximate impact on an additional observation to the underlying data. More simply, the influence function is the first derivative of an estimator or statistic viewed as a functional and it describes the normalized influence on the estimate or statistic of an infinitesimal observation . We pay special attention to the robustness of the family of Wald-type test statistics introduced in this paper. To do that it is necessary to study the robustness of the MDPDEs. In Basu et al. (1998) it was established that the influence function of the minimum density power divergence functional is
[TABLE]
where is the -contaminated distribution of , the distribution function corresponding to , with respect to the point mass distribution at . If we assume that \boldsymbol{J}_{\beta}($$\boldsymbol{{\boldsymbol{\theta}}}$${}_{0}) and are finite, the influence function is a bounded function of whenever is bounded. And this is the case for most common parametric models at implying the robustness of MDPDEs with .
2 A Simple Two-Sample Problem
Let and be two samples of sizes and respectively from two populations having distribution belonging to with parameters and . The most common problem under this setup is to test the complete homogeneity of the two populations. But we have two different situations depending if some of the parameters are known. To clarify this point we can be interested in testing the homogeneity of two normal populations with means and variances unknown or with known variances. The problem of testing the homogeneity of two normal populations with unknown and common variance will be studied in the next Section. In general notation, we shall assume that,
[TABLE]
with and known -vectors. Based on we can get the MLE, of and based on the MLE, of . Assuming we can obtain an estimator, of the common value by using the two random samples and together. It is well-known that, under ,
[TABLE]
with
[TABLE]
Based on (8) we can consider the Wald test for testing
[TABLE]
[TABLE]
We can observe that in the case that we have with and the Wald test is given by
[TABLE]
where denotes the MLE of based on the pooled sample.
Based on (8) in the case of two normal populations, with known variances and , we can test In this case
[TABLE]
Although it has several nice optimum properties, it is highly non-robust in presence of outliers even in any one sample. Here, we will generalize this Wald test to make it robust by replacing the MLE by the corresponding MDPDEs.
In the following we shall present the results for , i.e., to test for the hypothesis in (1). The case can be studied in a similar way.
Let us assume and denote the MDPDEs of and respectively, obtained by minimizing the DPD with tuning parameter for each of the two samples separately. Further, under the null hypothesis in (1), we can consider the two samples pooled together as one i.i.d. sample of size from a population having density function ; let denote the corresponding MDPDE of with tuning parameter based on the pooled sample. Note that, all the three estimators , and should coincide with asymptotically under with probability tending to one. Assuming identifiability of the model family, the difference between the two estimators and gives us an idea of the distinction between the two samples and hence indicate any departure from the null hypothesis. So, we define a generalized Wald-type test statistics by
[TABLE]
Note that, at , all the MDPDEs used coincide with corresponding MLEs and hence the generalized Wald-type test statistic coincides with the classical Wald test statistic in (9).
2.1 Asymptotic Properties
In order to perform any statistical test, we first need to derive the asymptotic distribution of the test statistics under . Using the asymptotic properties of the MDPDEs presented in Section 1.1, we can easily obtain the asymptotic null distribution of the proposed test statistics which is presented in the following theorem. Throughout the rest of the paper, we will assume Conditions (A)–(D) of Lehmann (1983, p. 429) about the assumed model family which we will refer as “Lehmann conditions”. Also, we consider the following assumption.
Assumption (A):
as 2. 2.
The asymptotic variance-covariance matrix of the MDPDE with tuning parameter is continuous in .
Theorem 2.1
Suppose the model density satisfies the Lehmann and Basu et al. conditions, and Assumption (A) holds. Then the asymptotic distribution of under the null hypothesis in (2) is , the chi-square distribution with degrees of freedom.
The asymptotic null distribution of the test in Basu et al. (2013) is a linear combination of chi-square distribution and hence it is somewhat difficult to obtain the critical values of their test in practice. On the contrary, our proposed tests have a simple chi-square limit under the null hypothesis and hence are much easier to perform. Our proposal provides, in this sense, an advantageous procedure for testing.
However, when the null hypothesis is not correct, i.e., , then the pooled estimator no longer converges to or ; rather it will then converges in probability to a new value , say, which is a function of , and . For example, if the estimators are additive in sample data, e.g. sample mean, then we will have . Define Then we have the following result.
Theorem 2.2
Suppose the model density satisfies the Lehmann and Basu et al. conditions, and Assumption (A) holds. Then, as , we have for any
[TABLE]
where
This theorem leads to an approximation to the power function of the proposed Wald-type tests for testing (2) at the significance level , where denotes the -th quantile of the distribution.
Corollary 2.3
Under the assumption of Theorem 2.2, we have
[TABLE]
for a sequence of distributions tending uniformly to the standard normal distribution .
The corollary also helps us to determine the sample size requirement for our proposed test to achieve any pre-specified power level. Further, we have for any as . Hence the proposed test with rejection rule is consistent.
Corollary 2.4
Under the assumption of Theorem 2.2, the proposed Wald-type test is consistent in the Fraser’s sense.
Next, we look at the performance of the proposed test under the contiguous alternatives. Now, in case of two sample problem, we can have different types of contiguous alternatives. For example, we can assume to be fixed and converging to so that for some -vector of non-zero reals such that . Conversely, we can have to be fixed and for some with . Here, we consider a general form of the contiguous alternative given by
[TABLE]
for some fixed . Note that, putting in (12) we get back from , whereas yields . The following theorem gives the asymptotic distribution of the proposed test statistics under this general contiguous alternatives .
Theorem 2.5
Suppose the model density satisfies the Lehmann and Basu et al. conditions and the assumption (A) holds. Then the asymptotic distribution of under the contiguous alternative given by (12) is , the non-central chi-square distribution with degrees of freedom and non-centrality parameter with .
We can easily obtain the asymptotic power under the contiguous alternatives from the above theorem. In particular, denoting the distribution function of a random variable by , we have
[TABLE]
Example 2.1** (Testing equality of two Normal means with known equal variances)**
We first present the simplest possible case of testing two normal means with known equal variance . Here the model family is with being known. In this case, the asymptotic variance of the MDPDE with tuning parameter is given by . Hence, our generalized Wald-type test statistics has much simpler form in this case given by
[TABLE]
and it has asymptotic distribution under . Note that, at , this test statistic coincides with the classical Wald-test statistic , where and are the sample means of and respectively.
Clearly, these tests are consistent for any by Corollary 2.4. Further, the asymptotic power of the proposed test under contiguous alternatives can be easily obtained as
[TABLE]
with Table 1 presents the values of over for different values of . Note that, whenever , the alternative coincides with null and hence we get back the level of the test and as increases the power also increases as expected. Clearly, this asymptotic power decreases as increases but this loss is not significant at small positive values of . This fact is quite intuitive as the classical Wald-test at is asymptotically most powerful under pure model. But, as we will see in the next two subsections, we can gain much higher robustness with respect to the outliers at the cost of this small loss in asymptotic power.
2.2 Influence Function of the Wald-type Test Statistics
The robustness of any two sample test is relatively complicated compared to the one sample case because, here, one may have contamination in either of the two sample or even in both the samples. Let us first derive the Hampel’s influence function (IF) of the two sample Wald-type test statistics to study the robustness of the proposed test. Consider the set-up of previous subsection and denote and . Then, ignoring the multiplier , we can define the statistical functional corresponding to the proposed Wald-type test statistics as
[TABLE]
where is the MDPDE functional defined in Section 1.1.
Now consider the contaminated distributions and where is the contaminated proportion and , are the point of contamination in the two samples respectively. Then the Hampel’s first-order influence function of our test functional, when the contamination is only in the first sample, is given by
[TABLE]
Similarly, if there is contamination only in the second sample, then the corresponding IF is given by
[TABLE]
Finally, if we assume that the contamination is in both the samples, Hampel’s IF turns out to be
[TABLE]
where Now, in particular, if we assume the null hypothesis to be true with , then . Therefore, all the above three types of influence function will be zero at the null hypothesis in (2), which implies that the Wald-type tests are robust for all . This is clearly not informative about the robustness of the tests as we all know the non-robust nature of (which is the classical Wald test statistic ).
Therefore, we need to consider the second order influence function for this case of two sample problem. When there is contamination only in the first sample, the corresponding second order IF is given by
[TABLE]
For the particular case of null distribution , it simplifies to
[TABLE]
Similarly, if the contamination is in the second sample only, then the second order IF simplifies to
[TABLE]
Note that these two IFs are bounded with respect to the contamination points or if and only if the IF of the corresponding MDPDE used is bounded; but it is the case for all under most common parametric models. Hence for any , the proposed test gives robust inference with respect to contamination in any one of the samples. However, at the MDPDE becomes the non-robust MLE having unbounded influence function and so using that estimator makes the classical Wald test statistic to be highly non-robust also.
Finally for the case of contamination in both samples, the corresponding second order IF is given by
[TABLE]
In particular, at the null hypothesis , we have
[TABLE]
Note that if then and hence this second order influence function is zero implying the robustness of the proposed test with any values of the parameter; this is expected intuitively as the same contamination in both the samples nullifies each other for testing the equivalence of the two samples as in (2). However, if , then the influence function of our test is bounded if and only if the difference between the influence functions of the MDPDEs used is bounded. This happens whenever the IF of the MDPDE is bounded, i.e., at .
Example 2.2** (Continuation of Example 2.1)**
Let us again consider the previous example on testing two normal means as in Example 2.1. We have seen that the proposed Wald-type tests are consistent for all but their power against contiguous alternatives decreases slightly as increases. Now let us verify the claimed robustness of these tests.
Clearly, the first order IFs of the test statistics will always be zero. For contamination only in the first sample, the second order IF of the test statistic at the null hypothesis in (2) has a simpler form given by
[TABLE]
Figure 1a presents the plot of this second order IF for different values of . It is evident from the figure that the second order IF is unbounded at implying the non-robustness of the classical Wald test statistic; but it is bounded for all implying the robustness of our proposals. Further, Figure 1b presents the plot of the maximum possible influence of infinitesimal contamination on the test statistics, known as the “gross error sensitivity”, computed as
[TABLE]
It clearly shows that the robustness of our proposed test statistics increases as increases (since decreases). Thus, just like the trade-off between efficiency and robustness of MDPDE, the parameter again controls the trade-off between asymptotic contiguous power and robustness for the proposed MDPDE based test statistics.
Similar inferences can also be drawn for contamination only in the second sample.
Next consider the case when there is contamination in both the samples. In this case, the second order IF is given by
[TABLE]
The plot of have been presented in Figure 2, which clearly show the robust nature of our proposals at and the non-robust nature of the classical Wald test (at ) unless . By looking at the maximum possible influence in this case, we can again see that, even under contamination in both the samples, the robustness of our proposed Wald-type test statistics increases as increases.
2.3 Power and Level Influence Functions
The robustness of a test statistic, although necessary, may not be sufficient in all the cases since the performance of any test is finally measured through its level and power. In this section, we consider the effect of contamination on the asymptotic power and level of the proposed Wald-type tests. Due to consistency, the asymptotic power against any fixed alternative will be one. So, we again consider the contiguous alternatives given by (12) along with contamination over these alternatives. Following Hampel et al. (1986), the effect of contaminations should tend to zero, as the alternatives tend to the null (i.e., and as ) at the same rate to avoid confusion between the neighborhoods of the two hypotheses (also see Huber-Carol (1970), Heritier and Ronchetti (1994), Toma and Broniatowski (2011), Ghosh et al. (2015, 2016) for some one sample applications). Further, in case of the present two sample problem, the contamination can be in any one sample or in both the samples. When the contamination is only in the first sample, we consider the corresponding contamination distribution for the first population as
[TABLE]
for the level and power calculations respectively along with the usual uncontaminated distributions for the second population. Then the corresponding level influence function (LIF) and the power influence function (PIF) at the null are given by
[TABLE]
[TABLE]
Similarly, when contamination is assumed to be only in the second sample, then we take the uncontaminated distributions for the first population and the contaminated distribution for the second population as
[TABLE]
for the level and power calculations respectively. Corresponding LIF and PIF at the null are given by
[TABLE]
[TABLE]
Finally, while considering contamination in both the samples with above contaminated distributions, we define the corresponding LIF and PIF as
[TABLE]
[TABLE]
First let us derive the asymptotic distribution of the proposed Wald-type test statistics under the contaminated distributions. Let us define for with and . Then we have the following theorem.
Theorem 2.6
Suppose the model density satisfies the Lehmann and Basu et al. conditions and Assumption (A) holds. Then the asymptotic distribution of under any contaminated contiguous alternative distributions is where is the parameter of non-centrality given by , where
[TABLE]
From the above theorem, we get the asymptotic power of the proposed Wald-type tests under the contaminated contiguous alternatives as
[TABLE]
Using infinite series expansion of a non-central chi-square distribution function (Kotz et al., 1967), we get
[TABLE]
In particular, substituting in the above theorem, we get back Theorem 2.5 on the asymptotic contiguous power of our tests and hence expression (13) can be written as
[TABLE]
Further, substituting , we get the asymptotic level of our Wald-type tests under the contamination as .
Now we can define the power influence functions of our proposed tests which is nothing but under standard regularity conditions. Using the infinite series expression of a non-central chi-square distribution function, we can derive an explicit form of the PIFs as presented in the following theorem.
Theorem 2.7
Suppose the model density satisfies the Lehmann and Basu et al. conditions, and Assumption (A) holds. Then the power influence functions of our proposed Wald-type tests are given by
[TABLE]
where and are as defined in Theorem 2.5 and
[TABLE]
Note that the PIFs are also a function of the influence function of the MDPDE used and hence they are bounded whenever . Thus the proposed tests will be robust for all . However, at , these PIFs will be unbounded (unless there is contamination at the same points in both the samples) which proves the non-robust nature of the classical Wald test.
Note that, although there is no direct relationship between the IF of test statistics with the corresponding PIF in general, in this present case they are seen to be related indirectly via the IF of the MDPDE. So, using a robust MDPDE with in the proposed Wald-type tests will make both the test statistics and its asymptotic power robust under infinitesimal contamination.
Finally, we can find the level influence function of the proposed Wald-type tests either starting from and following the same steps as in the case of PIFs or just by substituting in the expression of the PIFs given in Theorem 2.7. In either case, since , it turns out that
[TABLE]
provided the corresponding IF of is bounded, which is true at . Hence the asymptotic level of our Wald-type tests is always stable with respect infinitesimal contamination. This fact was also expected as we are using the asymptotic critical values for testing.
Example 2.3** (Continuation of Examples 2.1 and 2.2)**
Let us again consider the problem of testing for normal means as in Examples 2.1 and 2.2. As seen above, the level influence function is always zero implying the level robustness of our proposed Wald-type test for all . Next, to study the power robustness, we compute the functions and numerically for different values of with and plot them over the contamination points and in Figure 3. has the same nature as . The figures clearly show the robustness of the proposed Wald-type tests with , where the robustness increases (i.e., maximum possible PIF decreases) as increases. Further, all the PIFs at are unbounded implying the non-robust nature of the classical Wald test.
3 General Composite Hypotheses with Two Samples
In the previous section, we have considered the simplest two sample problem which tests for equality of all the model parameters. However, in practice, we need to test many different complicated hypotheses which cannot be solved just by considering the Wald-type test statistic defined in the previous section. For example, in many real life problems, we are only interested in a proper subset of the parameters ignoring the rest as nuisance parameters; example includes popular mean test taking variance parameter unknown and nuisance. Further, in case of testing for multiplicative heteroscedasticity of two samples, we have to test if the ratio of variance parameters equals a pre-specified limit with means being unknown and nuisance. Neither of them belongs to the problem considered in the previous section.
In this section, we will consider a general class of hypotheses involving two independent samples, which would include most of the above real life testing problems. Suppose denote a general function from to . Then, considering the set-up of the previous section, we want to develop a family of robust tests for the general class of hypothesis given by
[TABLE]
In particular, the problem of testing normal mean with unknown variance can be seen as a particular case of the above general set-up with . Further, to test for multiplicative heteroscedasticity, we can take for some known constant and apply the above general set-up. It is interesting to note that, this general class of hypotheses in (19) also contains the simple hypothesis in (2) as its special case with .
Now, to define a robust Wald-type test statistics for this general set-up, we again consider the MDPDEs of and with tuning parameter as given by and based on the individual samples separately. Note that, whenever is true, we should have in large sample and so its observed value provide the indication of any departure from the null hypothesis. Using its asymptotic variance-covariance matrix as a normalizing factor, we define the corresponding Wald-type test statistic as
[TABLE]
where with
[TABLE]
Note that, at , the Wald-type test statistics is again nothing but the classical Wald test statistics for the general hypothesis (19) and hence our proposal is indeed a generalization of the classical Wald test.
Interestingly, although the general hypothesis contains the hypothesis (2) as its special case, the Wald-type test statistics with is not the same as the Wald-type test statistics considered in the previous section. However, whenever is linear in the parameters, these two Wald-type test statistics coincide asymptotically with probability tending to one. In this section, we present the properties of the statistics with general -function satisfying the following assumption.
Assumption (B):
- •
, , exist, have rank and are continuous with respect to its arguments.
3.1 Asymptotic Properties
We again start with the asymptotic null distribution of the proposed Wald-type test statistics in order to obtain the required critical values for the test.
Theorem 3.1
Suppose the model density satisfies the Lehmann and Basu et al. conditions and Assumptions (A) and (B) hold. Then, under the null hypothesis in (19), asymptotically follows a distribution.
Therefore, the level- critical region for the proposed test based on for testing (19) is given by
[TABLE]
Next, in order to consider an approximation to the asymptotic power for this general test based on , we are going to use the following function
[TABLE]
Theorem 3.2
Suppose the model density satisfies the Lehmann and Basu et al. conditions and Assumptions (A)-(B) hold. Then, whenever , we have
[TABLE]
Note that, from the above theorem, we can easily obtain an approximation to the power function of the proposed level- Wald-type tests based on as
[TABLE]
for a sequence of distributions tending uniformly to the standard normal distribution , whenever . In such cases, it can be easily checked that as . This proves the consistency of our proposed tests.
Corollary 3.3
*Under the assumptions of Theorem 3.2, the proposed Wald-type tests based on are consistent. *
Now, let us study the performance of the proposed general two-sample Wald-type tests under the contiguous alternative hypotheses. As discussed in the previous section, there could be different choices for the contiguous alternative hypotheses for any general null hypothesis. Here, following the similar idea as in the alternatives in (12), we consider the general form of the contiguous alternatives given by
[TABLE]
for some fixed . The asymptotic distribution of under these alternatives has been presented in the following theorem.
Theorem 3.4
Suppose the model density satisfies the Lehmann and Basu et al. conditions and Assumptions (A)-(B) hold. Then the asymptotic distribution of under in (22) is , where
[TABLE]
with
The above theorem directly helps us to obtain the asymptotic power of our general Wald-type tests based on under the contiguous alternatives in (22) as
[TABLE]
3.2 Robustness Properties
Let us now study the robustness properties of the proposed general two-sample Wald-type tests based on . We first consider the influence function of the Wald-type test statistics. Define the statistical functional corresponding to ignoring the multiplier as
[TABLE]
where is the corresponding MDPDE functional. Then, we can derive the first and second order influence functions of the Wald-type test statistics following the derivations similar to that of Section 2.2. So, here we will skip those derivations for brevity and present only the final results in the following theorem.
Theorem 3.5
Consider the notations of Section 2.2. Under the null hypothesis in (19) with , and , the first and second order influence functions of our general two-sample Wald-type test statistics are given as follows:
For contamination only in the -th sample () at the point ()
[TABLE] 2. 2.
For contamination in both the samples
[TABLE]
with
Clearly, as in the previous case of simple two sample problem in Section 2.2, here also the first order IF of the test statistics are always zero and hence non-informative about their robustness. However, their second order IFs are clearly bounded whenever the IF of the corresponding MDPDE is bounded which holds for all . Thus, the proposed general two sample Wald-type tests with any yield robust solution under contamination in either of the samples or in both. Further, in case of contamination in both the samples, if the IF of the MDPDE is not bounded (at ), then also the corresponding second order IF can be bounded generating robust inference provided the term is bounded. One example of such situation arises in case of the simpler problem of Section 2 under the choice , because in that case , the identity matrix of oder , and hence becomes identically zero.
Next, we consider the effect of contamination on the asymptotic power and level of the proposed general Wald-type tests based on . For this general case, we consider the contiguous alternatives as defined in (22) but now with the null baseline parameter values as and for the two samples respectively instead of the common and define the level and power influence functions using the corresponding contaminated distributions as in Section 2.3. Following theorem presents the asymptotic distribution of the test statistics under the contiguous and contaminated distributions, where s () are as defined in Section 2.3.
Theorem 3.6
Suppose the model density satisfies the Lehmann and Basu et al. conditions and Assumptions (A)-(B) hold. Then, the asymptotic distribution of the general Wald-type test statistics under any contaminated contiguous alternative distributions is non-central chi-square with degrees of freedom and non-centrality parameter , where
[TABLE]
The above theorem can be used to get the asymptotic power of the proposed general two-sample Wald-type tests under the contiguous contaminated alternatives in terms of an infinite series following Section 2.3 (arguments after Theorem 2.6). This can be also simplified by substituting or to get asymptotic power under contiguous alternatives or the asymptotic level under contiguous contamination respectively. Further, the resulting infinite series expressions can now be used to obtain the power and level influence functions for this general case. Since the derivations are the same as that of Theorem 2.7, for brevity, we will only present the resulting expressions skipping the details in the following Theorem.
Theorem 3.7
Suppose the model density satisfies the Lehmann and Basu et al. conditions, and Assumptions (A)–(B) hold. Then we have the following results for the proposed Wald-type test functional for testing the general two-sample hypothesis in (19).
The power influence functions are given by
[TABLE]
where and are as defined in Theorem 3.4 and is as defined in Theorem 2.7. 2. 2.
Provided the IF of the MDPDE is bounded, the level influence functions are given by
[TABLE]
Note that for the general two-sample hypothesis (19) also, the LIFs and the PIFs of our proposed test are bounded whenever the influence function of the MDPDE used is bounded which holds for all . Thus, our proposal with is robust also for testing any general two-sample problem.
3.3 Special Case: Testing Partial Homogeneity with Nuisance Parameters
Let us consider a simplified and possibly the most common special case of the general hypothesis in (19), where we test for partial homogeneity of the two samples assuming some parameters to be nuisance. Mathematically, let us consider the partition of the parameters and as in the beginning of Section 2, but now we assume both, and , to be unknown and nuisance parameters. Under these notations, we consider the hypothesis of partial homogeneity as given by
[TABLE]
with and being unknown under both hypotheses. Note that, this special case contains the problem of testing normal mean with unknown variances with being the mean and being the variance parameter for each . In practice we can either assume (e.g., equal variances) or (e.g., unequal variances). Here, we will consider the general case assuming ; other case can also be dealt similarly.
Note that the hypothesis (23) is indeed a special case of the general hypothesis in (19) with Hence, the proposed MDPDE based Wald-type test statistics for testing (23) is given by
[TABLE]
where and are the first -components of the MDPDEs and of and respectively and denotes the principle minor of the asymptotic variance-covariance matrix \boldsymbol{\Sigma}_{\beta}(\boldsymbol{\theta})=\begin{pmatrix}\begin{array}[]{cc}\boldsymbol{\Sigma}_{\beta}^{11}(\boldsymbol{\theta})&\boldsymbol{\Sigma}_{\beta}^{12}(\boldsymbol{\theta})\\ \boldsymbol{\Sigma}_{\beta}^{12}(\boldsymbol{\theta})^{T}&\boldsymbol{\Sigma}_{\beta}^{22}(\boldsymbol{\theta})\end{array}\end{pmatrix}. Also note that Assumption (B) always holds for the hypothesis (23). Following Theorem 3.1, the asymptotic distribution of in (24) under the null hypothesis in (23) is and the test is consistent against any fixed alternatives by Corollary 3.3. To study the asymptotic contiguous power in this case, we consider the contiguous alternatives
[TABLE]
for some fixed . Then, by Theorem 3.4, the asymptotic distribution of the Wald-type test statistics in (24) under in (25) is a non-central chi-square distribution with degrees of freedom and non-centrality parameter from which the power can be calculated easily.
Next, for examining robustness properties, we define the corresponding test functional following Section 3.2 as given by
[TABLE]
where denotes first -components of the minimum DPD functional . Then, we can get the IF for this test statistics from Theorem 3.5. In particular, the first order influence function is identically zero for any kind of contamination and hence non-informative. And its second order influence function for contamination in -th sample at the point () is given by
[TABLE]
and the same for contamination in both samples is given by
[TABLE]
with Similarly, following Theorem 3.7, the level influence functions are always zero and the power influence functions under contiguous contamination in each sample separately or in both the samples are respectively given by
[TABLE]
where and are as defined previously in this subsection. The nature of these PIFs are exactly the same as in the previous cases and indicates robustness of our proposals with .
Example 3.1** (Testing equality of two Normal means with unknown and unequal variances)**
We again consider the example of comparing two normal means (say and ), but now with unknown and unequal variances (say and ) for the two populations. Hence the model family is and we want to test for the hypothesis
[TABLE]
with and being unknown under both hypotheses. Let us denote the MDPDEs based on the -th sample () as and its asymptotic variance matrix is given by
[TABLE]
with . Then, noting that the hypothesis (26) is of the form (23), our proposed generalized Wald-type test statistics (24) simplifies to
[TABLE]
whose null asymptotic distribution is from Theorem 3.1. In the particular case of , we have
[TABLE]
where and are the sample means and and are the sample variances of and respectively, and this is nothing but the classical MLE based Wald test statistic.
We can now study the asymptotic and robustness properties of these proposed Wald-type tests following the theoretical results derived in this section. However, due to the asymptotic independence of the MDPDEs of and under normal model, all the properties of the Wald-type test statistics in (27) turn out to be similar in nature to those of the proposed Wald-type test with known as discussed in Examples 2.1, 2.2 and 2.3 with the common variance there replaced by in the present case. This fact can also be observed intuitively by noting that the Wald-type test statistics in (27) have a similar form as the corresponding Wald-type test statistics for known common case (in Example 2.1) with the known value there being replaced by . So, we will skip these details for the present general case for brevity. However, examining them, one can easily verify that, in this case of unknown and unequal variances also, the asymptotic contiguous power of the proposed Wald-type test decreases only slightly as increases (exactly in the same rate as in Table 1) but the robustness increases significantly having bounded (second order) influence functions of the Wald-type test statistics and bounded power and level influence functions for all .
4 The Cases of One-Sided Alternatives
As we have mentioned in the introduction (Section 1), majority of common practical applications of the two-sample problems are in comparing the treatment and control groups in any experimental or clinical trials or any observational studies among two such groups of population. However, in most of such cases, researchers want to test weather there is any improvement in the treatment group over the control groups due to the treatment effects. For example, one might be interested to test if the success rate of cure (modeled by binomial probability model) is reduced, or if the number of attacks of a disease (modeled by Poisson model) decreases in the treat group, or some continuous biomarkers like blood pressure etc. (modeled by normal model) changes in the targeted direction from control to treatment group. All of them lead to the one-sided alternatives in contrast to the omnibus two-sided alternatives considered so far in this paper. Although the case of general one-sided alternatives with vector parameters are much difficult to define and dealt with and hence need more targeted future research, our proposal of robust Wald-type tests in this paper can be easily extended for comparing any scalar parameters with one-sided alternatives. Noting that all the above motivating practical scenarios indeed deal with scalar parameter comparison, in this section we extend our proposal to these particular one sample problems.
In general, we consider the class of one-sided version of (19) with . So, is a real function of the parameters and we develop the robust test for the one-sided hypothesis given by
[TABLE]
Note that the one sided version of the simple two-sided hypothesis in (2) with scalar parameters (), that contains the motivating examples for Poisson and binomial models and normal model with known variances, belong to this general class (28). Also, this general class of hypotheses contains many more useful cases like testing for increase (or decrease) in normal means with unknown variances.
For testing the one sided hypothesis (28), we define the corresponding robust Wald-type test statistics by taking a signed square-root of our two-sided Wald-type test statistics in (20)
[TABLE]
where denotes the sign function and note that is a scalar for . Then, we have the following null asymptotic distribution.
Theorem 4.1
Under the assumptions of Theorem 3.1, the asymptotic null distribution of the one-sided test statistics for testing (28) is standard normal.
Following the above theorem, the level- critical region for testing the one-sided hypothesis in (28) is given by , where denotes the -th quantile of the standard normal distribution.
Further, as in the case of two-side alternatives, we can also derive an power approximation of these proposed Wald-type tests at any fixed alternative satisfying as follows:
[TABLE]
for a sequence of distributions tending uniformly to the standard normal distribution , since under the alternative parameter values
[TABLE]
Now, since under the alternatives in (28), we have as and hence the proposed Wald-type tests are consistent for the one-sided alternatives also.
Next to study the contiguous power of the proposed Wald-type tests, we can consider the class of contiguous alternatives in (22) but now with being such that for all . This can be equivalently (asymptotic) expressed in terms of the sequence of alternatives
[TABLE]
with . The following theorem then gives the asymptotic distribution of our Wald-type test statistics under the contiguous alternatives in (30) and the corresponding asymptotic power.
Theorem 4.2
Under the assumptions of Theorem 3.4, the asymptotic distribution of in (29) under the sequence of contiguous alternatives in (30) is normal with mean and variance 1. Hence, the corresponding asymptotic contiguous power of the proposed Wald-type tests is given by
[TABLE]
Now we can also derive the robustness properties of the proposed Wald-type tests against one-sided alternatives by defining the corresponding statistical function as
[TABLE]
Then, under the assumptions of Theorem 3.5 with contamination in only -th sample at the point (), the first order influence function of the proposed Wald-type test statistics at the null hypothesis in (28) is given by
[TABLE]
and the same for contamination in both the samples is given by
[TABLE]
with being as defined in Theorem 3.5 (but is a scalar now). Note that, unlike the two-sided hypotheses, here the first order influence function of the proposed Wald-type test statistics is non-zero. Further, it is bounded whenever te IF of the corresponding MDPDE is bounded, i.e., only for and unbounded at implying the robustness of our proposal with .
In order to derive the corresponding level and power influence functions, we consider the same set of hypothesis as in Section 3.2 but now with the restriction for all under the alternative sequence, which is ensured by assuming . Then, the following theorem gives the asymptotic distribution of the one-sided test statistics under the contiguous contaminated distributions.
Theorem 4.3
Under the assumptions of Theorem 3.6, the asymptotic distribution of under any contaminated contiguous alternative distributions is normal with mean \widetilde{\boldsymbol{W}_{\varepsilon}^{*}}\big{/}\sqrt{\widetilde{\Sigma_{\beta}}({\boldsymbol{\theta}}_{1},{\boldsymbol{\theta}}_{2})} and variance 1, where is as defined in Theorem 3.6 for different .
Using above theorem and following the arguments similar to those for the two-sided alternatives in Section 3.2, we can get the power influence functions for this case of one-sided alternatives also, which is presented in the next theorem.
Theorem 4.4
Under the assumptions of Theorem 3.7, the power influence functions of our proposed Wald-type test functional for testing the one-sided hypothesis in (28) are given by
[TABLE]
Note that, the nature of these PIFs with respect to the contamination points and are exactly same as those in the case of two-sided alternatives except for a multiplicative constant. In particular, they are bounded whenever the influence function of the MDPDE used is bounded, i.e., at , implying robustness of our proposal.
Finally, we can get the level influence functions from the above theorem by substituting in the expressions of PIFs. Note that, in this case of one-sided hypothesis testing, the LIFs are not identically zero, but they are bounded only for implying again the level stability of our proposed Wald-type tests.
For illustration, we will again present the case of normal model with one-sided alternatives in the following example. Other motivating models with relevant data examples will be provided in the next section.
Example 4.1** (Comparing two Normal means against one-sided alternatives)**
Let us again consider the two-sample problem under normal model with unknown and unequal variances as in Example 3.1, but now with the one-sided alternatives so that our target hypothesis is
[TABLE]
with the variance parameters and being unknown for both hypotheses. Considering the notations of Example 3.1, our proposed test statistics is then given by
[TABLE]
which has standard normal asymptotic distribution under the null. Clearly this statistic also coincides with the corresponding classical Wald test statistic at . Since the test is consistent at any fixed alternatives, we consider the contiguous alternatives with , under which the test statistics has asymptotic distribution as normal with mean and variance 1. Corresponding asymptotic contiguous power at different values of and with and () is presented in Table 2. Note that, as expected this power decreases only slightly as increases (note the similarity with Table 1).
Further, the influence function of the proposed Wald-type test statistics in this case of one-sided alternatives simplifies to
[TABLE]
and
[TABLE]
Note that these influence functions are square roots of the corresponding influence functions under two-sided alternatives in Example 2.2 except for a multiplicative constant. Further, by the general theory developed above, the corresponding PIFs and LIFs in this case can be shown to be also a constant multiplication of the corresponding PIFs in the two-sided case presented in Example 2.3. Therefore, the boundedness nature of all these influence functions for the one-sided alternative will be similar to those presented in Figures 1a and 3, i.e., bounded at and unbounded at . These again imply the robustness of our proposal with over the classical Wald test at .
5 Real Life Applications
5.1 Poisson Model for Clinical Trial: Adverse Events Data
In our first example we will consider the application of the proposed Wald-type tests with Poisson model to the adverse event data in an Asthma clinical trial conducted by Kerstjens et al. (2012, Table 3). In this two phase randomized controlled trials, 912 patients having asthma and receiving inhaled glucocorticoids and LABAs had been divided into treatment and control groups of the two trials and were randomly assigned a total dose of 5 μg tiotropium (treatment group) or suitable placebo (control group) once daily for 48 weeks. Then, Kerstjens et al. (2012) investigated the effect of this combined treatment on patient’s lung function and exacerbations.
Here we will consider the data on 19 reported adverse effect on the patients in trail 2 of this study, presented in Table 3, that can be modeled by a Poisson distribution with mean . Note that the first two entry for both the groups (corresponding to the events of Asthma and Decreased rate of peak expiratory flow) clearly stands out as outliers from the remaining observations. Hence, in presence of these two observations the MLE of the Poisson parameters and in treatment and control groups ( and respectively) turns out to be drastically different from the MLEs without them ( and respectively). However the robust MDPDEs with larger remains stable (see Table 4). Clearly, the number of average adverse effect decreases from control to treatment group; but to check how significant this change is, one might be interested in testing the one-side hypothesis
[TABLE]
We have applied our proposed Wald-type tests for this problem, as developed in Section 4, to both the full dataset and after deleting the first two outliers from both the groups; the resulting p-values are presented in Figure 4a. Clearly, the classical Wald test results in completely different inference due to the inclusion of these outlying observations – it’s p-value becomes significant from non-significant inference without them (at 95% level). On the other hand, proposed MDPDE based robust Wald-type tests with gives stable results (accept the null hypothesis) even in presence of outlying observations.
5.2 Poisson Model for Experimental Trial: Drosophila Data
We next consider another application to the Poisson model with data from an controlled experimental trial with Drosophila flies producing occasional spurious counts. The dataset contains two independent samples on the numbers of recessive lethal mutations observed among the daughters of male flies who are exposed either to a certain degree of chemical to be screened (treatment group) or to control conditions. This dataset has been previously analyzed by many statisticians including Woodruff et al. (1984); Simpson (1989); Basu et al. (2013) who have shown that the response data can be modeled by Poisson distribution, but there are two outlying observations in one sample that affects the likelihood based inference and so the classical Wald test. See Basu et al. (2013, Table 7) for the dataset and the MDPDEs of the Poisson parameters.
Here, we will apply the proposed Wald-type tests for comparing the Poisson parameters for the two samples, say and , through testing the one-sided hypothesis in 33. The resulting p-values are presented in Figure 4b. Clearly, in presence of outliers, the classical rejects the null hypothesis indicating that the average number of mutation is significantly more for the second sample, which is the opposite of the true inference obtained after removing these outliers from the second sample. But, the proposed MDPDE based Wald-type tests with produce robust results even in presence of outliers accepting the null hypothesis.
5.3 Normal Model for Clinical Trial: Infant Platelet Count Data
We will now present another clinical trial example from Karpatkin et al. (1981) to illustrate the applications under the normal model. This clinical trial was conducted to study if the infant platelet count can be increased by giving steroids to the mothers with autoimmune thrombocytopenia during pregnancy. The study consists of 19 mothers with 12 being given steroid (treatment group) and 7 not given steroid (control group) and the corresponding infant platelet counts (in thousands, per mm3) after delivery are given in Table 5. These can be modeled by a normal model with means , and the variances , for the treatment and control groups respectively. Then, the primary research problem can be solved by testing the one-sided hypothesis in (33) with and being unknown.
The p-values for this testing problem obtained by applying the proposed Wald-type tests, as described in Example 4.1, are presented in Figure 4c for different . One can easily observe that there is a large outlier value of 399 (thousands) in the treatment group that affects the classical Wald test (at ). However, our MDPDE based proposal with produces stable p-value ignoring the effect of the outlying observation.
5.4 Normal Model for Health Study: Hair Zn Content data
Two-sample test under the normal model has many possible applications from which we now present a health study to examine the impact of polluted urban environment over individual health in Sri Lanka. The dataset consist of the zinc (Zn) content of the hair of two independent samples taken from urban (polluted) and rural (unpolluted) Sri Lanka and our target is to check if the Zn content is more for polluted urban residents impacting their health conditions. The dataset was presented in Basu et al. (2015, Table 6) and it has been shown their that each sample can be modeled by normal distributions with means and variance ( for rural and urban groups respectively) except for two possible outliers. There is one outlier in each of the samples that affects the MLE based inference while testing for the targeted hypothesis (33) of comparing and with unknown and .
We have applied the proposed MDPDE based Wald-type test for this problem following Example 4.1 and the resulting p-values are presented in Figure 4d. Clearly, the significance increase of the zinc contents in urban residents cannot be identified by the classical Wald-test in presence of outliers, but our proposal with gives stable and correct inference ignoring the effect of the outliers.
5.5 Normal Model for Quality Control: Cloth Manufacturing data
Our third and final example with normal model will be in the context of quality control based on the data from the Levi-Strauss clothing manufacturing plant. The dataset consists of 22 measurements on run-up (a percentage measure of wastage in cloth) for each of two particular mills supplying cloths to the plant (Basu et al., 2015, Table 1). To control the quality of the cloths, the plant want to test for the consistency of the run-up measures from the two mills. Since the sample from each mill can be modeled by normal distribution with mean and variance (), the objective is then to test for the both sided hypothesis
[TABLE]
with and being unknown under both cases. However, as illustrated in Basu et al. (2015), the dataset contains 3 potential outliers that make the MLE based inference highly non-robust. Hence the classical Wald test rejects the null hypothesis in presence of outliers whereas it accept the null after removing the outliers. When we apply the proposed MDPDE based Wald-type problem, following the description as in Example 3.1, the corresponding p-values (reported in Figure 4e) becomes highly stable for rejecting the null hypothesis even in presence of the outliers.
5.6 Exponential Model for Reliability Testing: Components Life-time Data
We will end this section with an example of exponential model used in reliability testing between two sets of products’ lifetimes. We will use the (simulated) data from Perng (1978) which consist of the lifetimes (in thousand of hours) of a particular electronic components produced by two different processes (see Table 6). Each sample can be then modeled by exponential distributions with mean (). Our objective in reliability testing of the manufacturing process is to test whether the lifetimes for both the process have the same distributions, i.e., if against the both-sided alternatives as in the hypothesis (34). It has been observed that there is no significant difference in the distributions of both the processes and so the null hypothesis should be accepted by any standard test.
Since there is no outliers in this dataset, in order to study the robustness aspect of our proposal we add one outlying value of 20 (assuming a decimal is misplaced by one digit from 2.0) in the second sample. The resulting p-values obtained by the proposed Wald-type tests for both the pure data and with this artificial outlier are presented in Figure 4f for different . Clearly, the classical Wald test changes drastically by rejecting null due to insertion of only one outlying observations, but our proposed Wald-type tests with remains stable and still accept the null hypothesis robustly in presence of the outlier.
6 Simulation Study and the Choice of Tunning Parameter
Finally to examine the finite sample performances of our Wald-type tests, we have performed several simulation studies with all the models considered in the previous section for real datasets. However, noting the similarity of the results for different models, for brevity, here we will report the results from only one simulation study under normal model with two-sided alternatives.
We simulate 1000 pair of samples, each of size , independently drawn from distributions () and perform the proposed Wald-type tests for testing against the two-sided alternative , once assuming both variances to be known (equal 1) and then assuming variances to be unknown and unequal following Examples 2.1 and 3.1 respectively. Then, we compute the empirical sizes and powers of the proposed test under these pure data over iterations, where for size calculation we have taken and for power calculation , . Next, to study the robustness performances, we contaminate of second sample in each iteration (for ) by observations from distributions and repeat the above simulation to compute empirical sizes and power under contamination. We have taken and for studying the robustness of size and power respectively. Note that these contamination distributions are not very far from the corresponding true distributions and hence generate reasonably common practical situations. Resulting empirical sizes and powers are reported in Figure 5.
It can be easily observed from Figure 5 that the size and power of the proposed Wald-type tests under pure data change (increases and decreases respectively) only very slightly with increasing , but their stability increases significantly. In particular, under contamination, both size and power of the tests near , the classical Wald test, changes drastically. But they become stable at larger positive values of for both the cases of known and unknown variances. However, for the cases of known (and correctly specified) variances we get highly stable results near , whereas we need for the case of unknown variances. This is intuitively expected since under the present contamination schemes the variance estimates also changes and so we need more robustness power to get overall stable inference with larger values of .
Throughout all our example and simulations above, we have notices that the tuning parameter controls between robustness of the proposed Wald-type tests and its asymptotic contiguous power under pure data. So, we need to chose properly for any practical applications. In particular we note that, in most of the example models, the loss in power is not significant enough at small positive , whereas we get highly robust inferences for (except for few cases with very high contaminations where we may need ). Therefore, an empirical suggestion for the choice of in any application suspecting some contamination could be within the range for generating robust inference without significant loss in power.
Although this ad hoc empirical choice of works well enough in most practical datasets suspectable to outliers, many practitioners will prefer a data-driven choice of in case of no idea on the level of contamination in dataset that might produce a better trade-off. In this respect, we note that the performance of the proposed Wald-type tests directly depends on that of the MDPDE (with tuning parameter ) used in constructing the test statistics. In particular the asymptotic contiguous power of the proposed test has the same nature as the asymptotic efficiency of the corresponding MDPDE whereas all the robustness measures of our tests directly depend on the robustness of the MDPDE through its influence function. So, a suitable data-driven choice of for our Wald-type test statistics also can be equivalently formed by adjusting the trade-off between efficiency and robustness of the MDPDE used. For this second problem, Warwick and Jones (2005) proposed to minimize an estimator of MSE of the MDPDE to chose optimum . Based on the first sample , they proposed to minimize the estimated MSE
[TABLE]
over , where is a pilot estimator of the target parameter and and are estimators of the matrices and respectively, which can be easily obtained from their expressions by substituting by the MDPDE and integrations by sample means. Although there is no direct choice for , Warwick and Jones (2005) suggested, based on an extensive simulation studies, that the MDPDE with can serve the purpose well for the i.i.d. set-up and we will stick to that suggestion for the present case also (the non-i.i.d. cases have been studied in Ghosh and Basu (2013, 2015)). However, the problem in the present two-sample case is that, the optimum obtained by minimizing based on the first sample may not be the same as that obtained for the second sample due to possible different level of contaminations. As a standard solution, we propose the minimization of the total estimated MSE, the sum of the MSE estimates based on two samples separately, over to obtain the optimum choice of the tuning parameter for the present two-sample testing problem.
We have implemented this proposal for the above simulation study with normal model to check its effectiveness. Figure 6 presents the histograms of the 1000 selected optimum following this proposal for the normal model with known and equal variances under the simulation scheme used for studying size stability above (in Figure 5). Clearly, the mode of these optimum s shift from 0 to 1 as the contamination proportion increases yielding the expected trade-off between the power and robustness based on the level of contaminations.
7 Concluding remarks
In this paper, we have considered the problem of testing with two independent samples of i.i.d. observations and proposed a class of robust Wald-type tests for both simple and composite hypothesis testing. These Wald-type tests are constructed using the robust minimum density power divergence estimators of the underlying parameters in each sample. The asymptotic and robustness properties of the proposed Wald-type tests have been discussed along with their applications to several important real-life problems like clinical trial, medical experiment, reliability testing and many more.
Although we have discussed all possible types of general two-sample hypotheses, in this paper, we have restricted our attention to the cases where each of the two independent samples is identically distributed. The natural extension of this work will be to develop robust tests for hypotheses involving two independent samples from non-homogeneous populations; this also has many practical applications including comparing the regression lines between two groups of patients in a fixed design clinical trial. Also, one could further explore the possibility of robust hypothesis testing using the minimum density power divergence estimators for two paired samples or for more than two sample cases. we hope to pursue some of this possible extensions in our future research.
Appendix A Proof of Results
A.1 Proof of Theorem 2.1
Using the asymptotic distribution of and , we have
[TABLE]
and
[TABLE]
Hence under , we get
[TABLE]
Further, under , as . Then the theorem follows using the continuity of the matrix .
A.2 Proof of Theorem 2.2
Note that, and hence the asymptotic distribution of is the same as that of . Now, a suitable Taylor series expansion leads to
[TABLE]
Then, the theorem follows from the above expression by noting that
[TABLE]
as at any . Here, the last convergence follows from the asymptotic distributions of the MDPDEs and .
A.3 Proof of Theorem 2.5
Using the asymptotic distribution of and under and continuity of , we have ,
[TABLE]
and
[TABLE]
Hence, under , we get
[TABLE]
from which the theorem follows immediately.
A.4 Proof of Theorem 2.6
We will only prove the case . Other two cases will follow similarly.
Let us denote and . Then using the continuity of , we get under , the asymptotic distribution of and are both -variate normal with mean zero and variance . Further, suitable Taylor series expansion yields
[TABLE]
Similarly, we have
[TABLE]
Combining all these, we get
[TABLE]
and
[TABLE]
Hence, under , we get
[TABLE]
and hence the theorem follows immediately.
A.5 Proof of Theorem 3.1
Using suitable Taylor series expansion, we get
[TABLE]
Now, from the asymptotic distribution of and it follows that
[TABLE]
and
[TABLE]
Hence under , we get
[TABLE]
Finally, by the consistency of the MDPDEs and the continuity of the matrices , and , it follows that as , from which the theorem follows immediately.
A.6 Proof of Theorem 3.2
Using an appropriate Taylor series expansion, we get
[TABLE]
Then, the theorem follows from the asymptotic distributions of the MDPDEs and .
A.7 Proof of Theorem 3.4
Using the asymptotic distribution of and under and continuity of , we have, as , ,
[TABLE]
and
[TABLE]
Hence, following the proof of Theorem 2.5, we get under
[TABLE]
from which the theorem follows immediately.
A.8 Proof of Theorems 3.6 and 3.7
These proofs are similar to that of Theorems 2.6 and 2.7 and hence omitted.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Basu et al. (1998) Basu, A., Harris, I. R., Hjort, N. L., and Jones, M. C. (1998). Robust and efficient estimation by minimising a density power divergence. Biometrika , 85, 549–559.
- 2Basu et al. (2013) Basu, A., Mandal, A., Martin, N. and Pardo, L. (2013). Testing statistical hypotheses based on the density power divergence. Annals of Institute of Statistical Mathematics , 65, 319–348.
- 3Basu et al. (2015) Basu, A., Mandal, A., Martin, N. and Pardo, L. (2015). Robust tests for the equality of two normal means based on the density power divergence. Metrika , 78(5), 611–634.
- 4Basu et al. (2016) Basu, A., Mandal, A., Martin, N. and Pardo, L. (2016) Generalized Wald-type tests based on minimum density power divergence estimators. Statistics , 50(1), 1–26.
- 5Basu et al. (2011) Basu, A., Shioya, H. and Park, C. (2011). Statistical Inference: The Minimum Distance Approach. Chapman & Hall/CRC, Boca Raton, FL .
- 6Ghosh and Basu (2013) Ghosh, A., and Basu, A. (2013). Robust estimation for independent non-homogeneous observations using density power divergence with applications to linear regression. Electronic Journal of Statistics , 7, 2420–2456.
- 7Ghosh and Basu (2015) Ghosh, A., and Basu, A. (2015). Robust estimation for non-homogeneous data and the selection of the optimal tuning parameter: the density power divergence approach. Journal of Applied Statistics , 42(9), 2056–2072.
- 8Ghosh et al. (2015) Ghosh, A., Basu, A., and Pardo, L. (2015). On the robustness of a divergence based test of simple statistical hypotheses. Journal of Statistical Planning and Inference , 116, 91–108.
