Skip to main content
Entropy logoLink to Entropy
. 2019 Jan 14;21(1):63. doi: 10.3390/e21010063

Composite Tests under Corrupted Data

Michel Broniatowski 1,*, Jana Jurečková 2,3, Ashok Kumar Moses 4, Emilie Miranda 1,5
PMCID: PMC7514172  PMID: 33266779

Abstract

This paper focuses on test procedures under corrupted data. We assume that the observations Zi are mismeasured, due to the presence of measurement errors. Thus, instead of Zi for i=1,…,n, we observe Xi=Zi+δVi, with an unknown parameter δ and an unobservable random variable Vi. It is assumed that the random variables Zi are i.i.d., as are the Xi and the Vi. The test procedure aims at deciding between two simple hyptheses pertaining to the density of the variable Zi, namely f0 and g0. In this setting, the density of the Vi is supposed to be known. The procedure which we propose aggregates likelihood ratios for a collection of values of δ. A new definition of least-favorable hypotheses for the aggregate family of tests is presented, and a relation with the Kullback-Leibler divergence between the sets fδδ and gδδ is presented. Finite-sample lower bounds for the power of these tests are presented, both through analytical inequalities and through simulation under the least-favorable hypotheses. Since no optimality holds for the aggregation of likelihood ratio tests, a similar procedure is proposed, replacing the individual likelihood ratio by some divergence based test statistics. It is shown and discussed that the resulting aggregated test may perform better than the aggregate likelihood ratio procedure.

Keywords: composite hypotheses, corrupted data, least-favorable hypotheses, Neyman Pearson test, divergence based testing, Chernoff Stein lemma

1. Introduction

A situation which is commonly met in quality control is the following: Some characteristic Z of an item is supposed to be random, and a decision about its distribution has to be made based on a sample of such items, each with the same distribution F0 (with density f0) or G0 (with density g0). The measurement device adds a random noise Vδ to each measurement, mutually independent and independent of the item, with a common distribution function Hδ and density hδ, where δ is an unknown scaling parameter. Therefore the density of the measurement X:=Z+Vδ is either fδ:=f0∗hδ or gδ:=g0∗hδ, where ∗ denotes the convolution operation. We denote Fδ (respectively Gδ) to be the distribution function with density fδ (respectively gδ).

The problem of interest, studied in [1], is how the measurement errors can affect the conclusion of the likelihood ratio test with statistics

Ln:=1n∑logg0f0(Xi).

For small δ, the result of [2] enables us to estimate the true log-likelihood ratio (true Kullback-Leibler divergence) even when we only dispose of locally perturbed data by additive measurement errors. The distribution function H0 of the measurement errors is considered unknown, up to zero expectation and unit variance. When we use the likelihood ratio test, while ignoring the possible measurement errors, we can incur a loss in both errors of the first and second kind. However, it is shown, in [1], that for small δ the original likelihood ratio test (LRT) is still the most powerful, only on a slightly changed significance level. The test problem leads to a composite of null and alternative classes H0 or H1 of distributions of random variables Z+Vδ with Vδ:=δV, where V has distribution H1. If those families are bounded by alternating Choquet capacities of order 2, then the minimax test is based on the likelihood ratio of the pair of the least-favorable distributions of H0 and H1, respectively (see Huber and Strassen [3]). Moreover, Eguchi and Copas [4] showed that the overall loss of power caused by a misspecified alternative equals the Kullback-Leibler divergence between the original and the corrupted alternatives. Surprisingly, the value of the overall loss is independent of the choice of null hypothesis. The arguments of [2] and of [5] enable us to approximate the loss of power locally, for a broad set of alternatives. The asymptotic behavior of the loss of power of the test based on sampled data is considered in [1], and is supplemented with numerical illustration.

Statement of the Test Problem

Our aim is to propose a class of statistics for testing the composite hypotheses H0 and H1, extending the optimal Neyman-Pearson LRT between f0 and g0. Unlike in [1], the scaling parameter δ is not supposed to be small, but merely to belong to some interval bounded away from 0.

We assume that the distribution H of the random variable (r.v.) V is known; indeed, in the tuning of the offset of a measurement device, it is customary to perform a large number of observations on the noise under a controlled environment.

Therefore, this first step produces a good basis for the modelling of the distribution of the density h. Although the distribution of V is known, under operational conditions the distribution of the noise is modified: For a given δ in δmin,δmax with δmin>0, denote by Vδ a r.v. whose distribution is obtained through some transformation from the distribution of V, which quantifies the level of the random noise. A classical example is when Vδ=δV, but at times we have a weaker assumption, which amounts to some decomposability property with respect to δ: For instance, in the Gaussian case, we assume that for all δ,η, there exists some r.v. Wδ,η such that Vδ+η=dVδ+Wδ,η, where Vδ and Wδ,η are independent.

The test problem can be stated as follows: A batch of i.i.d. measurements Xi:=Zi+Vδ,i is performed, where δ>0 is unknown, and we consider the family of tests of H0(δ):= [X has density fδ] vs. H1(δ):= [X has density gδ], with δ∈Δ=δmin,δmax. Only the Xi are observed. A class of combined tests of H0 vs. H1 is proposed, in the spirit of [6,7,8,9].

Under every fixed n, we assume that δ is allowed to run over a finite set pn of components of the vector Δn:=[δmin=δ0,n,…,δpn,n=δmax]. The present construction is essentially non-asymptotic, neither on n nor on δ, in contrast with [1], where δ was supposed to lie in a small neighborhood of 0. However, with increasing n, it would be useful to consider that the array δj,nj=1pn is getting dense in Δ=δmin,δmax and that

limn→∞logpnn=0. (1)

For the sake of notational brevity, we denote by Δ the above grid Δn, and all suprema or infima over Δ are supposed to be over Δn. For any event B and any δ in Δ, Fδ(B) (respectively Gδ(B)) designates the probability of B under the distribution Fδ (respectively Gδ). Given a sequence of levels αn, we consider a sequence of test criteria Tn:=TnX1,…,Xn of H0(δ), and the pertaining critical regions

TnX1,…,Xn>An, (2)

such that

FδTnX1,…,Xn>An≤αn∀δ∈Δ,

