Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Next Article in Journal
Enabling Timely Medical Intervention by Exploring Health-Related Multivariate Time Series with a Hybrid Attentive Model
Next Article in Special Issue
EEG Authentication System Based on One- and Multi-Class Machine Learning Classifiers
Previous Article in Journal
Multi-Geometric Reasoning Network for Insulator Defect Detection of Electric Transmission Lines
Previous Article in Special Issue
Non-Intrusive Fish Weight Estimation in Turbid Water Using Deep Learning and Regression Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Testing for a Random Walk Structure in the Frequency Evolution of a Tone in Noise

1
Department of Electrical and Electronic Engineering, University of Melbourne, Parkville, VIC 3010, Australia
2
School of Physics, University of Melbourne, Parkville, VIC 3010, Australia
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(16), 6103; https://doi.org/10.3390/s22166103
Submission received: 13 May 2022 / Revised: 2 August 2022 / Accepted: 8 August 2022 / Published: 15 August 2022
(This article belongs to the Special Issue Feature Papers in Smart and Intelligent Sensors Systems)

Abstract

:
Inference and hypothesis testing are typically constructed on the basis that a specific model holds for the data. To determine the veracity of conclusions drawn from such data analyses, one must be able to identify the presence of the assumed structure within the data. In this paper, a model verification test is developed for the presence of a random walk-like structure in the variations in the frequency of complex-valued sinusoidal signals measured in additive Gaussian noise. This test evaluates the joint inference of the random walk hypothesis tests found in economics literature that seek random walk behaviours in time series data, with an additional test to account for how the random walk behaves in frequency space.

1. Introduction

Many analyses done today are model-based and inference results drawn from these works rely heavily on strong assumptions to hold. One may ask if the models used are the correct choice; and if true, or if not, what impact that would have on the veracity of the results. The questions surrounding verifying decisions in model selection have been popular fields of inquiry. (See [1,2] for thorough reviews of model selection methods.)
This paper considers a specific structure identification (SID) problem: to determine if a given time series arose from noisy samples of a sinusoid whose frequency varies according to a random walk (RW). This problem has important practical applications in several areas of signal processing as discussed briefly in Section 1.1 and is part of the long-established theoretical tradition of optimal detection and estimation for tones with randomly varying frequency. Our current motivation relates to the, as yet unsuccessful, search for continuous gravitational waves (CGWs). The structure of the frequency variation of such signals has astrophysical significance.
Since the seminal works of Kolmogorov and Wiener in the 1940s, the majority of sensor-type signal processing approaches are model-based. Sensor-type signal processing techniques based on carefully defined models of sensors and signals have two huge advantages—firstly, optimal processing methods can be developed by exploiting model structure, and secondly, performance can often be characterized analytically.
There are, however, certain disadvantages. If the model is not an accurate description of the sensor, the signals, or both, then the above advantages can be diminished.
To address this issue, over the past 50 years many techniques for identifying parameterized models of given structure from measured data have been developed including adaptive methods which continually adjust the model parameters in real-time based on the most recent data. Robust techniques have been developed to maintain near-optimal performance under fairly broad modelling errors including classes of structural errors.
The next important step in model-based sensor and signal processing problems is the validation of models. In some situations, model validation can be based on ground truth, though this is rarely possible.
Recently, there has been growing interest and activity in quantifying the evidence for a model which is being used in a model-based optimal-sensor signal processing scenario. That is, given a model and an optimal processing solution—there is interest in determining the evidence for the model being used based on observed data and optimally-processed outputs. A comprehensive review covering methods for evaluating evidence for a model can be found in the recent paper [3].
The theoretical foundations of general SID (as opposed to parameter estimation) are still not well developed. Existing approaches such as Bayes factor-based methods, model residual testing, and multiple hypotheses testing all propose a structure, and then test in different ways how strongly the data are consistent with the model. While this is an advance on parametric estimation for a fixed given model, it is still a long way from true structural discovery.
For the problem considered in this paper, an initial question is how to even determine whether an RW is present in the data. This is a well-researched field in the econometrics literature known as random walk hypothesis (RWH) testing [4]. Such methods try to determine from a recording of time-series data whether the data behaves as an RW.
The second question is then how to distinguish between an RW and the trigonometric function of an RW. One key quality that comes into play here is that the resulting process is bounded so it is trivial to do this given sufficiently a long recording time. However, many processes are random and bounded and the RWH techniques would not distinguish the raw trigonometrically transformed data by design. To distinguish, one must pick out the component believed to act as an RW (the frequencies of the signal). Conventionally this is done by the Fourier transform.
Once in Fourier space, one may then naively think to simply apply RWH testing techniques and yield a viable result. A challenge comes from the fact that frequency space is cyclic. Given that, it then becomes a challenge to distinguish between something that would resemble an RW under RWH testing and the Fourier transform of white Gaussian noise (WGN).
We argue here that should the trigonometrically transformed-RW in question vary slowly, it could be distinguished from the Fourier transform of WGN and so be susceptible to RWH testing methodologies.
We will present a non-nested multiple hypothesis procedure to test if a structure (RW frequency signal) is a good model. The choice of hypotheses is important in order to avoid structures that are RW-like but not actually RWs. We create four hypotheses which enable sharp discrimination between RW structure and structures which generate data close to an RW in frequency space.
For completeness, we briefly outline a number of approaches to SID. We then explain the logic underlying the multiple hypothesis structure we analyse in this paper.
Bellman & Åström [5] set out a criterion for structural identifiability, and a generalised approach to SID problems. However, a key challenge is the arbitrary nature of setting criteria for accepting a given model over others while minimising complexity. One of the earliest attempts to deal with this complex problem is the Akaike Information Criterion (AIC) proposed in [6], based on a form of dimension-penalization. However, as Rissanen argued [7], Akaike’s criterion only minimizes total predictive error in the degenerate case where one model size yields an estimate with probability one. Rissanen proposed the Minimum Descriptor Length (MDL) criterion [7], which is invariant under linear coordinate transformations and consistent with respect to dimension estimation. Additionally, Willems formalized SID problems through a behavioural approach [8] that asks ‘given inputs and outputs to a system, does any structure exist at all which may model such behaviours?’ ‘Tearing’ [framing the system as a network of interconnected subsystems], ‘zooming’ [modelling the subsystems], and ‘linking’ [modelling the connections between subsystems] offer systematic approaches to the task. More recently, kernel-based methods implemented in the machine learning methodology have been a popular tool (see [9] for a thorough review). Few of them have addressed the issue of generating hypothesis tests on the model structure when applied to an observed phenomenon. Kernel methods test whether a structure of some sort works, without identifying it explicitly [9]; this is not what we seek to do. Rather, we ask whether a specific structure accurately models an observed phenomenon in a statistically significant sense.
We explore an SID problem, which we phrase through the lens of model detection. This is intrinsically different from a signal detection problem with a known (or more appropriately assumed) signal model. We wish to decide whether any sinusoidal signal with random time-based variations in its instantaneous frequency can provide a fit, with confidence, to the given data. This, rather, seeks the presence of a structure in a record, not the presence of a signal with a specified structure. However, what we observe is the signal itself, and not its underlying parameters. Furthermore, here we seek whether the data fits into a class of models, and so do not impose any specific model (target signal) within the said class. Thus, given that within the class the model parameters may be arbitrary, we assume that they are unknown. In the case of detection, with unknown parameters, we then must implement estimation procedures to verify whether the data resembles a sinusoidal signal with time variation in its tone.
The parameter estimation problem of optimally estimating the frequency of a constant frequency tone based on noisy measurements of the tone is among the well-studied problem in signal processing with many papers exploring its finer details. The general problem itself was formulated in discrete time by Rife and Boorstyn [10], following the work of Slepian [11] in continuous time. In approaching our problem, we assume that the instantaneous frequency varies linearly over short time intervals (snapshots, blocks) and follows an RW structure from snapshot to snapshot. A potential extension would be block-wise (in time) frequency modulation of arbitrary polynomial order (with respect to time); this would, in effect, extend the problem to any continuous frequency modulation.
The statistical theory surrounding RWH testing [12] has been shown to be effective at deciding in certain problems whether the stock market can be said not to be following an RW [13,14,15], with implications for forecasting of market trends.
However, it is argued that such tests can lead to ambiguous conclusions [16] (in the sense of what conclusions drawn mean with regards to the question) or inconsistent results [17] (in the sense of robustness). This is thought to arise from the sensitivity of variance-based inference under the small-sample regimes [18]. Furthermore, because of phase-wrapping behaviours, as discussed in the proof of Remark 1, such methods do not discriminate between a signal measured in noise with an RW in frequency and WGN.
The problem that we consider involves the detection of a model of a trigonometric transformation of an RW process, rather than the detection of an RW process. This is inherently different to standard RWH testing, as trigonometric transformations are nonlinear in nature. The plausibility of testing the RWH under such a transformation has been considered by other researchers in the economics literature [19,20].
An auto-regressive (AR) time series { ξ n } n of order 1, known as an AR(1) process, has a recursive representation of the form ξ n = ρ ξ n 1 + ς n , with independent and identically distributed (IID) driving noise { ς n } n . The Dickey-Fuller (DF) unit root test [15], assuming the presence of an AR(1) process { ξ n } n (not corrupted by noise) in the data, tests a null hypothesis of a stationary (in the statistical sense) first-difference process ( ξ n ξ n 1 ) which would occur if | ρ | = 1 against an alternative hypothesis | ρ | 1 .
It had been shown [20] that the DF test, if applied to the trigonometric transformation of an AR(1) process—asymptotically may still be used to test for stationarity of the first difference process—following analytical [21], and empirical [19] arguments on the asymptotics of nonlinear transformations on 1st-order integrated time series I(1), and subsequently on AR(1) processes.
However, this is different to the model we test for: the signal model of a scaled trigonometric transformation of an AR(1) process with | ρ | = 1 , given noise-corrupted measurements. As we do not assume, inherently, that a (transformed) AR(1) time series is present within the data, but rather are testing the validity of such a model—given the data—the DF test regime does not apply here, and so we follow a different scheme that will be discussed below.
In this paper, we advance a scheme for discriminating between WGN and a sinusoidal signal whose instantaneous frequency executes a discrete-time RW, which, when combined with RWH methods provides a more general inference on the existence of an RW structure in frequency. In Section 2.1 the problem is formulated mathematically. We design an estimator-detector in Section 2.2 and Section 2.3, and discuss its analytical performance in Section 3.1 and Section 4.
In continuous time the RW is replaced by a Wiener process and in this context, prior to sampling, we are faced with signals of infinite bandwidth. This is, as is often the case with mathematical models, a useful idealization. Whereas a typical function of a Wiener process has infinite bandwidth, ultimately the signal has to be measured and this forces a bandwidth constraint on the measured signal imposed by the sensor. This has to be taken into account in the sampling and subsequent processing of the discretized signal. We work within the discrete time domain here and the bandwidth issues are overcome by the determination of the sampling rate of the continuous time signal.

