Abstract
This document contains supplemental material for the paper [2]. The notations in this document are the same as in [2]. In particular, we first present here the proof of Theorem 1 in [2]. This theorem expresses the locally most powerful unbiased (LMPU) test, which is a general method for local detection, in the presence of known nuisance parameters. Second, we present here the Matlab code of the LMPU and the generalized LMPU for the special case of detection of a small deviation in the frequency of sinusoidal signals, which arises in various signal processing applications.
Keywords: Locally most powerful, Unbiased test, Nuisance parameters, Low-complexity methods, Frequency deviation
Specifications Table
| Subject | Data Mining and Statistical Analysis |
| Specific subject area | Detection Theory |
| Type of data | Mathematical derivations, MATLAB code |
| How data were acquired | All source codes written in Matlab software. |
| Data format | Raw |
| Parameters for data collection | All the codes were implemented in MATLAB-R2019a on a system with Intel Core(TM) i7-10TH GEN CPU computer,2.80 GHz. |
| Description of data collection | The MATLAB code was configured as a function. The experiments were conducted by generating Monte-Carlo simulations of the model from (1) in [2], where the noise is generated by the Matlab function: wgn(N,’complex’), in which is the number of measurements. |
| Data source location | All relevant data is contained in this paper |
| Data accessibility | With the article |
| Related research article | E. Levy and T. Routtenberg, “Low-complexity detection of small frequency deviations by the generalized LMPU test,” Signal Processing, https://doi.org/10.1016/j.sigpro.2020.107851. |
Value of the Data
-
•
This document contains the proof of Theorem 1 in [2], which expresses the LMPU test that is a function of a known parameter vector, . This is used in [2] to develop the GLMPU. This proof is important for the sake of completeness and since the LMPU it is less widely used than other detectors.
-
•
This proof can be used in the future for developing new tests for various scenarios.
-
•
The provided codes can be used for the detection of frequency deviations with low complexity.
1. Data Description
This article contains supplementary material for the paper in [2]. Specifically, it contains the proof of Theorem 1 in [2] and the code files in Matlab that were used to generate the graphs in [2]. Theorem 1 in [2] presents the locally most powerful unbiased (LMPU) test, which is a general test that maximizes the probability of detection under the -size and unbiasedness constraints. This theorem presents the explicit test as a function of the likelihood function and as a function of the unknown nuisance parameters. The Matlab code contains the functions of the LMPU and generalized LMPU (GLMPU) tests that were used to generate Figs. 1–7 in [2], and is attached to this paper.
2. Experimental Design, Materials and Methods
3. Proof of Theorem 1 in [2]
A general non-random test, based on the observation vector, can be defined as
| (3.1) |
where is the rejection region, which includes the values of that lead to rejection of (acceptance of ).
In (6) in [2] we describe the general two-sided composite hypothesis testing problem, in which under the null hypothesis and under the alternative hypothesis, and is a nuisance parameter vector that appears under both hypotheses.
The power function of a general test (3.1), for this hypothesis testing is defined by (p. 69 in [1]):
| (3.2) |
The pdf of under both hypotheses, is assumed to be a continuous and twice differentiable function w.r.t. the local parameter, for any unknown nuisance parameter vector, . Therefore, the power function is also a continuous function w.r.t. the local parameter, especially at .
A level- unbiased test, is said to be the LMPU test (p. 340 in [1]) if, for any other given level- unbiased test there exists such that
| (3.3) |
where is the two-sided local neighborhood around as defined in (7) in [2]. Thus, the LMPU test is obtained by maximizing the power function, among all locally unbiased tests under the -size and unbiasedness constraints from (10) and (11) in [2], respectively, in the neighborhood of . The constraints from (10) and (11) in [2] can be rewritten by using (3.2) as follows:
| (3.4) |
| (3.5) |
Together, these constraints indicate that has a minimum point at on the set . Since we assume that the common pdf, is twice differentiable in the local neighborhood of for any the constraint in (3.5) can be replaced by the stationary condition
| (3.6) |
together with the condition
| (3.7) |
Therefore, by concluding the constraints in (3.4), (3.6), and (3.7), the LMPU test can be obtained from the solution of the following constrained optimization problem:
| (3.8) |
Under the assumptions of differentiability, the Taylor series expansion of the power function, around is given by:
| (3.9) |
where the last equality is obtained by substituting the constraint on the false alarm probability from (3.4) and the unbiasedness constraint from (3.6). Thus, according to (3.9), in order to obtain the highest power, for a given and we need to maximize the second order term, for both and and this leads to the LMPU test. In addition, under the constraint (3.9) implies that the constraint in (3.7) is redundant for the maximization of (which is always equal to or larger than ). Thus, the maximization in (3.8) is equivalent to the following optimization:
| (3.10) |
By using (3.2), it can be verified that
| (3.11) |
Under the assumption that the test, is independent of the parameter the integration and derivatives in (3.11) can be reordered to obtain
| (3.12) |
Similarly,
| (3.13) |
Therefore, by substituting (3.12) and (3.13) in (3.10), the integral form of (3.10) is
| (3.14) |
By using the auxiliary lemma of the Generalized Neyman-Pearson lemma (p. 77 in [1]) with and the LMPU test that solved (3.14) rejects the null hypothesis when
| (3.15) |
where the constants and are chosen such that the constraints in (3.14) (or, equivalently, the constraints in (3.10)) are satisfied. That is, and are chosen such that and are satisfied for the test defined by (3.15). In addition, it can be verified that
| (3.16) |
and
| (3.17) |
By substituting (3.16) into (3.17), one obtains
| (3.18) |
Then, by substituting (3.16) and (3.18) in (3.15), we get that the LMPU test that solved (3.14) is the LMPU test for a known parameter vector, given in (12) in [2].
4. Code Files
The source code for the LMPU and GLMPU functions for the special case of testing frequency deviations is given below. The MATLAB scripts are used to generate the simulations in [2], as follows:
-
•
- calculates the LMPU test from (21) in [2] for the detection of a small deviation in the frequency of sinusoidal signals, where the amplitudes and noise variance are unknown.
-
•
- calculates the GLMPU test from (23) in [2] for the detection of a small deviation in the frequency of sinusoidal signals, where the amplitudes and noise variance are unknown.


Ethics Statement
The authors declare that this work has been done according to the ethical requirements for publication in Data in Brief.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships which have, or could be perceived to have, influenced the work reported in this article.
Acknowledgments
This research was partially supported by The Israel Science Foundation (grant no. 1173/16) and by the Israeli Ministry of National Infrastructure, Energy and Water Resources.
References
- 1.Lehmann E.L., Romano J.P. Springer Science & Business Media; 2006. Testing Statistical Hypotheses. [Google Scholar]
- 2.Levy E., Routtenberg T. Low-complexity detection of small frequency deviations by the generalized LMPU test. Signal Process. 2021;180 doi: 10.1016/j.sigpro.2020.107851. [DOI] [PMC free article] [PubMed] [Google Scholar]