leading to rejection of H0(δ) for at least some δ∈Δ.

In an asymptotic context, it is natural to assume that αn converges to 0 as n increases, since an increase in the sample size allows for a smaller first kind risk. For example, in [8], αn takes the form αn:=exp{−nan} for some sequence an→∞.

In the sequel, the Kullback-Leibler discrepancy between probability measures Q and P, with respective densities p and q (with respect to the Lebesgue measure on R), is denoted

K(Q,P):=∫logq(x)p(x)q(x)dx

whenever defined, and takes value +∞ otherwise.

The present paper handles some issues with respect to this context. In Section 2, we consider some test procedures based on the supremum of Likelihood Ratios (LR) for various values of δ, and define Tn. The threshold for such a test is obtained for any level αn, and a lower bound for its power is provided. In Section 3, we develop an asymptotic approach to the Least Favorable Hypotheses (LFH) for these tests. We prove that asymptotically least-favorable hypotheses are obtained through minimization of the Kullback-Leibler divergence between the two composite classes H0 and H1 independently upon the level of the test.

We next consider, in Section 3.3, the performance of the test numerically; indeed, under the least-favorable pair of hypotheses we compare the power of the test (as obtained through simulation) with the theoretical lower bound, as obtained in Section 2. We show that the minimal power, as measured under the LFH, is indeed larger than the theoretical lower bound—this result shows that the simulation results overperform on theoretical bounds. These results are developed in a number of examples.

Since no argument plays in favor of any type of optimality for the test based on the supremum of likelihood ratios for composite testing, we consider substituting those ratios with other kinds of scores in the family of divergence-based concepts, extending the likelihood ratio in a natural way. Such an approach has a long history, stemming from the seminal book by Liese and Vajda [10]. Extensions of the Kullback-Leibler based criterions (such as the likelihood ratio) to power-type criterions have been proposed for many applications in Physics and in Statistics (see, e.g., [11]). We explore the properties of those new tests under the pair of hypotheses minimizing the Kullback-Leibler divergence between the two composite classes H0 and H1. We show that, in some cases, we can build a test procedure whose properties overperform the above supremum of the LRTs, and we provide an explanation for this fact. This is the scope of Section 4.

2. An Extension of the Likelihood Ratio Test

For any δ in Δ, let

Tn,δ:=1n∑i=1nloggδfδ(Xi), (3)

and define

Tn:=supδ∈ΔTn,δ.

Consider, for fixed δ, the Likelihood Ratio Test with statistics Tn,δ which is uniformly most powerful (UMP) within all tests of H0(δ):=pT=fδ vs. H1(δ):=pT=gδ, where pT designates the distribution of the generic r.v. X. The test procedure to be discussed aims at solving the question: Does there exist some δ, for which H0(δ) would be rejected vs. H1(δ), for some prescribed value of the first kind risk?

Whenever H0(δ) is rejected in favor of H1(δ), for some δ, we reject H0:=f0=g0 in favor of H1:=f0≠g0. A critical region for this test with level αn is defined by

Tn>An,

with

PH0(H1)=supδ∈ΔFδTn>An =supδ∈ΔFδ⋃δ′Tn,δ′>An≤αn.

Since, for any sequence of events B1,…,Bpn,

Fδ⋃k=1pnBk≤pnmax1≤k≤pnFδBk,

it holds that

PH0(H1)≤pnmaxδ∈Δmaxδ′∈ΔFδTn,δ′>An. (4)

An upper bound for PH0(H1) can be obtained, making use of the Chernoff inequality for the right side of (4), providing an upper bound for the risk of first kind for a given An. The correspondence between An and this risk allows us to define the threshold An accordingly.

Turning to the power of this test, we define the risk of second kind by

PH1(H0):=supη∈ΔGηTn≤An =supη∈ΔGηsupδ∈ΔTn,δ≤An =supη∈ΔGη⋂δ∈ΔTn,δ≤An ≤supη∈ΔGηTn,η≤An, (5)

a crude bound which, in turn, can be bounded from above through the Chernoff inequality, which yields a lower bound for the power of the test under any hypothesis gη in H1.

Let αn denote a sequence of levels, such that

limsupn→∞αn<1.

We make use of the following hypothesis:

supδ∈Δsupδ′∈Δ∫logfδ′gδ′fδ<0. (6)

Remark 1.

Since

∫logfδ′gδ′fδ=KFδ,Gδ′−KFδ,Fδ′,

making use of the Chernoff-Stein Lemma (see Theorem A1 in the Appendix A), Hypothesis (6) means that any LRT with H0: pT=fδ vs. H1: pT=gδ′ is asymptotically more powerful than any LRT with H0: pT=fδ vs. H1: pT=fδ′.

Both hypotheses (7) and (8), which are defined below, are used to provide the critical region and the power of the test.

For all δ,δ′ define

Zδ′:=loggδ′fδ′(X),

and let

φδ,δ′(t):=logEFδexptZδ′=log∫gδ′(x)fδ′(x)tfδ(x)dx.

With Nδ,δ′, the set of all t such that φδ,δ′(t) is finite, we assume

Nδ,δ′isanonvoidopenneighborhoodof0. (7)

Define, further,

Jδ,δ′(x):=supttx−φδ,δ′(t),

and let

J(x):=minδ,δ′∈Δ×ΔJδ,δ′(x).

For any η, let

Wη:=−loggηfη(X),

and let

ψη(t):=logEGηexptWη.

Let Mη be the set of all t such that ψη(t) is finite. Assume

Mηisanonvoidneighborhoodof0. (8)

Let

Iη(x):=supttx−logEGηexptWη, (9)

and

I(x):=infηIη(x).

We also assume an accessory condition on the support of Zδ′ and Wη, respectively under Fδ and under Gη (see (A2) and (A5) in the proof of Theorem A1). Suppose the regularity assumptions (7) and (8) are fulfilled for all δ,δ′ and η. Assume, further, that pn fulfills (1).

The following result holds:

Proposition 2.

Whenever (6) holds, for any sequence of levels αn bounded away from 1, defining

An:=J−1−1nlogαnpn,

it holds, for large n, that

PH0H1=supδ∈ΔFδTn>An≤αn

and

PH1H1=supδ∈ΔGδTn>An≥1−exp−nIAn.

3. Minimax Tests under Noisy Data, Least-Favorable Hypotheses

3.1. An Asymptotic Definition for the Least-Favorable Hypotheses

We prove that the above procedure is asymptotically minimax for testing the composite hypothesis H0 against the composite alternative H1. Indeed, we identify the least-favorable hypotheses, say Fδ∗∈H0 and Gδ∗∈H1, which lead to minimal power and maximal first kind risk for these tests. This requires a discussion of the definition and existence of such a least-favourable pair of hypotheses in an asymptotic context; indeed, for a fixed sample size, the usual definition only leads to an explicit definition in very specific cases. Unlike in [1], the minimax tests will not be in the sense of Huber and Strassen. Indeed, on one hand, hypotheses H0 and H1 are not defined in topological neighbourhoods of F0 and G0, but rather through a convolution under a parametric setting. On the other hand, the specific test of H0(δ),δ∈Δ against H1(δ),δ∈Δ does not require capacities dominating the corresponding probability measures.

Throughout the subsequent text, we shall assume that there exists δ∗ such that

minδ∈ΔKFδ,Gδ=KFδ∗,Gδ∗. (10)

We shall call the pair of distributions Fδ_,Gδ_ least-favorable for the sequence of tests 1Tn>An if they satisfy

FδTn≤An≥Fδ_Tn≤An≥Gδ_Tn≤An≥GδTn≤An (11)

for all δ∈Δ. The condition of unbiasedness of the test is captured by the central inequality in (11).

Because, for finite n, such a pair can be constructed only in few cases, we should take a recourse of (11) to the asymptotics n→∞. We shall show that any pair of distributions Fδ∗Gδ∗ achieving (10) are least-favorable. Indeed, it satisfies the inequality (11) asymptotically on the logarithmic scale.

Specifically, we say that Fδ_,Gδ_ is a least-favorable pair of distributions when, for any δ∈Δ,

liminfn→∞1nlogFδ_Tn≤An≥limn→∞1nlogGδ_Tn≤An ≥limn→∞sup1nlogGδTn≤An. (12)

Define the total variation distance

dTVFδ,Gδ:=supBFδ(B)−Gδ(B),

where the supremum is over all Borel sets B of R. We will assume that, for all n,

αn<1−supδ∈ΔdTVFδ,Gδ. (13)

We state our main result, whose proof is deferred to the Appendix B.

Theorem 3.

For any level αn satisfying (13), the pair Fδ∗,Gδ∗ is a least-favorable pair of hypotheses for the family of tests 1Tn≥An, in the sense of (12).

3.2. Identifying the Least-Favorable Hypotheses

We now concentrate on (10).

For given δ∈δmin,δmax with δmin>0, the distribution of the r.v. Vδ is obtained through some transformation from the known distribution of V. The classical example is Vδ=δV, which is a scaling, and where δ is the signal to noise ratio. The following results state that the Kullback-Leibler discrepancy KFδ,Gδ reaches its minimal value when the noise Vδ is “maximal”, under some additivity property with respect to δ. This result is not surprising: Adding noise deteriorates the ability to discriminate between the two distributions F0 and G0—this effect is captured in KFδ,Gδ, which takes its minimal value for the maximal δ.

Proposition 4.

Assume that, for all δ,η, there exists some r.v. Wδ,η such that Vδ+η=dVδ+Wδ,η where Vδ and Wδ,η are independent. Then

δ∗=δmax.

This result holds as a consequence of Lemma A5 in the Appendix C.

In the Gaussian case, when h is the standard normal density, Proposition 4 holds, since hδ+η=hδ∗hη−δ with hε(x):=1/εhx/ε. In order to model symmetric noise, we may consider a symmetrized Gamma density as follows: Set hδ(x):=1/2γ+(1,δ)(x)+1/2γ−(1,δ)(x), where γ+(1,δ) designates the Gamma density with scale parameter 1 and shape parameter δ, and γ−(1,δ) the Gamma density on R− with same parameter. Hence a r.v. with density hδ is symmetrically distributed and has variance 2δ. Clearly, hδ+η(x)=hδ∗hη(x), which shows that Proposition 4 also holds in this case. Note that, except for values of δ less than or equal to 1, the density hδ is bimodal, which does not play in favour of such densities for modelling the uncertainty, due to the noise. In contrast with the Gaussian case, hδ cannot be obtained from h1 by any scaling. The centred Cauchy distribution may help as a description of heavy tailed symmetric noise, and keeps uni-modality through convolution; it satisfies the requirements of Proposition 4 since fδ∗fη(x)=fδ+η(x) where fε(x):=ε/πx2+ε2. In this case, δ acts as a scaling, since fδ is the density of δX where X has density f1.

In practice, the interesting case is when δ is the variance of the noise and corresponds to a scaling of a generic density, as occurs for the Gaussian case or for the Cauchy case. In the examples, which will be used below, we also consider symmetric, exponentially distributed densities (Laplace densities) or symmetric Weibull densities with a given shape parameter. The Weibull distribution also fulfills the condition in Proposition 4, being infinitely divisible (see [12]).

3.3. Numerical Performances of the Minimax Test

As frequently observed, numerical results deduced from theoretical bounds are of poor interest due to the sub-optimality of the involved inequalities. They may be sharpened on specific cases. This motivates the need for simulation. We study two cases, which can be considered as benchmarks.

  1. In the first case, f0 is a normal density with expectation 0 and variance 1, whereas g0 is a normal density with expectation 0.3 and variance 1.

  2. The second case handles a situation where f0 and g0 belong to different models: f0 is a log-normal density with location parameter 1 and scale parameter 0.2, whereas g0 is a Weibull density on R+ with shape parameter 5 and scale parameter 3. Those two densities differ strongly, in terms of asymptotic decay. They are, however, very close to one another in terms of their symmetrized Kullback-Leibler divergence (the so-called Jeffrey distance). Indeed, centering on the log-normal distribution f0, the closest among all Weibull densities is at distance 0.10—the density g0 is at distance 0.12 from f0.

Both cases are treated, considering four types of distribution for the noise:

  1. The noise hδ is a centered normal density with variance δ2;

  2. the noise hδ is a centered Laplace density with parameter λ(δ);

  3. the noise hδ is a symmetrized Weibull density with shape parameter 1.5 and variable scale parameter β(δ); and

  4. the noise hδ is Cauchy with density hδ(x)=γ(δ)/π(γ(δ)2+x2).

In order to compare the performances of the test under those four distributions, we have adopted the following rule: The parameter of the distribution of the noise is tuned such that, for each value δ_, it holds that PVδ_>δ_=Φ(1)−Φ(−1)∼0.65, where Φ stands for the standard Gaussian cumulative function. Thus, distributions b to d are scaled with respect to the Gaussian noise with variance δ2.

In both cases A and B, the range of δ is Δ=δmin=0.1,δmax, and we have selected a number of possibilities for δmax, ranging from 0.2 to 0.7.

In case A, we selected =δmax2=0.5, which has a signal-to-noise ratio equal to 0.7, a commonly chosen bound in quality control tests.

In case B, the variance of f0 is roughly 0.6 and the variance of g0 is roughly 0.4. The maximal value of δmax2 is roughly 0.5. This is thus a maximal upper bound for a practical modeling.

We present some power functions, making use of the theoretical bounds together with the corresponding ones based on simulation runs. As seen, the performances in the theoretical approach is weak. We have focused on simulation, after some comparison with the theoretical bounds.

3.3.1. Case A: The Shift Problem

In this subsection, we evaluate the quality of the theoretical power bound, defined in the previous sections. Thus, we compare the theoretical formula to the empirical lower performances obtained through simulations under the least-favorable hypotheses.

Theoretical Power Bound

While supposedly valid for finite n, the theoretical power bound given by (A8) still assumes some sort of asymptotics, since a good approximation of the bound implies a fine discretization of Δ to compute I(An)=infη∈ΔnIη(An). Thus, by condition (1), n has to be large. Therefore, in the following, we will compute this lower bound for n sufficiently large (that is, at least 100 observations), which is also consistent with industrial applications.

Numerical Power Bound

In order to obtain a minimal bound for the power of the composite test, we compute the power of the test H0(δ∗) against H1(δ∗), where δ∗ defines the LFH pair Fδ∗,Gδ∗.

Following Proposition 4, the LFH for the test defined by Tn when the noise follows a Gaussian, a Cauchy, or a symmetrized Weibull distribution is achieved for Fδmax,Gδmax.

When the noise follows a Laplace distribution, the pair of LFH is the one that satisfies:

Fδ∗,Gδ∗=argmin(Fδ,Gδ),δ∈ΔnK(Fδ,Gδ). (14)

In both of the cases A and B, this condition is also satisfied for δ∗=δmax.

Comparison of the Two Power Curves

As expected, Figure 1, Figure 2 and Figure 3 show that the theoretical lower bound is always below the empirical lower bound, when n is high enough to provide a good approximation of I(An). This is also true when the noise follows a Cauchy distribution, but for a bigger sample size than in the figures above (n>250).

Figure 1.

Figure 1

Theoretical and numerical power bound of the test of case A under Gaussian noise (with respect to n), for the first kind risk α=0.05.

Figure 2.

Figure 2

Theoretical and numerical power bound of the test of case A under symmetrized Weibull noise (with respect to n), for the first kind risk α=0.05.

Figure 3.

Figure 3

Theoretical and numerical power bound of the test of case A under a symmetrized Laplacian noise (with respect to n), for the first kind risk α=0.05.

In most cases, the theoretical bound tends to largely underestimate the power of the test, when compared to its minimal performance given by simulations under the least-favorable hypotheses. The gap between the two also tends to increase as n grows. This result may be explained by the large bound provided by (5), while the numerical performances are obtained with respect to the least-favorable hypotheses.

From a computational perspective, the computational cost of the theoretical bound is far higher than its numeric counterpart.

3.3.2. Case B: The Tail Thickness Problem

The calculation of the moment-generating function, appearing in the formula of Iη(x) in (9), is numerically unstable, which renders the computation of the theoretical bound impossible. Thus, in the following sections, the performances of the test will be evaluated numerically, through Monte Carlo replications.

4. Some Alternative Statistics for Testing

4.1. A Family of Composite Tests Based on Divergence Distances

This section provides a similar treatment as above, dealing now with some extensions of the LRT test to the same composite setting. The class of tests is related to the divergence-based approach to testing, and it includes the cases considered so far. For reasons developed in Section 3.3, we argue through simulation and do not develop the corresponding large deviation approach.

The statistics Tn can be generalized in a natural way, by defining a family of tests depending on some parameter γ. For γ≠0,1, let

ϕγ(x):=xγ−γx+γ−1γ(γ−1)

be a function defined on 0,∞ with values in 0,∞, setting

ϕ0(x):=−logx+x−1

and

ϕ1(x):=xlogx−x+1.

For γ≤2, this class of functions is instrumental in order to define the so-called power divergences between probability measures, a class of pseudo-distances widely used in statistical inference (see, for example, [13]).

Associated to this class, consider the function

φγ(x):=−ddxϕγ(x) =1−xγ−1γ−1forγ≠0,1.

We also consider

φ1(x):=−logxφ0(x):=1x−1,

from which the statistics

Tn,δγ:=1n∑i=1nφγ(Xi)

and

Tnγ:=supδTn,δγ

are well defined, for all γ≤2. Figure 4 illustrates the functions φγ, according to γ.

Figure 4.

Figure 4

φγ for γ=0.5,1, and 2.

Fix a risk of first kind α, and the corresponding power of the LRT pertaining to H0(δ∗) vs. H1(δ∗) by

1−β:=Gδ∗Tn,δ∗1>sα,

with

sα:=infs:Fδ∗Tn,δ∗1>s≤α.

Define, accordingly, the power of the test, based on Tnγ under the same hypotheses, by

sαγ:=infs:Fδ∗Tnγ>s≤α

and

1−β′:=Gδ∗Tnγ>sαγ.

First, δ∗ defines the pair of hypotheses Fδ∗,Gδ∗, such that the LRT with statistics Tn,δ∗1 has maximal power among all tests H0(δ∗) vs. H1(δ∗). Furthermore, by Theorem A1, it has minimal power on the logarithmic scale among all tests H0(δ) vs. H1(δ).

On the other hand, Fδ∗,Gδ∗ is the LF pair for the test with statistics Tn1 among all pairs Fδ,Gδ.

These two facts allow for the definition of the loss of power, making use of Tn1 instead of Tn,δ∗1 for testing H0(δ∗) vs. H1(δ∗). This amounts to considering the price of aggregating the local tests Tn,δ1, a necessity since the true value of δ is unknown. A natural indicator for this loss consists in the difference

Δn1:=Gδ∗Tn,δ∗1>sα−Gδ∗(Tn1>sα1)≥0.

Consider, now, aggregated test statistics Tnγ. We do not have at hand a similar result, as in Proposition 2. We, thus, consider the behavior of the test H0(δ∗) vs. H1(δ∗), although Fδ∗,Gδ∗ may not be a LFH for the test statistics Tnγ. The heuristics, which we propose, makes use of the corresponding loss of power with respect to the LRT, through

Δnγ:=Gδ∗Tn,δ∗1>sα−Gδ∗Tnγ>sαγ.

We will see that it may happen that Δnγ improves over Δn1. We define the optimal value of γ, say γ∗, such that

Δnγ∗≤Δnγ,

for all γ.

In the various figures hereafter, NP corresponds to the LRT defined between the LFH’s Fδ∗,Gδ∗, KL to the test with statistics Tn1 (hence, as presented Section 2), HELL corresponds to Tn1/2, which is associated to the Hellinger power divergence, and G = 2 corresponds to γ=2.

4.2. A Practical Choice for Composite Tests Based on Simulation

We consider the same cases A and B, as described in Section 3.3.

As stated in the previous section, the performances of the different test statistics are compared, considering the test of H0(δ∗) against H1(δ∗) where δ∗ is defined, as explained in Section 3.3 as the LFH for the test Tn1. In both cases A and B, this corresponds to δ∗=δmax.

4.2.1. Case A: The Shift Problem

Overall, the aggregated tests perform well, when the problem consists in identifying a shift in a distribution. Indeed, for the three values of γ (0.5, 1, and 2), the power remains above 0.7 for any kind of noise and any value of δ∗. Moreover, the power curves associated to Tnγ mainly overlap with the optimal test Tn,δ∗1.

  1. Under Gaussian noise, the power remains mostly stable over the values of δ∗, as shown by Figure 5. The tests with statistics Tn1 and Tn2 are equivalently powerful for large values of δ∗, while the first one achieves higher power when δ∗ is small.

  2. When the noise follows a Laplace distribution, the three power curves overlap the NP power curve, and the different test statistics can be indifferently used. Under such a noise, the alternative hypotheses are extremely well distinguished by the class of tests considered, and this remains true as δ∗ increases (cf. Figure 6).

  3. Under the Weibull hypothesis, Tn1 and Tn2 perform similarly well, and almost always as well as Tn,δ∗1, while the power curve associated to Tn1/2 remains below. Figure 7 illustrates that, as δmax increases, the power does not decrease much.

  4. Under a Cauchy assumption, the alternate hypotheses are less distinguishable than under any other parametric hypothesis on the noise, since the maximal power is about 0.84, while it exceeds 0.9 in cases a, b, and c (cf. Figure 5, Figure 6, Figure 7 and Figure 8). The capacity of the tests to discriminate between H0(δmax) and H1(δmax) is almost independent of the value of δmax, and the power curves are mainly flat.

Figure 5.

Figure 5

Power of the test of case A under Gaussian noise (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

Figure 6.

Figure 6

Power of the test of case A under Laplacian noise (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

Figure 7.

Figure 7

Power of the test of case A under symmetrized Weibull noise (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

Figure 8.

Figure 8

Power of the test of case A under noise following a Cauchy distribution (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

4.2.2. Case B: The Tail Thickness Problem

  1. With the noise defined by case A (Gaussian noise), for KL (γ=1), δ∗=δmax due to Proposition 4 and statistics Tn1 provides the best power uniformly upon δmax. Figure 9 shows a net decrease of the power as δmax increases (recall that the power is evaluated under the least favorable alternative Gδmax).

  2. When the noise follows a Laplace distribution, the situation is quite peculiar. For any value of δ in Δ, the modes MGδmax and MFδmax of the distributions of fδ/gδX under Gδmax and under Fδmax are quite separated; both larger than 1. Also, for δ all the values of |ϕγ(MGδmax)−ϕγ(MFδmax)| are quite large for large values of γ. We may infer that the distributions of ϕγfδ/gδX under Gδmax and under Fδmax are quite distinct for all δ, which in turn implies that the same fact holds for the distributions of Tnγ for large γ. Indeed, simulations presented in Figure 10 show that the maximal power of the test tends to be achieved when γ=2.

  3. When the noise follows a symmetric Weibull distribution, the power function when γ=1 is very close to the power of the LRT between Fδmax and Gδmax (cf. Figure 11). Indeed, uniformly on δ, and on x, the ratio fδ/gδx is close to 1. Therefore, the distribution of Tn1 is close to that of Tn,δmax1, which plays in favor of the KL composite test.

  4. Under a Cauchy distribution, similarly to case A, Figure 12 shows that Tnγ achieves the maximal power for γ=1 and 2, closely followed by γ=0.5.

Figure 9.

Figure 9

Power of the test of case B under Gaussian noise (with respect to δmax), for the first kind risk α=0.05 and sample size n=100. The NP curve corresponds to the optimal Neyman Pearson test under δmax. The KL, Hellinger, and G=2 curves stand respectively for γ=1,γ=0.5, and γ=2 cases.

Figure 10.

Figure 10

Power of the test of case B under Laplacian noise (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

Figure 11.

Figure 11

Power of the test of case B under symmetrized Weibull noise (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

Figure 12.

Figure 12

Power of the test of case B under a noise following a Cauchy distribution (with respect to δmax), for the first kind risk α=0.05 and sample size n=100.

5. Conclusions

We have considered a composite testing problem, where simple hypotheses in either H0 and H1 were paired, due to corruption in the data. The test statistics were defined through aggregation of simple likelihood ratio tests. The critical region for this test and a lower bound of its power was produced. We have shown that this test is minimax, evidencing the least-favorable hypotheses. We have considered the minimal power of the test under such a least favorable hypothesis, both theoretically and by simulation, and for a number of cases (including corruption by Gaussian, Laplacian, symmetrized Weibull, and Cauchy noise). Whatever this noise, the actual minimal power, as measured through simulation, was quite higher than obtained through analytic developments. Least-favorable hypotheses were defined in an asymptotic sense, and were proved to be the pair of simple hypotheses in H0 and H1 which are closest, in terms of the Kullback-Leibler divergence; this holds as a consequence of the Chernoff-Stein Lemma. We, next, considered aggregation of tests where the likelihood ratio was substituted by a divergence-based statistics. This choice extended the former one, and may produce aggregate tests with higher power than obtained through aggregation of the LRTs, as examplified and analysed. Open questions are related to possible extensions of the Chernoff-Stein Lemma for divergence-based statistics.

Acknowledgments

The authors are thankful to Jan Kalina for discussion; they also thank two anonymous referees for comments which helped to improve on a former version of this paper.

Appendix A. Proof of Proposition 2

Appendix A.1. The Critical Region of the Test

Define

Zδ′:=loggδ′fδ′(X),

which satisfies

EFδZδ′=∫loggδ′fδ′(x)fδ(x)dx =∫loggδ′fδ(x)fδ(x)dx+∫logfδfδ′(x)fδ(x)dx =KFδ,Gδ′−KFδ,Gδ′.

Note that, for all δ,

KFδ,Gδ′−KFδ,Gδ′=∫loggδ′fδ′fδ

is negative for δ′ close to δ, assuming that

δ′↦∫loggδ′fδ′fδ

is a continuous mapping. Assume, therefore, that (6) holds, which means that the classes of distributions Gδ and Fδ are somehow well separated. This implies that EFδZδ′<0, for all δ and δ′.

In order to obtain an upper bound for FδTn,δ′Xn>An, for all δ,δ′ in Δ, through the Chernoff Inequality, consider

φδ,δ′(t):=logEFδexptZδ′=log∫gδ′(x)fδ′(x)tgδ(x)dx.

Let

t+Nδ,δ′:=supt∈Nδ,δ′:φδ,δ′(t)<∞.

The function δ,δ′,x↦Jδ,δ′(x) is continuous on its domain, and since t↦φδ,δ′(t) is a strictly convex function which tends to infinity as t tends to t+Nδ,δ′, it holds that

limx→∞Jδ,δ′(x)=+∞

for all δ,δ′ in Δn.

We now consider an upper bound for the risk of first kind on a logarithmic scale.

We consider

An>EFδZδ′, (A1)

for all δ,δ′. Then, by the Chernoff inequality

1nlogFδTn,δ′Xn>An≤−Jδ,δ′An.

Since An should satisfy

exp−nJδ,δ′An≤αn,

with αn bounded away from 1, An surely satisfies (A1) for large n.

The mapping mδ,δ′(t):=d/dtφδ,δ′(t) is a homeomorphism from Nδ,δ′ onto the closure of the convex hull of the support of the distribution of Zδ′ under Fδ (see, e.g., [14]). Denote

ess supδZδ′:=supx:forallϵ>0,FδZδ′∈x−ϵ,x>0.

We assume that

ess supδZδ′=+∞, (A2)

which is convenient for our task, and quite common in practical industrial modelling. This assumption may be weakened, at notational cost mostly. It follows that

limt→t+Nδ,δ′mδ,δ′(t)=+∞.

It holds that

Jδ,δ′EFδZδ′=0,

and, as seen previously

limx→∞Jδ,δ′x=+∞.

On the other hand,

mδ,δ′(0)=EFδZδ′=KFδ,Fδ′−KFδ,Gδ′<0.

Let

I:=supδ,δ′EFδZδ′,∞ =supδ,δ′KFδ,Fδ′−KFδ,Gδ′,∞.

By (A2), the interval I is not void.

We now define An such that (4) holds, namely

PH0(H1)≤pnmaxδmaxδ′FδTn,δ′>An≤αn

holds for any αn in 0,1. Note that

An≥maxδ,δ′EFδZδ′=maxδ,δ′∈Δ×ΔKFδ,Fδ′−KFδ,Gδ′, (A3)

for all n large enough, since αn is bounded away from 1.

The function

J(x):=minδ,δ′∈Δ×ΔJδ,δ′(x)

is continuous and increasing, as it is the infimum of a finite collection of continuous increasing functions defined on I.

Since

PH0(H1)≤pnexp−nJ(An),

given αn, define

An:=J−1−1nlogαnpn. (A4)

This is well defined for αn∈0,1, as supδ,δ′∈Δ×ΔEFδZδ′<0 and −1/nlogαn/pn>0.

Appendix A.2. The Power Function

We now evaluate a lower bound for the power of this test, making use of the Chernoff inequality to get an upper bound for the second risk.

Starting from (5),

PH1(H0)≤supη∈ΔGηTn,η≤An,

and define

Wη:=−loggηfη(x).

It holds that

EGηWη=∫logfη(x)gη(x)gη(x)dx=−K(Gη,Fη),

and

mη(t):=d/dtlogEGηexptWη,

which is an increasing homeomorphism from Mη onto the closure of the convex hull of the support of Wη under Gη. For any η, the mapping

x↦Iη(x)

is a strictly increasing function of Kη:=EGηWη,∞ onto 0,+∞, where the same notation as above holds for ess supηWη (here under Gη), and where we assumed

ess supηWη=∞ (A5)

for all η.

Assume that An satisfies

An∈K:=⋂η∈ΔKη (A6)

namely

An≥supη∈ΔEGηWη=−infη∈ΔKGη,Fη. (A7)

Making use of the Chernoff inequality, we get

PH1(H0)≤exp−ninfη∈ΔIη(An).

Each function x↦Iη(x) is increasing on (EGηWη,∞). Therefore the function

x↦I(x):=infη∈ΔIη(x)

is continuous and increasing, as it is the infimum of a finite number of continuous increasing functions on the same interval K, which is not void due to (A5).

We have proven that, whenever (A7) holds, a lower bound tor the test of H0 vs. H1 is given by

PH1(H1)≥1−exp−nI(An) =1−exp−nIJ−1−1nlogαnpn. (A8)

We now collect the above discussion, in order to complete the proof.

Appendix A.3. A Synthetic Result

The function J is one-to-one from I onto K:=Jsupδ,δ′∈Δ×ΔEδZδ′,∞. Since Fδ,Jδ,δ′EδZδ′ = 0, it follows that Jsupδ,δ′∈Δ×ΔEδZδ′≥0. Since EFδZδ′=KFδ,Fδ′−KFδ,Gδ′<0, whenever αn in 0,1 there exists a unique An∈−infδ,δ′∈Δ×ΔKFδ,Gδ′−KFδ,Fδ′,∞ which defines the critical region with level αn.

For the lower bound on the power of the test, we have assumed An∈K=supη∈ΔEηWη,∞=−infη∈ΔK(Gη,Fη),∞.

In order to collect our results in a unified setting, it is useful to state some connection between infδ,δ′∈Δ×Δ[K(Fδ,Gδ′)−K(Fδ,Fδ′)] and infη∈ΔK(Gη,Fη). See (A3) and (A7).

Since K(Gδ,Fδ) is positive, it follows from (6) that

supδ,δ′∈Δ×Δ∫logfδ′gδ′fδ<supδ∈ΔK(Gδ,Fδ), (A9)

which implies the following fact:

Let αn be bounded away from 1. Then (A3) is fulfilled for large n, and therefore there exists An such that

supδ∈ΔFδTn>An≤αn.

Furthermore, by (A9), Condition (A7) holds, which yields the lower bound for the power of this test, as stated in (A8).

Appendix B. Proof of Theorem 3

We will repeatedly make use of the following result (Theorem 3 in [15]), which is an extension of the Chernoff-Stein Lemma (see [16]).

Theorem A1.

[Krafft and Plachky] Let xn, such that

FδTn,δ>xn≤αn

with limsupn→∞αn<1. Then

limn→∞1nlogGδTn,δ≤xn=−KFδ,Gδ.

Remark A2.

The above result indicates that the power of the Neyman-Pearson test only depends on its level on the second order on the logarithmic scale.

Define An,δ∗ such that

Fδ∗Tn≤An=Fδ∗Tn,δ∗≤An,δ∗.

This exists and is uniquely defined, due to the regularity of the distribution of Tn,δ∗ under Fδ∗. Since 1Tn,δ∗>An is the likelihood ratio test of H0(δ∗) against H1(δ∗) of the size αn, it follows, by unbiasedness of the LRT, that

Fδ∗Tn≤An=Fδ∗Tn,δ∗≤An,δ∗≥Gδ∗Tn,δ∗≤An,δ∗.

We shall later verify the validity of the conditions of Theorem A1; namely, that

limsupn→∞Fδ∗Tn,δ∗≤An,δ∗<1. (A10)

Assuming (A10) we get, by Theorem A1,

limsupn→∞1nlogFδ∗Tn≤An≥limn→∞1nlogGδ∗Tn,δ∗≤An,δ∗=−KFδ∗,Gδ∗.

We shall now prove that

limn→∞1nlogGδ∗Tn,δ∗≤An,δ∗=limn→∞1nlogGδ∗Tn≤An.

Let Bn,δ∗, such that

Gδ∗Tn,δ∗≤Bn,δ∗=Gδ∗Tn≤An.

By regularity of the distribution of Tn,δ∗ under Gδ∗, such a Bn,δ∗ is defined in a unique way. We will prove that the condition in Theorem A1 holds, namely

limsupn→∞Fδ∗Tn,δ∗≤Bn,δ∗<1. (A11)
limn→∞1nlogGδ∗Tn,δ∗≤An,δ∗=limn→∞1nlogGδ∗Tn≤An=−KFδ∗,Gδ∗.

Incidentally, we have obtained that limn→∞1nlogGδ∗Tn≤An exists. Therefore we have proven that

limsupn→∞1nlogFδ∗Tn≤An≥limn→∞1nlogGδ∗Tn≤An,

which is a form of unbiasedness. For δ≠δ∗, let Bn,δ be defined by

GδTn,δ≤Bn,δ=GδTn≤An.

As above, Bn,δ is well-defined. Assuming

limsupn→∞FδTn,δ≤Bn,δ<1, (A12)

it follows, from Theorem A1, that

limn→∞1nlogGδTn≤An=limn→∞1nlogGδTn,δ≤Bn,δ=−KFδ,Gδ.

Since KFδ∗,Gδ∗≤KFδ,Gδ, we have proven

limsupn→∞1nlogFδ∗Tn≤An≥limn→∞1nlogGδ∗Tn≤An≥limn→∞1nlogGδTn≤An.

It remains to verify the conditions (A10)–(A12). We will only verify (A12), as the two other conditions differ only by notation. We have

GδTn,δ>Bn,δ=GδTn>An≤FδTn>An+dTVFδ,Gδ ≤αn+dTVFδ,Gδ<1,

by hypothesis (13). By the law of large numbers, under Gδ

limn→∞Tn,δ=K(Gδ,Fδ)[Gδ−a.s.].

Therefore, for large n,

liminfn→∞Bn,δ≥K(Gδ,Fδ)[Gδ−a.s.].

Since, under Fδ,

limn→∞Tn,δ=−K(Fδ,Gδ)[Fδ−a.s.],

this implies that

limn→∞FδTn,δ>Bn,δ<1.

Appendix C. Proof of Proposition 4

We now prove the three lemmas that we used.

Lemma A3.

Let P, Q, and R denote three distributions with respective continuous and bounded densities p, q, and r. Then

K(P∗R,Q∗R)≤K(P,Q). (A13)

Proof. 

Let P:=A1,…,AK be a partition of R and p:=p1,…,pK denote the probabilities of A1,…,AK under P. Set the same definition for q1,…,qK and for r1,…,rK. Recall that the log-sum inequality writes

∑ailog∑bi∑ci≤∑ailogbici

for positive vectors aii, bii and cii. By the above inequality, for any i∈{1,…,K}, denoting p∗r to be the convolution of p and r,

p∗rjlogp∗rjq∗rj≤∑i=1Kpjri−jlogpjri−jqjri−j.

Summing over j∈{1,…,K} yields

∑j=1Kp∗rjlogp∗rjq∗rj≤∑j=1Kpjlogpjqj,

which is equivalent to

KP(P∗R,Q∗R)≤KP(P,Q),

where KP designates the Kullback-Leibler divergence defined on P. Refine the partition and go to the limit (Riemann Integrals), to obtain (A13). □

We now set a classical general result which states that, when Rδ denotes a family of distributions with some decomposability property, then the Kullback-Leibler divergence between P∗Rδ and Q∗Rδ is a decreasing function of δ.

Lemma A4.

Let P and Q satisfy the hypotheses of Lemma A3 and let Rδδ>0 denote a family of p.m.’s on R, and denote accordingly Vδ to be a r.v. with distribution Rδ. Assume that, for all δ and η, there exists a r.v. Wδ,η, independent upon Vδ, such that

Vδ+η=dVδ+Wδ,η.

Then the function δ↦KP∗Rδ,Q∗Rδ is non-increasing.

Proof. 

Using Lemma A3, it holds that, for positive η,

KP∗Rδ+η,Q∗Rδ+η=KP∗Rδ∗Wδ,η,Q∗Rδ∗Wδ,η ≤KP∗Rδ,Q∗Rδ,

which proves the claim. □

Lemma A5.

Let P, Q, and R be three probability distributions with respective continuous and bounded densities p,q, and r.Assume that

K(P,Q)≤K(Q,P),

where all involved quantities are assumed to be finite. Then

K(P∗R,Q∗R)≤K(Q∗R,P∗R).

Proof. 

We proceed as in Lemma A3, using partitions and denoting by p1,…,pK the induced probability of P on P. Then,

KP(P∗R,Q∗R)−KP(Q∗R,P∗R)=∑i∑jpjri−j+qjri−jlog∑jpjri−j∑jqjri−j ≤∑j∑ipjri−j+qjri−jlogpjqj =∑jpj+qjlogpjqj =KPP,Q−KPQ,P≤0,

where we used the log-sum inequality and the fact that K(P,Q)≤K(Q,P) implies KPP,Q≤KPQ,P, by the data-processing inequality. □

Author Contributions

Conceptualization, M.B. and J.J.; Methodology, M.B., J.J., A.K.M. and E.M.; Software, E.M.; Validation, M.B., A.K.M. and E.M.; Formal Analysis, M.B. and J.J.; Writing Original Draft Preparation, M.B., J.J., E.M. and A.K.M.; Supervision, M.B.

Funding

The research of Jana Jurečková was supported by the Grant 18-01137S of the Czech Science Foundation. Michel Broniatowski and M. Ashok Kumar would like to thank the Science and Engineering Research Board of the government of India for the financial support for their collaboration through the VAJRA scheme.

Conflicts of Interest

The authors declare no conflict of interest.

References

  • 1.Broniatowski M., Jurečková J., Kalina J. Likelihood ratio testing under measurement errors. Entropy. 2018;20:966. doi: 10.3390/e20120966. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Guo D. Relative entropy and score function: New information-estimation relationships through arbitrary additive perturbation; Proceedings of the IEEE International Symposium on Information Theory (ISIT 2009); Seoul, Korea. 28 June–3 July 2009; pp. 814–818. [Google Scholar]
  • 3.Huber P., Strassen V. Minimax tests and the Neyman-Pearson lemma for capacities. Ann. Stat. 1973;2:251–273. doi: 10.1214/aos/1176342363. [DOI] [Google Scholar]
  • 4.Eguchi S., Copas J. Interpreting Kullback-Leibler divergence with the Neyman-Pearson lemma. J. Multivar. Anal. 2006;97:2034–2040. doi: 10.1016/j.jmva.2006.03.007. [DOI] [Google Scholar]
  • 5.Narayanan K.R., Srinivasa A.R. On the thermodynamic temperature of a general distribution. arXiv. 2007. 0711.1460
  • 6.Bahadur R.R. Stochastic comparison of tests. Ann. Math. Stat. 1960;31:276–295. doi: 10.1214/aoms/1177705894. [DOI] [Google Scholar]
  • 7.Bahadur R.R. Some Limit Theorems in Statistics. Society for Industrial and Applied Mathematics; Philadelpha, PA, USA: 1971. [Google Scholar]
  • 8.Birgé L. Vitesses maximales de décroissance des erreurs et tests optimaux associés. Z. Wahrsch. Verw. Gebiete. 1981;55:261–273. doi: 10.1007/BF00532119. [DOI] [Google Scholar]
  • 9.Tusnády G. On asymptotically optimal tests. Ann. Stat. 1987;5:385–393. doi: 10.1214/aos/1176343804. [DOI] [Google Scholar]
  • 10.Liese F., Vajda I. Convex Statistical Distances. Teubner; Leipzig, Germany: 1987. [Google Scholar]
  • 11.Tsallis C. Possible generalization of BG statistics. J. Stat. Phys. 1987;52:479–485. doi: 10.1007/BF01016429. [DOI] [Google Scholar]
  • 12.Goldie C. A class of infinitely divisible random variables. Proc. Camb. Philos. Soc. 1967;63:1141–1143. doi: 10.1017/S0305004100042225. [DOI] [Google Scholar]
  • 13.Basu A., Shioya H., Park C. Statistical Inference: The Minimum Distance Approach. CRC Press; Boca Raton, FL, USA: 2011. [Google Scholar]
  • 14.Barndorff-Nielsen O. Information and Exponential Families in Statistical Theory. John Wiley & Sons; New York, NY, USA: 1978. [Google Scholar]
  • 15.Krafft O., Plachky D. Bounds for the power of likelihood ratio tests and their asymptotic properties. Ann. Math. Stat. 1970;41:1646–1654. doi: 10.1214/aoms/1177696808. [DOI] [Google Scholar]
  • 16.Chernoff H. Large-sample theory: Parametric case. Ann. Math. Stat. 1956;27:1–22. doi: 10.1214/aoms/1177728347. [DOI] [Google Scholar]

Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES