- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Journal of Probability and Statistics

VolumeΒ 2012Β (2012), Article IDΒ 537474, 15 pages

http://dx.doi.org/10.1155/2012/537474

## Testing Homogeneity in a Semiparametric Two-Sample Problem

^{1}Department of Statistics and Actuarial Science, School of Finance and Statistics, East China Normal University, Shanghai 200241, China^{2}Department of Statistics and Actuarial Science, University of Waterloo, Waterloo, ON, Canada N2L 3G1^{3}Department of Mathematics and Statistics, York University, Toronto, ON, Canada M3J 1P3

Received 18 November 2011; Accepted 24 January 2012

Academic Editor: YongzhaoΒ Shao

Copyright Β© 2012 Yukun Liu 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.

#### Abstract

We study a two-sample homogeneity testing problem, in which one sample comes from a population with density and the other is from a mixture population with mixture density . This problem arises naturally from many statistical applications such as test for partial differential gene expression in microarray study or genetic studies for gene mutation. Under the semiparametric assumption , a penalized empirical likelihood ratio test could be constructed, but its implementation is hindered by the fact that there is neither feasible algorithm for computing the test statistic nor available research results on its theoretical properties. To circumvent these difficulties, we propose an EM test based on the penalized empirical likelihood. We prove that the EM test has a simple chi-square limiting distribution, and we also demonstrate its competitive testing performances by simulations. A real-data example is used to illustrate the proposed methodology.

#### 1. Introduction

Let be a random sample from a population with distribution function , and let be a random sample from a population with distribution function . Testing whether the two populations have the same distribution, that is, versus , with both and completely unspecified, will require a nonparametric test. Since is a very broad hypothesis, many times one may want to consider some more specified alternative, for example, the two populations only differ in location. In the present paper, we will consider a specified alternative in which one of the two samples has a mixture structure. More specifically, we have where , , , and is an unknown parameter sometimes called contamination proportion. The problem of interest is to test or equivalently . This particular two-sample problem arises naturally in a variety of statistical applications such as test for partial differential gene expression in microarray study, genetic studies for gene mutation, case-control studies with contaminated controls, or the test of a treatment effect in the presence of nonresponders in biological experiments (see Qin and Liang [1] for details).

If no auxiliary information is available, this is merely the usual two-sample goodness-of-fit problem. There has been extensive literature on it; see Zhang [2] and references therein. However, these tests are not suitable for the specific alternative with a mixture structure as they might be inferior comparing with methods that are designed for the specific alternative. In this paper, we will propose an empirical likelihood-based testing procedure for this specific mixture alternative under Andersonβs semiparametric assumption [3]. Motivated by the logistic regression model, the semiparametric assumption proposed by Anderson [3] links the two distribution functions and through the following equation: where and are both unknown parameters. There are many examples where the logarithm of the density ratio is linear in the observations.

*Example 1.1. *Let and be the distribution functions of Binomial and Binomial , respectively. We refer the densities and to the probability mass functions corresponding to and , respectively. Then,

*Example 1.2. *Let be the distribution function of and the distribution function of . Then,

In practice, one may need to apply some sort of transformation to the data (e.g., logarithm transformation) in order to justify the use of the semiparametric model assumption (1.2).

*Example 1.3. *Let and be the distribution functions of and , respectively. It is clear that the density ratio is a linear function of the log-transformed data:

*Example 1.4. *Let and be the distribution functions of and , respectively. In this case,

The semiparametric modeling assumption (1.2) is very flexible and has the advantage of not putting any specific restrictions on the functional form of . Under this assumption, various approaches have been proposed to test homogeneity in the two-sample problem (see [1, 4, 5] and references therein). This paper adds to this literature by introducing a new type of test statistics which are based on the empirical likelihood [6, 7].

The empirical likelihood (EL) is a nonparametric likelihood method which has many nice properties paralleling to the likelihood methods, for example, it is range-preserving, transform-respect, Bartlett correctable, and a systematic approach to incorporating auxiliary information [8β11]. In general, if the parameters are identifiable, the empirical likelihood ratio (ELR) test has a chi-square limiting distribution under null hypothesis. However, for the aforementioned testing problem, the parameters under are not identifiable, which results in an intractable null limiting distribution for the ELR test. To circumvent this problem, we would add a penalty to the log EL to penalize being too close to zero. Working like a soft threshold, the penalty makes the parameters roughly identifiable. Intuitively, the penalized (or modified) ELR test should restore the usual chi-square limiting distribution. Unfortunately two things hinder the direct use of the penalized ELR test. One is that, to the best of our knowledge, there is no feasible algorithm to compute the penalized ELR test statistic. The other one is that there has been no research on the asymptotic properties of the penalized ELR test. Therefore, one cannot obtain critical values for the penalized ELR test regardless through simulations or an asymptotic reference distribution. We find that the EM test [12, 13] based on the penalized EL is a nice solution to the testing problem.

The remainder of this paper is organized as follows. In Section 2, we introduce the ELR and the penalized ELR. The penalized EL-based EM test is given in Section 3. A key computational issue of the EM test is discussed in Section 4. Sections 5 and 6 contain a simulation study and a real-data application, respectively. For clarity, all proofs are postponed to the appendix.

#### 2. Empirical Likelihood

Let denote the combined two-sample data, where . Under Andersonβs semiparametric assumption (1.2), the likelihood of two-sample data (1.1) is Let , . The EL is just the likelihood with constraints , and . The corresponding log-EL is We are interested in testing Under the null hypothesis, the constraint will always hold and . Under alternative hypothesis, for any fixed , maximizing with respect to βs leads to the log-EL function of : where is the solution to the following equation: Hence, the EL ratio function and the ELR is denoted as .

The null hypothesis holds for regardless of , or regardless of . This implies that the parameter is not identifiable under , resulting in rather complicated asymptotic properties of the ELR. One may consider the modified or penalized likelihood method [14] and define the penalized log-EL function . Accordingly the penalized EL ratio function is where is the solution to (2.5). The penalty function goes to as approaches 0. Therefore, is bounded away from 0, and the null hypothesis in (2.3) then reduces to . That is, the parameters in the penalized log-EL function is asymptotically identifiable. However, the asymptotic behavior of the penalized ELR test is still complicated. Meanwhile, the computation of the penalized ELR test statistic is another obstacle of the implementation of the penalized ELR method. No feasible and stable algorithm has been found for this purpose. An EL-based EM test proposed in this paper provides an efficient way to solve the problem.

#### 3. EL-Based EM Test

Motivated by Chen and Li [12] and Li et al. [13], we propose an EM test based on the penalized EL to test the hypothesis (2.3). The EM test statistics are derived iteratively. We first choose a finite set of , for instance, , and a positive integer (2 or 3 in general). For each , we proceed the following steps.

*Step 1. *Let and . Calculate .

*Step 2. *Update by using the following algorithm for times.*Substep 2.1. *Calculate the posterior distribution,
and update by
*Substep 2.2. * Update by .*Substep 2.3. * Let and continue.

*Step 3. *Define the test statistics .

The EM test statistic is defined as We reject the null hypothesis when the EM test statistic is greater than some critical value determined by the following limiting distribution.

Theorem 3.1. *Suppose is a constant. Assume the null hypothesis holds and and for . For and any fixed , it holds that
**
where and .*

*Remark 3.2. * The assumption is only for convenience purpose and unnecessary. Otherwise, we can replace and with and *. *

Theorem 3.3. *Assume the conditions of Theorem 3.1 hold and . Under the null hypothesis (2.3), in distribution, as .*

We finish this section with an additional remark.

*Remark 3.4. *We point out that the idea of the EM-test can also be generalized to more general models such as for some integer or with βs being known functions.

#### 4. Computation of the EM Test

A key step of the EM test procedure is to maximize with respect to for fixed . In this section, we propose a computation strategy which provides stable solution to this optimization problem. Throughout this section, is suppressed to be fixed.

The objective function is where and is the solution to If is the maximum point of , it should generally satisfy Combining (4.2) and (4.3) leads to Putting this expression of back into (4.1), we have a new function It can be verified that is almost surely concave in a neighborhood of given , which means that maximizing with respect to gives the maximum of for fixed . The stability of the method is illustrated by the following simulation study.

#### 5. Simulation Study

We consider two models in Examples 1.3 and 1.4 with , , and for Example 1.3, and , , and for Example 1.4. Nominal levels of 0.01, 0.05, and 0.10 are considered. The logarithm transformation is applied to the original data before using the EM test. The initial set and iteration number are used to calculate the EM test statistic.

One competitive method for testing homogeneity under the semiparametric two-sample model is the score test proposed by Qin and Liang [1]. This method is based on where is the log empirical likelihood function given in (2.4). Let . The score test statistic was defined as , which has a limiting distribution under the null hypothesis.

We compare the EM test and the score test in terms of type I error and power. We calculate the type I errors of each method under the null hypothesis based on 20,000 repetitions and the power under the alternative models based on 2,000 repetitions. For fair comparison, simulated critical values are used to calculate the power. We consider two sample sizes: 50 and 200 and . Tables 1 and 2 contain the simulation results for the log-normal models and Tables 3 and 4 for the gamma models.

The results show that the EM test and the score test have similar type I errors. For both methods, the type I errors are somehow larger than the nominal levels when the sample size is ; they are close to the nominal levels when the sample size is increased to . For the log-normal models, two methods have almost the same power when the alternatives are close to each other such as ; the EM test becomes much more powerful when the alternatives are distant and the sample size increases. In the case of , , , and nominal level 0.01, the EM test has a gain in power compared with the score test; the gain rushes up to almost when , , and the sample size increases to . For the gamma models, the advantage of the EM test is more obvious. For both sample sizes and 200, the EM test is more powerful than the score test.

#### 6. Real Example

We apply our EM test procedure to the drug abuse data [15] in a study of addiction to morphine in rats. In this study, rats got morphine by pressing a lever and the frequency of lever presses (self-injection rates) after six-day treatment with morphine was recorded as response variable. The data consist of the number of lever presses for five groups of rats: four treatment groups with different dose levels and one saline group (control group).

We analyzed the response variables (the number of lever presses by rats) of the treatment group at the first dose level and the control group. The data is tabulated in Tableββ3 of Fu et al. [5]. Following Boos and Browine [16] and Fu et al. [5], we analyze the transformed data, with being the number of lever presses by rats. Instead of using the parametric models as Boos and Browine [16] and Fu et al. [5], we adopt Andersonβs semiparametric approach. That is, we assume that the response variables in control group comes from , while the response variables in treatment group comes from with . The EM test statistics for testing homogeneity under the semiparametric two-sample model are found to be , , and . Calibrated by the limiting distribution, the values are all around 0.02%. We also applied the score test of Qin and Liang [1]. The score test statistic is 9.417 with the value equal to 0.2% calibrated by the limiting distribution. We also used the permutation methods to get the values of the two types of tests. Based on 50,000 permutations, the values of the three EM test statistics are all around 0.03%, and the value of the score test is around 0.5%. In accordance with Fu et al. [5], both methods suggest a significant treatment effect, while the proposed EM test has much stronger evidence than the score test.

**Appendix**

#### Proofs

The proofs of Theorems 3.1 and 3.3 are based on the three lemmas given below. Lemma A.1 assesses the order of the maximum empirical likelihood estimators of and with bounded away from 0 under the null hypothesis. Lemma A.2 shows that the EM iteration updates the value of by the amount of order . Theorem 3.1 is then proved by iteratively using Lemmas A.1 and A.2. Lemma A.3 gives an approximation of the penalized ELR for any bounded away from 0, based on which we prove Theorem 3.3.

Lemma A.1. *Assume the conditions of Theorem 3.1. Let for some constant and . Then, we have
**
with and . *

*Proof. *Since , the parameters in the empirical likelihood ratio are identifiable. Therefore, are -consistent to the true value , that is, and [10].

Following the arguments in Section 4, the maximum empirical likelihood estimate should satisfy (here is suppressed to )
with

Applying Taylor expansion on the right-hand side of (A.4), we get
Further applying first-order Taylor expansion to (A.2) and using (A.4), we get
Note that both and are of order and that both and have order . Combining (A.5) and (A.6) yields . Therefore, .

Similarly, first-order Taylor expansion of (A.3) results in
With the same reasoning as for , it follows from (A.7) that
After some algebra, we have , which completes the proof.

Suppose that , , and have the properties given in Lemma A.1. For , let . The updated value of is It can be verified that the close form of is given by . We now show that the above iteration only changes the value of by an term.

Lemma A.2. *Assume the conditions of Lemma A.1 hold. Then, .*

*Proof. *Let . According to Lemma A.1, and . Applying the first-order Taylor expansion, we have
Some simple algebra work shows that
Therefore, , and this finishes the proof.

*Proof of Theorem 3.1. *With the above two technical lemmas, the proof is the same as that of Theoremββ1 in Li et al. [13] and therefore is omitted.

The next lemma is a technical preparation for proving Theorem 3.3. It investigates the asymptotic approximation of the penalized ELR for any bounded away from 0.

Lemma A.3. *Assume the conditions of Theorem 3.1 and for some . Then,
*

*Proof. *With Lemma A.1, we have and . Applying second-order Taylor expansion on and noting that , we have
Using (A.5) and the facts that both and converge to in probability, the above expression can be simplified to
Plugging in the approximation , we get
This completes the proof.

*Proof of Theorem 3.3. *Without loss of generality, we assume . According to Theorem 3.1 and Lemma A.3, for , we have
This leads to
where the remainder is still since the maximum is taken over a finite set.

Note that when tends to infinity, in distribution. Therefore,
in distribution as goes to infinity. This completes the proof.

#### References

- J. Qin and K. Y. Liang, βHypothesis testing in a mixture case-control model,β
*Biometrics*, vol. 67, pp. 182β193, 2011. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - J. Zhang, βPowerful two-sample tests based on the likelihood ratio,β
*Technometrics*, vol. 48, no. 1, pp. 95β103, 2006. View at Publisher Β· View at Google Scholar - J. A. Anderson, βMultivariate logistic compounds,β
*Biometrika*, vol. 66, no. 1, pp. 17β26, 1979. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - T. Lancaster and G. Imbens, βCase-control studies with contaminated controls,β
*Journal of Econometrics*, vol. 71, no. 1-2, pp. 145β160, 1996. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - Y. Fu, J. Chen, and J. D. Kalbfleisch, βModified likelihood ratio test for homogeneity in a two-sample problem,β
*Statistica Sinica*, vol. 19, no. 4, pp. 1603β1619, 2009. View at Google Scholar Β· View at Zentralblatt MATH - A. B. Owen, βEmpirical likelihood ratio confidence intervals for a single functional,β
*Biometrika*, vol. 75, no. 2, pp. 237β249, 1988. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - A. B. Owen, βEmpirical likelihood ratio confidence regions,β
*The Annals of Statistics*, vol. 18, no. 1, pp. 90β120, 1990. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - P. Hall and B. La Scala, βMethodology and algorithms of empirical likelihood,β
*International Statistical Review*, vol. 58, pp. 109β127, 1990. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - T. DiCiccio, P. Hall, and J. Romano, βEmpirical likelihood is Bartlett-correctable,β
*The Annals of Statistics*, vol. 19, no. 2, pp. 1053β1061, 1991. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - J. Qin and J. Lawless, βEmpirical likelihood and general estimating equations,β
*The Annals of Statistics*, vol. 22, no. 1, pp. 300β325, 1994. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - S. E. Ahmed, A. Hussein, and S. Nkurunziza, βRobust inference strategy in the presence of measurement error,β
*Statistics & Probability Letters*, vol. 80, no. 7-8, pp. 726β732, 2010. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - J. Chen and P. Li, βHypothesis test for normal mixture models: the EM approach,β
*The Annals of Statistics*, vol. 37, no. 5, pp. 2523β2542, 2009. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - P. Li, J. Chen, and P. Marriott, βNon-finite Fisher information and homogeneity: an EM approach,β
*Biometrika*, vol. 96, no. 2, pp. 411β426, 2009. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - J. Chen, βPenalized likelihood-ratio test for finite mixture models with multinomial observations,β
*The Canadian Journal of Statistics*, vol. 26, no. 4, pp. 583β599, 1998. View at Publisher Β· View at Google Scholar Β· View at Zentralblatt MATH - J. R. Weeks and R. J. Collins, βPrimary addiction to morphine in rats,β
*Federation Proceedings*, vol. 30, p. 277, 1971. View at Google Scholar - D. D. Boos and C. Brownie, βMixture models for continuous data in dose-response studies when some animals are unaffected by treatment,β
*Biometrics*, vol. 47, pp. 1489β1504, 1991. View at Publisher Β· View at Google Scholar