1.1. Applications

The concept of a time-varying auto-regressive (TVAR) tone appears across various fields. Below are some applications of TVAR tones in the literature, including the motivating application for this paper in gravitational wave (GW) astronomy.

1.1.1. Gravitational Wave Astronomy

Predicted theoretically by Einstein in 1915, GWs are disturbances in space and time, generated by the acceleration of asymmetric bodies, which propagate at the speed of light [22] as perturbations of the metric tensor g μ ν , which describes distances in spacetime by the invariant interval d s 2 = g μ ν d x μ d x ν (with respect to displacement four-vectors d x μ ).
GWs cause oscillations in the proper displacements of freely falling test masses and can be detected by long-baseline laser interferometers, such as the Laser Interferometer Gravitational-Wave Observatory (LIGO) [23].
A GW incident normally on the plane of an interferometer stretches and squeezes distances along the arms [22]; along two characteristic polarisations ‘plus’ (whose principal axes of action align with those of the spatial dimensions) and ‘cross’ (whose principal axes of action are rotated π 4 with respect to those of the spatial dimensions).
At the time of writing, dozens of GW signals have been detected, including the first discovery of the chirped tones from a binary black hole merger in 2015 [24] and a binary neutron star merger in 2017 [25], inaugurating a new era in astronomy.
Instruments such as LIGO search for a variety of waveforms, not just chirps from mergers. The theory also predicts the existence of persistent, sinusoidal, quasimonochromatic CGW signals, believed to originate (for example) from isolated or binary neutron stars [26]. Under the biaxial rotor model (a rigid body with two equal principal moments of inertia), a pulsar emits GWs continuously at f and 2 f [27].
For an isolated neutron star, f decays monotonically over timescales 10 3 years, but wanders stochastically on smaller timescales [28]; suspected mechanisms include seismic activity in the crust or far-from-equilibrium avalanche processes in the superfluid interior.
Whereas, in pulsar binaries, the stochastic wander of spin frequency is driven by fluctuations in the accretion torque of gas from the binary companion [29,30]; the underlying process is suspected to be a result of transient disk formation [31], or instabilities in the disk-magnetosphere [30].
The modelling and detection of such CGWs by interferometric data (such as from aLIGO) follows the work of Jaranowski [27] (and the following parts). The stochastic wander in f is incorporated into detection schemes based on hidden Markov models [32,33].

1.1.2. Structural Analysis

Materials used in construction exist in meta-stable states, and their properties evolve stochastically over long timescales because of a variety of factors (such as cracking or the influence of humidity). To ensure structural stability one must be aware of the material’s natural frequency and harmonics, to damp against excitation such as from applied wind pressure (for example, the case of the Tacoma Narrows Bridge, “Galloping Gertie”) or from synchronous loading (as seen with the London Millennium Bridge). When considering concrete elements, for example, such a natural frequency wanders randomly in time. Efforts are made to track this randomly wandering natural frequency in papers such as [34].

1.1.3. Sound Processing

The tracking of TVAR harmonics in signals is an approach considered in communications and sound processing problems such as in the tracking of a time-varying chirp (such as the Doppler shifts in mobile communications). Such applications have been discussed in papers such as [35] and others.

2. Materials and Methods

2.1. Problem Formulation

To begin, we denote the discretisation (for indices n = 0 , , N 1 , k = 0 , , K 1 ) of a general temporal function [ · ] by:
[ · ] n ( k ) = [ · ] ( t n ( k ) ) ,
t n ( k ) = [ n + k ( N 1 ) ] T ,
so that t N 1 ( k ) = t 0 ( k + 1 ) .
This discretisation provides a partition for a data record of data sampled uniformly at rate f s = 1 T into K blocks { x n ( k ) } n = 0 , , N 1 k = 0 , , K 1 of N observations, that is,
{ x n ( k ) } n k = { { x n ( 0 ) } n , , { x n ( K 1 ) } n } = { { x 0 ( 0 ) , , x N 1 ( 0 ) } , , { x 0 ( K 1 ) , , x N 1 ( K 1 ) } }
(where in the temporal discretisation structure noted above, we overlap the last observation x N 1 ( k ) and first observation x 0 ( k + 1 ) of any two adjoining blocks k = k , k + 1 ) to a data record of K ( N 1 ) + 1 observations, or K N points including repeated points.
For a block { x n ( k ) } n (fixed k), we consider N to be the sample size of that subset
{ x n = ( k 1 ) ( N 1 ) + 0 , x n = ( k 1 ) ( N 1 ) + 1 , , x n = ( k 1 ) ( N 1 ) + ( N 1 ) } ,
of the full record
{ x n = 0 , x n = 1 , , x n = K ( N 1 ) } .
The parameter N is the blockwise sample size. Graphically, the discretisation (with overlap at endpoints) is constructed as in Figure 1.
Now, for any block (fixed k), let { w n ( k ) } n be samples of complex WGN ( V [ { w n ( k ) } n ] = σ w 2 < known), and let { s n ( k ) } n : s ( t n ( k ) ) = s n ( k ) be a sampled complex sinusoid defined by,
s n ( k ) = A e i ϕ n ( k ) ,
where, for fixed k, { ϕ n ( k ) } n : ϕ ( t n ( k ) ) = ϕ n ( k ) is the instantaneous phase of the sampled sinusoid (assuming a quadratic structure in time). That is, for fixed k, { f n ( k ) } n : f ( t n ( k ) ) = f n ( k ) is linearly ramping between f 0 ( k ) and f 0 ( k + 1 ) with respect to pivoting frequencies { f 0 ( k ) } k :
f n ( k ) = f 0 ( k ) + n ( N 1 ) [ f 0 ( k + 1 ) f 0 ( k ) ] ,
which corresponds to a phase:
ϕ n ( k ) = φ 0 + 1 2 n 2 ( N 1 ) T [ f 0 ( k + 1 ) f 0 ( k ) ] + 1 2 ( N 1 ) T [ f 0 ( k ) f 0 ( 0 ) ] ,
where φ 0 : = ϕ 0 ( 0 ) .
Definition 1.
We will say that the pivot frequencies { f 0 ( k ) } k are stable if they vary ‘slowly’ in the sense that,
| m 0 ( k + 1 ) m 0 ( k ) | N ,
where, as defined in (8), { m 0 ( k ) } k are the centre frequencies of the Fourier bins corresponding to { f 0 ( k ) } k with f s 2 f 0 ( k ) f s 2 .
We note that this is effectively a band-limiting statement on the signal. Centre frequencies of Fourier bins of the signal are limited in their variation between consecutive bins to be significantly less than the length N of a block. Effectively this prevents wrapping of the frequencies within a block and aliasing.
Remark 1.
By means of RWH testing, one cannot distinguish between an RW in frequency space that violates condition (6) and the sequence of peak frequencies { f w ( k ) } k of blocks (fixed k) of WGN { w n ( k ) } n when processing via Fourier transforms.
Existing RWH tests, such as the LOMAC Test [13]; or the Chow-Denning Test [14], are structured around variance ratio (VR) testing (for an overview of such tests see [12]). If a process { ς n } n does not satisfy condition (6), then for any realistic N, the existing RWH tests would view the process { [ f ( ς ) n ] f s } n as it would view the peak frequencies { [ f ( ω ) n ] f s } n of blocks of WGN { ω n } n .
To clarify, a variance ratio test would not be able to determine whether { [ f ( ς ) n ] f s } n was drawn from N ( 0 , [ σ ω 2 ] f s ) , or from N ( [ μ ξ ( t ) ] f s , [ σ ξ 2 ( t ) ] f s ) (where { ξ ( t ) } is some RW on F).
Another issue that is faced, is the wrapping behaviour of frequency spaces at the edges. If the frequency variations do not occur sufficiently far from the boundaries—then there would also be issues distinguishing an RW frequency process, that is f s -modular, from the peak frequencies of a WGN process, that are f s -modular.
To clarify, should a process { ξ n } n in the frequency space F step outside the domain by some small amount ϵ > 0 : ϵ f s , it would appear to jump to the other boundary. Because of wrapping issues, an RWH testing algorithm, utilising Fourier transforms, would read this as having jumped a length f s ϵ either by f s 2 f s 2 + ϵ or f s 2 f s 2 ϵ , rather than the potentially infinitesimal jump of length ϵ of f s 2 f s 2 + ϵ or f s 2 f s 2 ϵ . Such a process would then appear to have variance comparable to the size of the domain itself and would be indistinguishable from the frequencies of a WGN process.
Remark 2.
Recalling that on an unbounded interval, an RW process is also unbounded, and thus the sinusoid with an RW frequency would have infinite bandwidth in the asymptotic case. However, the mere act of measurement is a finite process in finite time—which then imposes a finite bandwidth upon the process.
By standard practice, the band-limiting of the signal would be determined by an anti-aliasing filter setting the lower bound on the sampling frequency to the Nyquist limit. Then, one would be able to choose the block-wise sample size determined by the sampling frequency as per condition (6), and the other parameters can be determined to optimise the efficiency of the verification process.
For a more detailed discussion of how to optimally set out the parameters, refer to Section 4.
We discretise the frequency range [ f s 2 , f s 2 ] into Fourier bins (indexed by m = 0 , , N 1 ) of width L = 1 N T , and represent the effective frequency f ( m ) of a bin m by:
f ( m ) = m N T , m = 0 , , N 2 1 , m N N T , m = N 2 , , N 1 .
Then the discretisation in time (and subsequently frequency) is equivalent to,
f n ( k ) = f ( m n ( k ) ) + δ n ( k ) ,
with n = 0 , , N 1 , and where δ n ( k ) is a displacement term representing uncertainty in phase due to resolution of frequency; if nothing is known about its distribution we assume δ n ( k ) U ( L 2 , L 2 ) . This is a non-physical prior which will impose little to no bias on inferences, used similarly in discretised methods such as in HMMs [32,33].
Definition 2.
We will say that a process { ξ n } n is RW-like if, when testing it against the RWH, its behaviour would not be considered significantly different from that of an RW, in the statistical sense.
In terms of AR(1) models, of the form ξ n = ρ ξ n 1 + ς n , { ς n } n IID, we would say that a process { ξ n } n is RW-like if, when testing it against the RWH, one cannot say in a statistically significant sense that | ρ | 1 .
The importance of appropriately primed SID approaches on data series assumed to be containing RWs prior to significance tests based on that assumption is made clear by Durlauf and Phillips [36]; who analytically characterised the behaviour of regression coefficients for time trends in data, assuming trend stationary data, on I(1) processes (a class under which RW-like series fall).
They found, analytically, that regressions of an RW against a time trend will yield incorrect inferences of a greater significance of a trend than the present work, resulting in a stronger bias for hypotheses assuming time trends than appropriate; supporting previous empirical works done via Monte Carlo (MC) simulations [37].
For time-series data tested against the RWH, alternative hypotheses of RW-like series may be distinguished from an RW by spectral methods [38] by utilising the weak convergence (in the Hilbert sense, that is x n , y x , y y ) under the sup metric d ( f , g ) = sup x { d ( f ( x ) , g ( x ) ) } of the periodogram deviation process (the sequence of deviations of the time-series in question from the periodogram of a true RW process) to a Brownian bridge on C [ 0 , 1 ] .
This is not a convergence that is preserved under trigonometric transforms, and thus we would not be able to apply equivalent tests in our case.
This, taken with Remark 1, yields that the following hypothesis testing structure is enough to detect an RW in frequency space, as per our model:
H 0 : x n ( k ) = w n ( k ) , H 1 : x n ( k ) = s n ( k ) + w n ( k ) , { f 0 ( k ) } k stable , RW - like , H 2 : x n ( k ) = s n ( k ) + w n ( k ) , { f 0 ( k ) } k stable , not RW - like , H 3 : x n ( k ) = s n ( k ) + w n ( k ) , { f 0 ( k ) } k unstable , not RW - like .
In terms of AR(1) models, of the form ξ n = ρ ξ n 1 + ς n , { ς n } n IID, instability can be considered to mean | ρ | > 1 and non-RW-likeness can be considered to mean | ρ | 1 in a statistically significant sense.
The reasoning behind these hypothesis tests will be expanded on, once the necessary tools are extracted from the literature and developed for our problem’s lens (see the discussion at the end of Section 2.3).

2.2. Carrier Frequency Estimation

Given that the parameters (A, f, ϕ ) of the signal model are assumed to be unknown, frequency estimation is necessary to apply the hypothesis test introduced in (9).
Following [39] the carrier frequency of a linear chirp is taken to be the average value of the lower and upper frequencies of the peak region of the Fourier-transformed signal.
The ‘slow’ nature of the RW in frequency (6) asserts that the endpoints of the peak region are separated by a negligible distance with respect to the size of the frequency space.
Under the assumption of the ‘slowness’ of the RW, the signal’s peak power is distributed across the Fourier bins in a manner that would resemble a narrow peak in Fourier space.
The coarse search process given by Rife and Boorstyn [10] estimates the constant-valued frequency of a single-toned sinusoid. Given the sharpness of the peak in Fourier space, the methods in [10] are an appropriate means of estimating the carrier frequency of the signal.
We note that the estimation process here is not necessarily optimal, but rather is implemented for its well-understood statistical properties.
Taking the 1 N -normalised Discrete Fourier Transform (DFT)
X m ( k ) = F [ { x n ( k ) } n ] ( m ) = 1 N n = 0 N 1 x n ( k ) exp [ 2 π i n m N ] ,
where m = 0 , , N 1 is the Fourier bin number, we estimate the location of the carrier frequency
f c ( k ) = f 0 ( k ) + f 0 ( k + 1 ) 2 ,
by the method in [10], as:
m ^ c ( k ) = argmax 0 m N 1 | X m ( k ) | 2 .
We take f ^ c ( k ) : = f ( m ^ c ( k ) ) , where carets indicate an estimated quantity. We represent the carrier frequency estimator f ^ c ( k ) , at fixed k, by the ‘true’ carrier frequency of the signal displaced by an estimation error:
f ^ c ( k ) = f c ( k ) + ε ( k ) .
The variance of the peak location of a sinusoidal signal in noise, as estimated according to (12) and (13) is shown to be σ ε 2 = 1 N 6 ( 2 π N T ) 2 SNR by [40,41] with SNR = A 2 σ w 2 .
Given limiting distributions of periodogram frequency estimators [42] are normal to leading order, and the asymptotic normality of the Maximum Likelihood Estimator (MLE), we will assume that ε ( k ) follows a distribution of the form ε ( k )   a   N (0, σ ε 2 ) for sufficiently large K. Note, however, that the rate of convergence here is slow—with Theorem 8 of [42] stating effectively that for the standardised version ε ¯ of 2 π ε :
P ( ε ¯ < ξ ) = Φ ( ξ ) 1 + 1 K 2 / 5 H e 3 ( ξ ) 3 + 1 K 4 / 5 H e 4 ( ξ ) 4 + H e 6 ( ξ ) 18 + 1 K 6 / 5 H e 5 ( ξ ) 5 + H e 7 ( ξ ) 12 + H e 9 ( ξ ) 162 + 1 K 8 / 5 H e 6 ( x ) 6 + 47 H e 8 ( x ) 480 + H e 10 ( x ) 72 + H e 12 ( x ) 1944 + O ( K 2 ) ,
where H e r ( x ) = ( 1 ) r e x 2 2 d r d x r e x 2 2 is the probabilistic Hermite polynomial of order r.
As will be noted again later in further discussion, the simulations failed to provide results for SNRs less than 20 dB. We argue that the procedure provides a reasonable degree of performance for Signal-to-Noise Ratios greater than 20 dB, however, in the lower SNR regime, we would argue, that this is likely due to the estimation procedures used as a proof-of-concept for the broader issue of model verification in the problem being considered. More sophisticated estimation approaches could be applied, however, that is not the focus of the paper as this is not an estimation-detection problem we do not need to know whether the model verification lens in this problem can be used, and the SNR-regime of SNRs greater than 20 dB is sufficient to that end.
We do, however, note that Figure A1a,b shows that the parameters (T, K) do not affect the performance of the procedure as one would anticipate.

2.3. Detection of Random Walk Structure

Under H 1 , by (11) we know that f c ( k ) is the average of two RW elements f 0 ( k ) , f 0 ( k + 1 ) (k fixed) sampled from an RW { f 0 ( k ) } k of length K. Recalling that the variance of an RW of finite length is its length, then, under H 1 , we assert:
V [ f c ( k ) | H 1 ] K ,
where we use V [·] to denote the ensemble variance operator.
Now, (15) tells us that the same simplifications used in the analysis of RWs as in [12] should be used here for ‘regularity’ (in a statistical sense). In line with this, we define the first difference process { y c ( k ) } k (for k = 1 , , K 1 ),
y c ( k ) : = f c ( k ) f c ( k 1 ) .
We also define, at lag 1 τ K 2 , a general difference process { Δ τ ( k ) } k (for k = τ , , K τ ):
Δ τ ( k ) : = f c ( k ) f c ( k τ ) .
The power of WGN (i.e., { | X m ( k ) | 2 } m under H 0 ) is equally distributed between Fourier bins. Through some algebraic manipulation, we find that, under H 0 :
f ^ c ( k ) = 1 2 T 1 2 T + 1 N T 1 N T 0 1 N T 1 2 T 2 N T 1 2 T 1 N T with probability 1 N .
Then, under H 0 , by standard definitions and properties of the distributions (see Appendix A), we find that V f ^ c ( k ) | H 0 = 1 12 1 T 2 1 N T 2 . And so, by (16) define,
σ 0 2 : = V y ^ c ( k ) | H 0 = 1 6 1 T 2 1 N T 2 .
Now, combining (8), (11), (13) and (16), we may represent y ^ c ( k ) = f ^ c ( k ) f ^ c ( k 1 ) (k fixed) under H 1 , H 2 , or H 3 , by:
y ^ c ( k ) = 1 2 f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) + 1 2 δ 0 ( k + 1 ) δ 0 ( k 1 ) + ε ( k ) ε ( k 1 ) ,
We assume that, under H 1 , we may use a representation of the form:
m 0 ( k ) = m 0 ( k 1 ) + u ( k ) ,
where the discretised driving term of the RW-like structure is defined to be a sequence of integer-valued jumps between Fourier bins, represented by { u ( k ) } k .
To illustrate the range of behaviours, we consider, at extreme ends, two different forms of { u ( k ) } k . The first case is:
u ( k ) = + 1 + 0 1 with probability 1 3 .
This discrete uniform jump structure represents the case where minimal information is assumed for the jumps satisfying (6).
The second case considered is:
u ( k ) = nint z ( k ) ,
where nint[·] is the nearest integer to [·], and z ( k ) N (0,1).
Then,
σ 1 2 : = V y ^ c ( k ) | H 1 = 1 N 12 ( 2 π N T ) 2 SNR + 9 24 ( 1 N T ) 2 , for uniform jumps , 14 24 ( 1 N T ) 2 , for normal jumps .
Thus, for this problem, the ‘slowly’ varying nature, in the sense of condition (6), of the RW in frequency space under H 1 , is manifest by σ 0 2 > > σ 1 2 .
Given the presence of the discretisation displacement terms in representation (20), the data is non-gaussian regardless of the jump structure considered. Motivated by the asymptotic properties of variance estimators for non-Gaussian data, as shown in [43], we construct the test statistic,
χ ^ 0 2 : = DoF ^ σ ^ 2 σ 0 2 a χ 2 ( DoF ^ ) ,
where DoF ^ = 2 ( K 1 ) κ ^ K 4 K 2 is the sample Degrees of Freedom estimator, with κ ^ , σ ^ 2 the sample kurtosis and sample variance estimators respectively, for { y c ( k ) } k . As explained in [44], we require K 11 for the asymptotic properties in (25) to hold to at least 1 sigma.
To normalise the test statistic, we perform a Wilson-Hilferty transform,
Z ^ 0 : = σ ^ 2 σ 0 2 3 ( 1 2 9 DoF ^ ) 2 9 DoF ^ a N ( 0 , 1 ) .
We reject H 0 to Probability of False Alarm (PFA) α (0,1) if we have that Z ^ 0 < Φ 1 ( α ), where Φ (·) denotes the Cumulative Distribution Function (CDF) of the Standard Normal distribution.
However, given that the above procedure seeks controlled (in the sense of a ‘slow’ wander as defined in (6)), but RW-like, jumps in the frequency estimators { f ^ c ( k ) } k ; any stable (in the sense of a mean-reversion type behaviour; | ρ | 1 ) random process bounded on a sufficiently small domain would also be flagged by this test as statistically significant. Thus, not only does Z ^ 0 distinguish between H 0 and H 1 , but also H 2 and H 3 .
The hypothesis problem (9) addressed here prompts three questions to be tested:
  • Does the measured frequency exhibit a structure resembling an RW?
  • Assuming that the measured frequency does exhibit an RW-like structure, does that structure wander in a ‘slowly’ (in the sense of definition (6)), rather than randomly jumping in a manner that could be characterised by randomly selecting Fourier bins in a uniformly-distributed manner? That is to say, assuming that the answer to Question 1 was affirmative, then, is that a true RW-like structure, or an artefact of the estimation procedure acting on pure noise?
  • Does the measured frequency revert to the mean, as in an Ornstein-Uhlenbeck process? That is to say, does { f 0 } ( k ) wind down? (For good resources on processes like Ornstein-Uhlenbeck processes, we refer the reader to [45]). Mean reversion is likely in astrophysical and GW applications, e.g., signals from rotating neutron stars [46].
In the economics literature, VR-based RWH testing of time series data (such as the LOMAC Test [13]; or the Chow-Denning Test [14]), determines whether the ratio of the variance of the first difference process (16) to the variance of the difference process (17) at lag 2 τ K 2 ( τ fixed) departs from unity in a statistically significant sense. This determines whether mean-reversion behaviours are present, as seen in an Ornstein-Uhlenbeck process.
Whereas alternative RWH testing approaches seek the presence of a unit root against stationarity (such as the DF test [15], or Bhargava’s von Neumann ratio test [47] for the finite sample regime), there are stationary processes that appear like RWs from the lens of unit root testing [48].
It has been shown in [49] (and other papers) that the DF unit root test statistic ρ ^ has low power against edge cases (near the unit root) and against trend-stationary processes; resulting in incorrect conclusions being drawn on testing hypotheses for discriminating between an RW and mean-reverting processes (such as Ornstein-Uhlenbeck processes) via unit root tests.
Furthermore, many traditional detectors (such as F test statistics, Hausman test statistics, or Durbin-Watson test statistics) which may be framed to test for (or test against) stationarity tend to yield inconclusive results when tested in an RWH framework [36].
Lastly, it has been shown that the LOMAC and Chow-Denning test statistics are considerably more powerful than the Dickey-Fuller test statistic and other unit root tests [13,14] against even borderline cases such as distinguishing between AR(p) and ARIMA(p,d,q) models; and the Chow-Denning test statistic more powerful than the LOMAC [14].
Thus, for the purposes of this study, we consider VR-based approaches (such as LOMAC or Chow-Denning) and not unit root-based approaches (such as DF).
The first question is one inherent in the RWH testing literature, and so, such methodologies try to address this question.
The second question can be covered by the Controlled Variation Test defined above (26)—which checks that the first difference process in frequency is varying in a sufficiently controlled manner—that it is more than likely not just randomly picking tones in a uniform manner across the bins.
The third question, similarly to the first question, can be covered by an RWH test in determining if the variance of the lagged differences changes over time in a statistically significant sense.
If the first difference process (16) is serially uncorrelated, the frequencies do not form an Ornstein-Uhlenbeck process. Then, one could select a sequence { τ 1 , , τ J } of J of lags ( 2 τ j K 2 ), and construct a Chow-Denning [14] test statistic:
V 1 = max 1 j J | M 1 ( τ j ) | ,
where M 1 ( τ ) is the LOMAC [13] test statistic (2 ≤ τ K 2 ):
M 1 ( τ ) = V R ( τ ) 1 φ ( τ )
with asymptotic variance φ ( τ ) defined, as in [12,13] by:
φ ( τ ) = 2 ( 2 τ 1 ) ( τ 1 ) 3 τ ,
and V R ( τ ) is the variance ratio defined, as in loc. cit. by:
V R ( τ ) = k = τ K τ ( y c ( k ) + + y c ( k τ + 1 ) τ μ ^ ) 2 / τ k = 1 K 1 ( y c ( k ) μ ^ ) 2 ,
where μ ^ is the sample mean estimate for { y c ( k ) } k .
One could infer between the two tests, taking similar assumptions of independence as taken by Chow and Denning [14], with appropriate Šidák corrections. Then, to PFA α ( 0 , 1 ) , we argue that:
  • The tones vary in a sufficiently controlled manner by test (26) if Z ^ 0 < Φ 1 ( α * ) ; and,
  • We reject the RWH by test (27) if V 1 > Φ 1 ( 1 α * 2 ) ,
where α * = 1 ( 1 α ) 1 / J is the Šidák correction for the joint inference of a Chow-Denning Test (27) of size J. J is taken as the Šidák correction factor, and not J + 1 (as would be implied by the additional independent test from the Controlled Variations test), due to the non-nested nature of the tests [50].
Set hypothesis tests for the Controlled Variations Test (26) and the (size J) Chow-Denning Test (27), respectively, as:
H 0 1 : { f 0 ( k ) } k unstable , H 1 1 : { f 0 ( k ) } k stable ,
H 0 2 : { u ( k ) } k is serially uncorrelated , H 1 2 : lag τ so that { f c ( k ) f c ( k τ ) } k is serially correlated at lag τ .
The joint inference of the above hypothesis tests determines which of the four hypotheses holds as described in (9).
Given that the two tests are independent of each other (as per the assumptions that the Chow-Denning test statistic is constructed upon [14]), our testing structure falls under the non-nested hypothesis testing methodologies [50].
The four possible results could arise from this joint inference problem:
  • If the test (27) asserts that one cannot reject the RWH and the test (26) asserts that the tones vary in a sufficiently controlled sense: then one could argue that there is an RW in the frequency.
  • If the test (27) asserts that the data rejects the RWH and the test (26) asserts that the tones vary in a sufficiently controlled sense: then one could argue that the frequency follows a stable process that does not resemble an RW (an Ornstein-Uhlenbeck process, for example).
  • If the test (27) asserts that one cannot reject the RWH and the test (26) asserts that the tones do not vary in a controlled sense: then one could argue there is just noise.
  • If the test (27) asserts that the data rejects the RWH and the test (26) asserts that the tones do not vary in a controlled sense: then one could argue that the frequency follows an unstable process that does not resemble an RW.
To elaborate, should the Chow-Denning tests (27) argue that it is not statistically significant to be able to reject the RWH, then by Definition 2 the central instantaneous frequency process { f c ( k ) } k as estimated from the observation process { x n ( k ) } n k is RW-like, that is that it has some component behaving in a manner that is indistinguishable from that of an RW under RWH testing methods.
As RW-like is defined (Definition 2 in a binary sense, as is ‘stability’ (Definition 1), we may take a Fischer-esque philosophical interpretation of the results (i.e., if it is not statistically significant to say that it is A, then it is statistically significant to say it is not A).
The joint inference by the two above tests, are summarised with respect to the hypotheses (9), (31) and (32) in Table 1.
Each case explicitly covers one of the above four possible cases on the constructed problem. Thus, the hypothesis tests as described in (9) are fully described by the possible interpretations proposed above. It then follows that the above-proposed tests are sufficient to fully specify the considered problem given the assumptions upon which it was constructed.

3. Results

3.1. Performance of RW Structure Detection

Proposition 1.
When assuming a normally-distributed jump structure (23), we propose that, given sufficiently large blockwise sample size N, the controlled variations test, as defined in (26), asymptotically generates a family of analytical ROC curves ( P D = P D ( α ) , α ( 0 , 1 ) ):
P D = Φ σ 0 2 σ 1 2 3 Φ 1 ( α * ) + ( σ 0 2 σ 1 2 3 - - 1 ) ( 1 - - 2 9 ( K 2 ) ) 2 9 ( K 2 ) ,
on the parameter space (J,N,K,T,SNR)∈ N 3 × R > 0 2 .
Proof. 
Under H 1 , the probability distribution L ( y c ( k ) ) of { y c ( k ) } k is a perturbation of the probability distribution L ( u ( k ) ) of the process { u ( k ) } k (scaled by a factor as per (7)), perturbed by the uniformly-distributed variables { δ 0 ( k ) } k . Furthermore, under H 1 , L ( y ^ c ( k ) ) is a perturbation of L ( y c ( k ) ) by normally-distributed variables { ε ( k ) } k [40].
Then, by local asymptotic normality [43,51], the Degrees of Freedom estimator DoF ^ should converge to the Gaussian case DoF = K 2 , for sufficiently large blockwise sample sizes N, if the degree of perturbation is not too large. So, we assert that DoF ^ N K 2 , and so, σ 0 2 σ 1 2 χ ^ 0 2 N χ ^ 1 2 where,
χ ^ 1 2 = ( K 2 ) σ ^ 2 σ 1 2 χ 2 ( K 2 ) .
Two constructions for characterising the jump structure of the RW-like structure on the pivot frequencies { f 0 ( k ) } k are considered for the above modelling. We demonstrated the following convergence properties under simulations.
As shown in Figure A2a,b, the uniform jump model (22) for the RW-like structure does not result in a convergence of DoF ^ N K 2 , whereas the normal jump model (23) for the RW-like structure does (see Figure A2c,d).
Consider a ‘slow’ branching process generated by normally-distributed variables for the jumps characterising the RW-like structure. Assuming normal jumps (23), the probability of detection, P D , may then be determined. By applying the Wilson-Hilferty transform to (34), one can relate the test statistic (26) with respect to the distribution under H 1 by:
Z ^ 1 = σ 0 2 σ 1 2 3 Z ^ 0 + ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 ( K 2 ) ) 2 9 ( K 2 ) a N ( 0 , 1 ) .
Through algebraic manipulation (see Appendix B) of the test statistic Z ^ 0 , this generates a family of (asymptotic) analytical ROC curves for the parameters ( α , J, N, K, T, SNR):
P D N Φ σ 0 2 σ 1 2 3 Φ 1 ( α * ) + ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 ( K 2 ) ) 2 9 ( K 2 ) .
Given the analytical performance limits as presented in Proposition 1, we then ask for what sample sizes and signal-to-noise ratios such performance bounds reflect the performance of the model detection methodology considered.
Figure A5a,b reflect the rate of convergence of the performance with respect to increasing blockwise sample sizes, given a signal-to-noise ratio.
As in Figure A5a,b specifically, the analytical performance bounds presented in Proposition 1 represent the performance of the detectors, in practice, in the discrete sample regime ( N 128 ) for signal-to-noise ratios above 10 dB.
However, simulations failed to provide results for signal-to-noise ratios of 20 dB or less, the underlying reason likely due to non-optimal estimation procedures used (as this was just a proof of concept for the verification method). Further, the simulated ROC curves did not appear to converge to their theoretical counterparts in the very-low SNR regime. Then, it would follow that it is likely that the analytical performance bounds presented in Proposition 1 fail to represent the performance of the detectors for signal-to-noise ratios of 20 dB or less.
Now, the Chow-Denning test statistic V 1 (27) of size J constructed on the pivot frequencies across a recording of K blocks follows a Studentised Maximum Modulus S M M ( μ , ν ) distribution with parameters μ = J , ν = K 1 [12,14].
Following the same logic that the Chow-Denning test statistic assumes the independence of the LOMAC test statistics from which it was constructed [14], assume the independence of the Chow-Denning test statistic V 1 (27) and the Controlled Variations test statistic Z ^ 0 (26). Given this assumption, we may define the detection distribution of the joint tests, under appropriate Šidák corrections to the false alarm rate, as the product distribution P D * : = P ( Z ^ 0 < γ 1 , V 1 > γ 2 | H 1 ) :
P D * ( α ) = P ( Z ^ 0 < γ 1 | H 1 ) P ( V 1 > γ 2 | H 1 ) , = P D ( α ) P V 1 > Φ 1 1 α * 2 ,
recalling that, as mentioned above, V 1 S M M ( J , K 1 ) .

4. Discussion

When performing a model verification test as shown above, to a specified α ( 0 , 1 ) , the analytical performance bounds (as defined in (33), and illustrated in Figure A3a and Figure A4) allow one to optimally partition the data across blocks, to better prime the data for analysis, by the following procedure:
  • Determine the sampling rate f s given the Nyquist frequency of the hypothesized signal;
  • Given an SNR > 20 dB, fix N∈ [ N u n d e r s a m p l i n g , N o v e r s a m p l i n g ] for which the estimator converges to within a neighborhood less than the discretisation;
  • Take minimal K 11 (while maximising J { 1 , , K 2 1 } ) such that P D is optimal.
If the signal-to-noise ratio, however, is not greater than 20 dB, then a different estimation procedure would need to be considered.
However, as mentioned in Section 2, the drawback is that the detection method only works given a few key assumptions:
  • The blockwise phases { ϕ n ( k ) } n are quadratic;
  • The model on which the jumps generate the RW-like structure must be standard normal;
  • The period in which the blockwise frequency modulation effectively occurs is known. That is to say, the expected value of { t 0 ( k + 1 ) t 0 ( k ) } k is known; and,
  • The pivot frequencies { f 0 ( k ) } k are uniformly spaced, that var[ { t 0 ( k + 1 ) t 0 ( k ) } k ] is sufficiently small.
The temporal location of (at least) one of the pivots f 0 ( k ) must be known with sufficient accuracy to align the record with the structure in the derivation. That is, the pivot frequencies do indeed occur at { t 0 ( k ) } k .
However, note that, while the degree of freedom estimator did not converge to the theoretical values under the discrete uniform jump model, the ROC curves still provide intuition on how to partition the data for analysis.

5. Conclusions

A model verification test has been designed, which has been shown in simulations to operate as anticipated. The test generalises the temporal RWH testing from the economics literature to test for an RW in frequency, by introducing an additional test to account for phase-wrapping behaviours, and how the peak frequencies of sampled WGN behave.
The use of such a model verification test should reduce the need for more heuristic forms of vetting false-positive detections.
We have yet to explore the impact of biases (such as a mean-reverting behaviour as exhibited under H 2 ) on the detection procedure above. Further simulations and modelling are needed to understand how biases affect the ability to determine the presence of RW-like structures in tonal variations.
The above modelling is done for the case where pivots in frequency space are discrete in time. It would be worthwhile to extend the above model verification procedure for Brownian motion-like (BM) structures, with continuous randomness in tonal variations.
Additionally, the above derivations are only formulated for linear blockwise frequency modulations. It would not be complicated to generalise to polynomial blockwise frequency modulations to refine the model verification problem to a SID problem with respect to model order.
Lastly, one normally considers the apparent randomness of behaviours in periodic parameters (such as tones) when interested in forecasting (estimating and/or detecting) the potential of a trend in the signal. That is, for the model presented on the underlying object creating the perceived phenomenon, does the data admit a long-term trend?
A key issue in this problem would be the large number of similar models that could be determined to occur under the same case from the hypothesis structure explored in this paper.
For the following paper, we intend to look into how the question of trend-based behaviours could come into each of the outcomes of the hypothesis test, how one would distinguish between these different trend-based behaviours, and test whether the data support such models.

Author Contributions

Conceptualization, R.E., W.M. and A.M.; methodology, S.A.; validation, R.E. and W.M.; formal analysis, S.A.; investigation, S.A.; writing—original draft preparation, S.A.; writing—review and editing, S.A., R.E., W.M. and A.M.; supervision, R.E., W.M. and A.M.; project administration, S.A. All authors have read and agreed to the published version of the manuscript.

Funding

The authors would like to acknowledge that this project would not have been possible without the funding provided by the Australian Commonwealth Government and the University of Melbourne. S. Abramson is supported by an Australian Government Research Training Program Scholarship. This work was supported by the Australian Research Council (ARC) Centre of Excellence for Gravitational Wave Discovery (OzGrav), grant number CE170100004, and an ARC Discovery project, grant number DP170103625.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Appendix A. First Difference Variance Derivations

Under H 0 , the carrier frequency estimators f ^ c ( k ) k are distributed according to (18), and so, taking the first two moments yields:
E f ^ c ( k ) | H 0 = 1 N n = 0 N 2 1 n N T + 1 N n = N 2 N 1 n N N T = 1 2 N T ,
E f ^ c ( k ) 2 | H 0 = 1 N n = 0 N 2 1 n N T 2 + 1 N n = N 2 N 1 n N N T 2 = 1 12 1 T 2 + 2 1 N T 2 .
Thus, the variance, under H 0 , follows (A1) and (A2) as:
V f ^ c ( k ) | H 0 = E f ^ c ( k ) E f ^ c ( k ) 2 | H 0 = E f ^ c ( k ) 2 | H 0 E f ^ c ( k ) | H 0 2 = 1 12 1 T 2 1 N T 2 .
Given that under H 0 the central frequency estimators f ^ c ( k ) k are serially independent, then, following the algebra of variances, the first difference estimator’s variance under H 0 is found to be:
σ 0 2 : = V y ^ c ( k ) | H 0 = V f ^ c ( k ) f ^ c ( k 1 ) | H 0 = V f ^ c ( k ) | H 0 + V f ^ c ( k 1 ) | H 0 = 1 6 1 T 2 1 N T 2 .
Next, under H 1 , H 2 , or H 3 , by combining (8), (11), (13) and (16), the first difference estimator process y ^ c ( k ) k has representation:
y ^ c ( k ) = 1 2 f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) + 1 2 δ 0 ( k + 1 ) δ 0 ( k 1 ) + ε ( k ) ε ( k 1 ) ,
where the discretisation uncertainty terms δ 0 ( k ) k , estimation errors ε ( k ) k , and pivot Fourier cell estimators m ^ 0 ( k ) k , are all mutually independent processes.
Noting that the effective frequency of a Fourier cell f ( · ) , as defined by (7), is a linear transformation on the indices, then the independence of the pivot Fourier cell estimators m ^ 0 ( k ) k , from the two ‘noise’ processes δ 0 ( k ) k , ε ( k ) k , commutes to the process f m ^ 0 ( k ) k of effective pivot frequency estimators.
Following the serial independence of the two ‘noise’ processes δ 0 ( k ) k , ε ( k ) k , the algebra of variances, and representation (A5) we take the variance, not under H 0 , to be:
V y ^ c ( k ) | not H 0 = 1 4 V f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | not H 0 + 1 4 V δ 0 ( k + 1 ) δ 0 ( k 1 ) | not H 0 + V ε ( k ) ε ( k 1 ) | not H 0 = 1 4 V f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | not H 0 + 1 2 V δ 0 ( k ) | not H 0 + 2 V ε ( k ) | not H 0 .
Now, given the distributions of the two ‘noise’ processes δ 0 ( k ) k , ε ( k ) k , we have:
V δ 0 ( k ) | not H 0 = V δ 0 ( k ) = 1 12 1 N T 2 , V ε ( k ) | not H 0 = V ε ( k ) = 1 N 6 ( 2 π N T ) 2 SNR .
Combining the above values to the variance of the first central difference when not under H 0 yields:
V y ^ c ( k ) | not H 0 = 1 4 V f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | not H 0 + 1 24 1 N T 2 + 1 N 12 ( 2 π N T ) 2 SNR .
Now, specifically under H 1 , we assume that we may use a representation of the form:
m 0 ( k ) = m 0 ( k 1 ) + u ( k ) ,
where we define the discretised driving term of the RW-like structure, as a sequence of integer-valued jumps between Fourier bins, represented by { u ( k ) } k .
Now, assuming we do not cross a boundary in Fourier space, on a given step range m 0 ( k 1 ) to m 0 ( k + 1 ) , then,
f m 0 ( k + 1 ) f m 0 ( k 1 ) = f m 0 ( k + 1 ) m 0 ( k 1 ) .
For large N , under the assumption of a ‘slow’ wander (6), on average, a boundary in Fourier space is not crossed across two steps. Thus, it is reasonable to assume that:
E f m 0 ( k + 1 ) f m 0 ( k 1 ) = E f m 0 ( k + 1 ) m 0 ( k 1 ) .
Given the linearity of expectations, E f · = f E · . Utilising this linearity, and the representation (A7),
E f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | H 1 = E f m ^ 0 ( k + 1 ) m ^ 0 ( k 1 ) | H 1 = E f m ^ 0 ( k 1 ) + u ( k + 1 ) + u ( k ) m ^ 0 ( k 1 ) | H 1 = E f u ( k + 1 ) + u ( k ) | H 1 = f E u ( k + 1 ) + u ( k ) | H 1 .
By definitions considered of u ( k ) k , it has zero expectation under any structure assumed, which then yields above that:
E f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | H 1 = 0 .
Next, following the above result, the variance of this difference is merely its second moment. Given the above assumptions:
V f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | H 1 = E f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) 2 | H 1 = E f m ^ 0 ( k + 1 ) m ^ 0 ( k 1 ) 2 | H 1 .
Now, for any two arbitrary (but fixed) cells m 1 , m 2 , that satisfy the assumption (6), f m 2 m 1 = 1 N T ( m 2 m 1 ) .
Thus, under the above assumptions:
V f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | H 1 = 1 N T 2 E u ( k + 1 ) + u ( k ) 2 | H 1 .
So, by algebra of variances, and the serial independence of the jump process u ( k ) k ,
V f m ^ 0 ( k + 1 ) f m ^ 0 ( k 1 ) | H 1 = 2 1 N T 2 E u ( k + 1 ) 2 | H 1 .
For distributions considered for the jump process u ( k ) k ,
E u ( k + 1 ) 2 | H 1 = 2 3 , for uniform jumps , 13 12 , for normal jumps .
Thus,
σ 1 2 : = V y ^ c ( k ) | H 1 = 1 N 12 ( 2 π N T ) 2 SNR + 9 24 ( 1 N T ) 2 , for uniform jumps , 14 24 ( 1 N T ) 2 , for normal jumps .

Appendix B. Probability of Detection Derivation

To verify H 0 , at a false alarm rate α , we check Z ^ 0 against some threshold γ such that if Z ^ 0 γ we argue that H 0 is statistically significant to false alarm rate α .
Given that under H 0 , Z ^ 0 a N ( 0 , 1 ) , we set the threshold to be γ = Φ 1 ( α * ) , where Φ ( · ) is the standard normal CDF, and α * = 1 ( 1 α ) 1 / ( J + 1 ) is the Šidák correction for the joint inference of a Chow-Denning Test (27) of size J and the Controlled Variations Test (26).
However, given χ ^ 1 2 = σ 0 2 σ 1 2 χ ^ 0 2 , under H 1 ,
Z ^ 1 = χ ^ 1 2 DOF ^ 3 ( 1 2 9 DOF ^ ) 2 9 DOF ^ a N ( 0 , 1 ) ,
Now,
Z ^ 0 = χ ^ 0 2 DOF ^ 3 ( 1 2 9 DOF ^ ) 2 9 DOF ^ .
So, by algebraic manipulation, we may relate Z ^ 0 , and Z ^ 1 :
σ 0 2 σ 1 2 3 Z ^ 0 = χ ^ 1 2 DOF ^ 3 σ 0 2 σ 1 2 3 ( 1 2 9 DOF ^ ) 2 9 DOF ^ = χ ^ 1 2 DOF ^ 3 2 9 DOF ^ σ 0 2 σ 1 2 3 ( 1 2 9 DOF ^ ) 2 9 DOF ^ + ( 1 2 9 DOF ^ ) 2 9 DOF ^ ( 1 2 9 DOF ^ ) 2 9 DOF ^ = χ ^ 1 2 DOF ^ 3 ( 1 2 9 DOF ^ ) 2 9 DOF ^ σ 0 2 σ 1 2 3 ( 1 2 9 DOF ^ ) ( 1 2 9 DOF ^ ) 2 9 DOF ^ = Z ^ 1 ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 DOF ^ ) 2 9 DOF ^ .
Now, we consider the probability of detection of H 1 against H 0 , that is that Z ^ 0 < γ given that H 1 holds. Mathematically:
P D : = P ( Z ^ 0 < γ | H 1 ) = P ( Z ^ 0 < Φ 1 ( α * ) | H 1 ) = P σ 0 2 σ 1 2 3 Z ^ 0 < σ 0 2 σ 1 2 3 Φ 1 ( α * ) | H 1 = P σ 0 2 σ 1 2 3 Z ^ 0 + ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 DOF ^ ) 2 9 DOF ^ < σ 0 2 σ 1 2 3 Φ 1 ( α * ) + ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 DOF ^ ) 2 9 DOF ^ | H 1 = P Z ^ 1 < σ 0 2 σ 1 2 3 Φ 1 ( α * ) + ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 DOF ^ ) 2 9 DOF ^ | H 1 .
Then, in such a case we have a family of detection curves that take the form:
P D = P D ( α * , σ 0 2 , σ 1 2 , K ) .
However, if assuming a normal jump structure:
DOF ^ N K 2 .
Given that under H 1 , Z ^ 1 a N ( 0 , 1 ) , if assuming a normal jump structure, we would then have that:
P D N Φ σ 0 2 σ 1 2 3 Φ 1 ( α * ) + ( σ 0 2 σ 1 2 3 1 ) ( 1 2 9 ( K 2 ) ) 2 9 ( K 2 ) .
Lastly, recalling that for the case of a normal jump structure, the first difference variances take the form:
σ 0 2 = 1 6 1 T 2 1 N T 2 , σ 1 2 = 1 N 12 ( 2 π N T ) 2 SNR + 14 24 1 N T 2 .
Thus, noting that α * = 1 ( 1 α ) 1 / ( J + 1 ) , the detection curves are parameterised by:
P D = P D ( α , J , N , T , SNR , K ) .

Appendix C

Figure A1. Estimation Error. (a) Estimation Error, as % of total cells N, versus Random Walk Lengths K. (b) Estimation Error, as % of total cells N, versus Intersampling Periods T.
Figure A1. Estimation Error. (a) Estimation Error, as % of total cells N, versus Random Walk Lengths K. (b) Estimation Error, as % of total cells N, versus Intersampling Periods T.
Sensors 22 06103 g0a1
Figure A2. Degrees of Freedom Estimator. (a) Degrees of Freedom Estimator DoF ^ , Blockwise Sample Sizes N, SNR = 0 dB, T = 1 s; uniform jumps. (b) Degrees of Freedom Estimator DoF ^ , SNR, N = 64, T = 1 s; uniform jumps. (c) Degrees of Freedom Estimator DoF ^ , Blockwise Sample Sizes N, SNR = 0 dB, T = 1 s; normal jumps. (d) Degrees of Freedom Estimator DoF ^ SNR, N = 64, T = 1 s; normal jumps.
Figure A2. Degrees of Freedom Estimator. (a) Degrees of Freedom Estimator DoF ^ , Blockwise Sample Sizes N, SNR = 0 dB, T = 1 s; uniform jumps. (b) Degrees of Freedom Estimator DoF ^ , SNR, N = 64, T = 1 s; uniform jumps. (c) Degrees of Freedom Estimator DoF ^ , Blockwise Sample Sizes N, SNR = 0 dB, T = 1 s; normal jumps. (d) Degrees of Freedom Estimator DoF ^ SNR, N = 64, T = 1 s; normal jumps.
Sensors 22 06103 g0a2aSensors 22 06103 g0a2b
Figure A3. ROC Curves. (a) ROC Curves for Blockwise Sample Sizes N, J = 7 , K = 16 , T = 0.1 s, SNR = 20 dB. (b) ROC Curves for Random Walk Lengths K, J = 7 , N = 16 , T = 0.1 s, SNR = 20 dB. (c) ROC Curves for Intersampling Periods T, J = 7 , N = 16 , K = 16 , SNR = 20 dB. (d) ROC Curves for Signal-to-Noise Ratios SNR, J = 7 , N = 16 , K = 16 , T = 0.1 s.
Figure A3. ROC Curves. (a) ROC Curves for Blockwise Sample Sizes N, J = 7 , K = 16 , T = 0.1 s, SNR = 20 dB. (b) ROC Curves for Random Walk Lengths K, J = 7 , N = 16 , T = 0.1 s, SNR = 20 dB. (c) ROC Curves for Intersampling Periods T, J = 7 , N = 16 , K = 16 , SNR = 20 dB. (d) ROC Curves for Signal-to-Noise Ratios SNR, J = 7 , N = 16 , K = 16 , T = 0.1 s.
Sensors 22 06103 g0a3
Figure A4. ROC Curves for Chow-Denning Test Sizes J, N = 16 , K = 16 , T = 0.1 s, SNR = 20 dB.
Figure A4. ROC Curves for Chow-Denning Test Sizes J, N = 16 , K = 16 , T = 0.1 s, SNR = 20 dB.
Sensors 22 06103 g0a4
Figure A5. ROC Convergence Results. (a) ROC Curve Convergence for SNR = 0 dB, J = 7 , K = 16 , T = 0.1 s. (b) ROC Curve Convergence for SNR = 2.5 dB, J = 7 , K = 16 , T = 0.1 s.
Figure A5. ROC Convergence Results. (a) ROC Curve Convergence for SNR = 0 dB, J = 7 , K = 16 , T = 0.1 s. (b) ROC Curve Convergence for SNR = 2.5 dB, J = 7 , K = 16 , T = 0.1 s.
Sensors 22 06103 g0a5

References

  1. Knuth, K.H.; Habeck, M.; Malakar, N.K.; Mubeen, A.M.; Placek, B. Bayesian evidence and model selection. Digit. Signal Process. 2015, 47, 50–67. [Google Scholar] [CrossRef]
  2. Ding, J.; Tarokh, V.; Yang, Y. Model selection techniques: An overview. IEEE Signal Process. Mag. 2018, 35, 16–34. [Google Scholar] [CrossRef]
  3. Llorente, F.; Martino, L.; Delgado, D.; Lopez-Santiago, J. Marginal likelihood computation for model selection and hypothesis testing: An extensive review. arXiv 2020, arXiv:2005.08334. [Google Scholar]
  4. Hui, T. Testing for Random Walk Hypothesis with or without Measurement Error. Master’s Thesis, Imperial College London, London, UK, 2012. [Google Scholar]
  5. Bellman, R.; Åström, K.J. On structural identifiability. Math. Biosci. 1970, 7, 329–339. [Google Scholar] [CrossRef]
  6. Akaike, H. Information theory and an extension of the maximum likelihood principle. In Proceedings of the 2nd International Symposium on Information Theory, Tsahkadsor, Armenia, 2–8 September 1971; Akademiai Kiado: Budapest, Hungary, 1973. [Google Scholar]
  7. Rissanen, J. Estimation of structure by minimum description length. Circuits Syst. Signal Process. 1982, 1, 395–406. [Google Scholar] [CrossRef]
  8. Willems, J.C. The behavioral approach to open and interconnected systems. IEEE Control Syst. Mag. 2007, 27, 46–99. [Google Scholar] [CrossRef]
  9. Hofmann, T.; Schölkopf, B.; Smola, A.J. Kernel methods in machine learning. Ann. Stat. 2008, 36, 1171–1220. [Google Scholar] [CrossRef]
  10. Rife, D.; Boorstyn, R. Single tone parameter estimation from discrete-time observations. IEEE Trans. Inf. Theory 1974, 20, 591–598. [Google Scholar] [CrossRef]
  11. Slepian, D. Estimation of signal parameters in the presence of noise. Trans. IRE Prof. Group Inf. Theory 1954, 3, 68–89. [Google Scholar] [CrossRef]
  12. Charles, A.; Darné, O. Variance-ratio tests of random walk: An overview. J. Econ. Surv. 2009, 23, 503–527. [Google Scholar] [CrossRef]
  13. Lo, A.W.; MacKinlay, A.C. Stock market prices do not follow random walks: Evidence from a simple specification test. Rev. Financ. Stud. 1988, 1, 41–66. [Google Scholar] [CrossRef]
  14. Chow, K.V.; Denning, K.C. A simple multiple variance ratio test. J. Econom. 1993, 58, 385–401. [Google Scholar] [CrossRef]
  15. Dickey, D.A.; Fuller, W.A. Likelihood ratio statistics for autoregressive time series with a unit root. Econom. J. Econom. Soc. 1981, 49, 1057–1072. [Google Scholar] [CrossRef]
  16. Hoque, H.A.; Kim, J.H.; Pyun, C.S. A comparison of variance ratio tests of random walk: A case of Asian emerging stock markets. Int. Rev. Econ. Financ. 2007, 16, 488–502. [Google Scholar] [CrossRef]
  17. Deo, R.S.; Richardson, M. On the asymptotic power of the variance ratio test. Econom. Theory 2003, 19, 231–239. [Google Scholar] [CrossRef]
  18. Daniel, K. The power and size of mean reversion tests. J. Empir. Financ. 2001, 8, 493–535. [Google Scholar] [CrossRef]
  19. Granger, C.W.; Hallman, J. Nonlinear transformations of integrated time series. J. Time Ser. Anal. 1991, 12, 207–224. [Google Scholar] [CrossRef]
  20. Wang, C.H.; De Jong, R.M. Unit root tests when the data are a trigonometric transformation of an integrated process. S. Afr. Stat. J. 2013, 47, 83–90. [Google Scholar]
  21. Ermini, L.; Granger, C.W. Some generalizations on the algebra of I (1) processes. J. Econom. 1993, 58, 369–384. [Google Scholar] [CrossRef]
  22. Misner, C.W.; Thorne, K.S.; Wheeler, J.A. Gravitation; Macmillan: New York, NY, USA, 1973. [Google Scholar]
  23. Aasi, J.; Abbott, B.; Abbott, R.; Abbott, T.; Abernathy, M.; Ackley, K.; Adams, C.; Adams, T.; Addesso, P.; Adhikari, R.; et al. Advanced ligo. Class. Quantum Gravity 2015, 32, 074001. [Google Scholar]
  24. Abbott, B.P.; Abbott, R.; Abbott, T.; Abernathy, M.; Acernese, F.; Ackley, K.; Adams, C.; Adams, T.; Addesso, P.; Adhikari, R.; et al. Observation of gravitational waves from a binary black hole merger. Phys. Rev. Lett. 2016, 116, 061102. [Google Scholar] [CrossRef]
  25. Abbott, B.P.; Abbott, R.; Abbott, T.; Acernese, F.; Ackley, K.; Adams, C.; Adams, T.; Addesso, P.; Adhikari, R.; Adya, V.; et al. GW170817: Observation of gravitational waves from a binary neutron star inspiral. Phys. Rev. Lett. 2017, 119, 161101. [Google Scholar] [CrossRef] [PubMed]
  26. Riles, K. Gravitational waves: Sources, detectors and searches. Prog. Part. Nucl. Phys. 2013, 68, 1–54. [Google Scholar] [CrossRef]
  27. Jaranowski, P.; Krolak, A.; Schutz, B. Data analysis of gravitational-wave signals from spinning neutron stars: The signal and its detection. Phys. Rev. D 1998, 58, 063001. [Google Scholar] [CrossRef]
  28. Shapiro, S.; Teukolsky, S. Black Holes, White Dwarfs, and Neutron Stars: The Physics of Compact Objects; John Wiley & Sons: Hoboken, NJ, USA, 1983. [Google Scholar]
  29. De Kool, M.; Anzer, U. A simple analysis of period noise in binary X-ray pulsars. Mon. Not. R. Astron. Soc. 1993, 262, 726–734. [Google Scholar] [CrossRef]
  30. Romanova, M.M.; Ustyugova, G.V.; Koldoba, A.V.; Lovelace, R.V. The propeller regime of disk accretion to a rapidly rotating magnetized star. Astrophys. J. Lett. 2004, 616, L151. [Google Scholar] [CrossRef]
  31. Baykal, A.; Alpar, A.; Kiziloglu, U. A shot noise model for a two-component neutron star. Astron. Astrophys. 1991, 252, 664–668. [Google Scholar]
  32. Melatos, A.; Dunn, L.; Suvorova, S.; Moran, W.; Evans, R. Pulsar glitch detection with a hidden Markov model. arXiv 2020, arXiv:2005.09388. [Google Scholar] [CrossRef]
  33. Suvorova, S.; Sun, L.; Melatos, A.; Moran, W.; Evans, R. Hidden Markov model tracking of continuous gravitational waves from a neutron star with wandering spin. Phys. Rev. D 2016, 93, 123009. [Google Scholar] [CrossRef]
  34. Wu, B.; Wu, D.; Gao, W.; Song, C. Time-variant random interval natural frequency analysis of structures. J. Sound Vib. 2018, 414, 284–298. [Google Scholar] [CrossRef]
  35. Dubois, C.; Davy, M. Joint detection and tracking of time-varying harmonic components: A flexible Bayesian approach. IEEE Trans. Audio Speech, Lang. Process. 2007, 15, 1283–1295. [Google Scholar] [CrossRef]
  36. Durlauf, S.N.; Phillips, P.C. Trends versus random walks in time series analysis. Econom. J. Econom. Soc. 1988, 56, 1333–1354. [Google Scholar] [CrossRef]
  37. Nelson, C.R.; Kang, H. Spurious periodicity in inappropriately detrended time series. Econom. J. Econom. Soc. 1981, 49, 741–751. [Google Scholar] [CrossRef]
  38. Durlauf, S.N. Spectral based testing of the martingale hypothesis. J. Econom. 1991, 50, 355–376. [Google Scholar] [CrossRef]
  39. Niebauer, T. Analytic signal demodulation of phase-modulated frequency-chirped signals. Appl. Opt. 2013, 52, 1838–1846. [Google Scholar] [CrossRef]
  40. Stoica, P.; Moses, R.L. Spectral Analysis of Signals; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2005. [Google Scholar]
  41. Stoica, P.; Nehorai, A. Statistical analysis of two nonlinear least-squares estimators of sine-wave parameters in the colored-noise case. Circ. Syst. Signal Process. 1989, 8, 3–15. [Google Scholar] [CrossRef]
  42. Nabeya, S.; Tanaka, K. Aproximate Distributions of the Periodogram and Related Statistics under Normality. Econom. Theory 1986, 2, 33–65. [Google Scholar] [CrossRef]
  43. O’Neill, B. Some useful moment results in sampling problems. Am. Stat. 2014, 68, 282–296. [Google Scholar] [CrossRef]
  44. Douillet, P.L. Sampling distribution of the variance. In Proceedings of the 2009 Winter Simulation Conference (WSC), Austin, TX, USA, 13–16 December 2009; IEEE: Piscataway, NJ, USA, 2009; pp. 403–414. [Google Scholar]
  45. Klebaner, F.C. Introduction to Stochastic Calculus with Applications; World Scientific Publishing Company: Singapore, 2005. [Google Scholar]
  46. Mukherjee, A.; Messenger, C.; Riles, K. Accretion-induced spin-wandering effects on the neutron star in Scorpius X-1: Implications for continuous gravitational wave searches. Phys. Rev. D 2018, 97, 043016. [Google Scholar] [CrossRef]
  47. Bhargava, A. On the theory of testing for unit roots in observed time series. Rev. Econ. Stud. 1986, 53, 369–384. [Google Scholar] [CrossRef]
  48. Nicolau, J. Stationary processes that look like random walks—The bounded random walk process in discrete and continuous time. Econom. Theory 2002, 18, 99–118. [Google Scholar] [CrossRef]
  49. Diebold, F.X.; Rudebusch, G.D. On the power of Dickey-Fuller tests against fractional alternatives. Econ. Lett. 1991, 35, 155–160. [Google Scholar] [CrossRef]
  50. Ulloa, M.R.D.; Pesaran, M.H. Nonnested hypotheses. In Econometrics; Springer: Berlin/Heidelberg, Germany, 2006; pp. 167–173. [Google Scholar]
  51. LeCam, L. Locally asymptotically normal families of distributions. Univ. Calif. Publ. Statist. 1960, 3, 37–98. [Google Scholar]
Figure 1. Visualisation of construction of block and blockwise sample indices k , n with k = 0 , , K 1 , n = 0 , , N 1 for partitioning K blocks { x n ( k ) } n (with end-point overlaps x N 1 ( k ) = x 0 ( k + 1 ) , k fixed) of N samples from data record { x n } n of K ( N 1 ) + 1 observations with n = 0 , , K ( N 1 ) .
Figure 1. Visualisation of construction of block and blockwise sample indices k , n with k = 0 , , K 1 , n = 0 , , N 1 for partitioning K blocks { x n ( k ) } n (with end-point overlaps x N 1 ( k ) = x 0 ( k + 1 ) , k fixed) of N samples from data record { x n } n of K ( N 1 ) + 1 observations with n = 0 , , K ( N 1 ) .
Sensors 22 06103 g001
Table 1. Joint inference table.
Table 1. Joint inference table.
H 0 2 HoldsReject H 0 2
H 0 1 Holds H 0 holds H 3 holds
Reject H 0 1 H 1 holds H 2 holds
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Abramson, S.; Moran, W.; Evans, R.; Melatos, A. Testing for a Random Walk Structure in the Frequency Evolution of a Tone in Noise. Sensors 2022, 22, 6103. https://doi.org/10.3390/s22166103

AMA Style

Abramson S, Moran W, Evans R, Melatos A. Testing for a Random Walk Structure in the Frequency Evolution of a Tone in Noise. Sensors. 2022; 22(16):6103. https://doi.org/10.3390/s22166103

Chicago/Turabian Style

Abramson, Scarlett, William Moran, Robin Evans, and Andrew Melatos. 2022. "Testing for a Random Walk Structure in the Frequency Evolution of a Tone in Noise" Sensors 22, no. 16: 6103. https://doi.org/10.3390/s22166103

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop