Next Article in Journal
OL-JCMSR: A Joint Coding Monitoring Strategy Recommendation Model Based on Operation Log
Next Article in Special Issue
Optimal Estimation of Large Functional and Longitudinal Data by Using Functional Linear Mixed Model
Previous Article in Journal
Freezing Sets for Arbitrary Digital Dimension
Previous Article in Special Issue
A High-Dimensional Counterpart for the Ridge Estimator in Multicollinear Situations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multiple Change-Point Detection in a Functional Sample via the 𝒢-Sum Process

by
Tadas Danielius
* and
Alfredas Račkauskas
Institute of Applied Mathematics, Vilnius University, 03225 Vilnius, Lithuania
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(13), 2294; https://doi.org/10.3390/math10132294
Submission received: 8 June 2022 / Revised: 26 June 2022 / Accepted: 27 June 2022 / Published: 30 June 2022
(This article belongs to the Special Issue Advances of Functional and High-Dimensional Data Analysis)

Abstract

:
We first define the G -CUSUM process and investigate its theoretical aspects including asymptotic behavior. By choosing different sets G , we propose some tests for multiple change-point detections in a functional sample. We apply the proposed testing procedures to the real-world neurophysiological data and demonstrate how it can identify the existence of the multiple change-points and localize them.

1. Introduction

Consider a second-order stationary sequence of stochastic processes Y i = ( Y i ( t ) , t [ 0 , 1 ] ) , i N , defined on a probability space ( Ω , F , P ) , having zero mean and covariance function γ = { γ ( s , t ) , s , t [ 0 , 1 ] } . For a given functional sample X 1 ( t ) , , X n ( t ) , t [ 0 , 1 ] , consider the model:
X k ( t ) = g ( k / n , t ) + Y k ( t ) , t [ 0 , 1 ] , k = 1 , , n ,
where the function g : [ 0 , 1 ] × [ 0 , 1 ] R is deterministic, but unobserved. Our main aim is in testing the hypothesis:
H 0 : g = 0 versus H 1 : g 0
with emphasis on a case of change-point detection, which corresponds to a piecewise-constant function g with respect to the first argument.
This model covers a broad range of real-world problems such as climate change detection, image analysis, analysis of medical treatments, especially magnetic resonance images of brain activities, and speech recognition, to name a few. Besides, the change-point detection model (1) can be used for knot selection in spline smoothing as well for trend changes in functional time series analysis.
There is a huge list of references on testing for change-points or structural changes for a sequence of independent random variables/vectors. We refer to Csörgő and Horváth [1], Brodsky and Darkhovsky [2], Basseville and Nikiforov [3], and Chen and Gupta [4] for accounts of various techniques.
Within the functional data analysis literature, change-point detection has largely focused on one change-point problem. In Berkes et al. [5], a cumulative sum (CUSUM) test was proposed for independent functional data by using projections of the sample onto some principal components of covariance γ . Later, the problem was studied in Aue et al. [6], where its asymptotic properties were developed. This test was extended to weakly dependent functional data and epidemic changes by Aston and Kirch [7]. Aue et al. [8] proposed a fully functional method for finding a change in the mean without losing information due to dimension reduction, T. Harris, Bo Li, and J. D. Tucker [9] propose the multiple change-point isolation method for detecting multiple changes in the mean and covariance of a functional process.
The methodology we propose is based on some measures of variation of the process:
W n ( s ) = k = 1 n s ( X k X ¯ n ) + ( n s n s ) ( X n s + 1 X ¯ n ) , s [ 0 , 1 ] ,
where X ¯ n = n 1 ( X 1 + + X n ) .
Since this process is infinite-dimensional, we used the projections technique to reduce the dimension. To this aim, we assumed that Y i is mean-squared continuous and jointly measurable and that γ has finite trace: tr ( γ ) = 0 1 γ ( t , t ) d t < . In this case, Y i is also an L 2 ( 0 , 1 ) -valued random element, where L 2 : = L 2 ( 0 , 1 ) is a Hilbert space of Lebesgue square integrable functions on [ 0 , 1 ] endowed with the inner product f , g = 0 1 f ( t ) g ( t ) d t and the norm f : = f , f .
In the case where the number of change-points is known to be no bigger than m, our test statistics are constructed from ( m , p ) -variation (see the definition below) of the processes ( W n ( s ) , ψ , s [ 0 , 1 ] ) , where ψ Ψ L 2 ( 0 , 1 ) runs through a finite set Ψ of possibly random directions in L 2 ( 0 , 1 ) . In particular, Ψ consists of estimated principal components. If the number of change-points is unknown, we consider the p-variation of the processes ( W n ( s ) , ψ , s [ 0 , 1 ] ) , ψ Ψ and estimate the possible number of change-points.
The paper is organized as follows. In Section 2, G -sum and G -CUSUM processes are defined and their asymptotic behavior is considered in a framework of the ( G ) space. The results presented in this section are used to derive the asymptotic distributions of the test statistics presented in Section 3. Section 4 is devoted to simulation studies of the proposed test algorithms. Section 5 contains a case study. Finally, Section 6 is devoted to the proofs of our main theoretical results.

2. 𝒢-Sum Process and Its Asymptotic

Let Q be the set of all probability measures on ( [ 0 , 1 ] , B [ 0 , 1 ] ) . For any Q Q and Q-integrable function f, Q f : = 0 1 f d Q . As usual, L 2 ( [ 0 , 1 ] , Q ) is a set of measurable functions on [ 0 , 1 ] , which are square-integrable for the measure Q, and L 2 ( [ 0 , 1 ] , Q ) is an associated Hilbert space endowed with the inner product:
f , g Q = 0 1 f ( t ) g ( t ) Q ( d t ) , f , g L 2 ( [ 0 , 1 ] , Q )
and corresponding distance ρ Q ( f , g ) , f , g L 2 ( [ 0 , 1 ] , Q ) . We abbreviate L 2 ( [ 0 , 1 ] , λ ) to L 2 and · , · λ to · , · for Lebesgue measure λ . We use the norm f : = f , f and the distance ρ ( f , g ) = f g for the elements f , g L 2 . On the set L 2 × L 2 , we use the inner product:
( f , g ) , ( f , g ) 2 = f , f + g , g
and the corresponding distance:
ρ 2 ( ( f , g ) , ( f , g ) ) = f f 2 + g g 2 1 / 2 , f , f , g , g L 2 .
For two given sets F , Ψ L 2 , we consider the F × Ψ -sum process:
ν n = k = 1 n ν n k ( f , ψ ) , f F , ψ Ψ ,
where ν n k ( f , ψ ) = X k , ψ λ n k ( f ) , λ n k is a uniform probability on the interval [ ( k 1 ) / n , k / n ] and λ n k ( f ) = 0 1 f ( t ) d λ n k ( t ) . A natural framework for stochastic process ν n is the space ( G ) , where G = F × Ψ . Recall for a class G that ( G ) is a Banach space of all uniformly bounded real-valued functions μ on G endowed with the uniform norm:
μ G : = sup { | μ ( g ) | : g G } .
Given a pseudometric d on G , U C ( G , d ) is a set of all μ ( G ) , which are uniformly d-continuous. The set U C ( G , d ) is a separable subspace of ( G ) if and only if ( G , d ) is totally bounded. The pseudometric space ( G , d ) is totally bounded if N ( ε , G , d ) is finite for every ε > 0 , where N ( ε , G , d ) is the minimal number of open balls of d-radius ε , which are necessary to cover G .
It is worth noting that the process ν n is continuous when F × Ψ is endowed with the metric ρ 2 . Indeed,
| ν n k ( f , ψ ) ν n k ( f , ψ ) | | Y k , ψ λ n k ( f ) Y k , ψ λ n k ( f ) | | λ n k ( f ) | Y k , ψ ψ + Y k , ψ λ n k ( f f ) | Y k [ n f · ψ ψ + ψ · f f ] 2 Y k max { n f , ψ } ρ 2 ( ( f , ψ ) , ( f , ψ ) ) ,
since | λ n k ( f ) | n f for every f L 2 . If both sets F and Ψ are totally bounded, then the process ν n is uniformly continuous so that ν n takes values in the subspace U C ( G ) .
Next, we specify the set F L 2 . To this aim, we recall some definitions. For a function f : [ 0 , 1 ] R , a positive number 0 < p < , and an integer m N , the ( m , p ) -variation of f on the interval [ 0 , t ] is
v m , p ( f ; [ 0 , t ] ) : = sup j = 1 m | f ( t j ) f ( t j 1 ) | p ,
where the supremum is taken over all partitions 0 = t 0 < t 1 < < t m = t , of the interval [ 0 , t ] . We abbreviate v m , p ( f ) : = v m , p ( f ; [ 0 , 1 ] ) . If v p ( f ) : = sup m 1 v m , p ( f ) < , then we say that f has finite p-variation and W p [ 0 , 1 ] is the set of all such functions. The set W p [ 0 , 1 ] , p 1 , is a (non-separable) Banach space with the norm:
| | f | | [ p ] : = sup 0 t 1 | f ( t ) | + v p 1 / p ( f ) .
The embedding W p [ 0 , 1 ] W q [ 0 , 1 ] is continuous and
v q 1 / q ( f ) v p 1 / p ( f ) , for 1 p < q .
For more information on the space W p [ 0 , 1 ] , we refer to [10].
The limiting zero mean Gaussian process ν γ = ( ν ( f , ψ ) , f F , ψ Ψ ) is defined via covariance:
E ν γ ( f , ψ ) ν γ ( f , ψ ) = K γ ( ( f , ψ ) , ( f , ψ , ) ) : = Γ ψ , ψ f , f , ψ , ψ , f , f L 2 ,
where Γ : L 2 L 2 is the covariance operator corresponding to the kernel γ . The function K γ : G × G R is positive definite:
k , j = 1 m c j c k K γ ( ( f j , ψ j ) , ( f k , ψ k ) ) 0 ,
for all c 1 , , c m R , ( f 1 , ψ 1 ) , , ( f m , ψ m ) G , and m 1 . Indeed, if we denote by W = ( W ( f ) , f L 2 ) the isonormal Gaussian process on the Hilbert space L 2 , we see that
K γ ( ( f j , ψ j ) , ( f k , ψ k ) ) = E Y , ψ j Y , ψ k E W ( f j ) W ( f k ) ;
hence,
k , j = 1 m c j c k K γ ( ( f j , ψ j ) , ( f k , ψ k ) ) = E k = 1 m c k Y , ψ k W ( f k ) 2
and (3) follows. This justifies the existence of the process ν γ .
Throughout, we shall exploit the following.
Assumption 1.
Random processes Y , Y 1 , Y 2 , are i.i.d. mean square continuous, jointly measurable, with mean zero and covariance γ such that 0 1 γ ( t , t ) d t < .
For the model (1), we consider null hypothesis H 0 : g = 0 and two possible alternatives:
H A : g = g n = u n q n , where u n u in W 2 [ 0 , 1 ] , n q n q in L 2 ,
and
H A : g = g n = u n q n , where u n u in W 2 [ 0 , 1 ] , n sup ψ Ψ | q n , ψ | .
In both alternatives, the function u n is responsible for the configuration of a drift within the sample, whereas the function q n estimates a magnitude of the drift.
Our main theoretical results are Theorems 1 and 3, which are proven in Section 6.
Theorem 1.
Let the random processes ( X k ) be defined by ( 1 ) , where Y , Y 1 , Y 2 , satisfy Assumption 1. Assume that, for some 1 q < 2 , the set F W q [ 0 , 1 ] is bounded and the set Ψ L 2 satisfies
0 1 log N ( ε , Ψ , ρ ) d ε < .
Then, there exists a version of a Gaussian process ν γ on L 2 × L 2 such that its restriction on F × Ψ , ( ν γ ( f , ψ ) , f F , ψ Ψ ) is continuous and the following hold:
(1a) 
Under H 0 :
n 1 / 2 ν n n D ν γ in ( F × Ψ ) .
(1b) 
Under H A ,
n 1 / 2 ν n n D ν γ + Δ , in ( F × Ψ ) ,
where
Δ ( f , ψ ) = u , f q , ψ .
If u ( s ) = 1 , s [ 0 , 1 ] , then the alternative H A corresponds to the presence of a signal in a noise. In this case, Δ ( f , ψ ) = λ ( f ) q , ψ . Therefore, the use of this theorem for testing a signal in a noise is meaningful provided q , ψ 0 .
As a corollary, Theorem 1 combined with the continuous mapping theorem gives the following result.
Theorem 2.
Assume that conditions of Theorem 1 are satisfied. Then, the following hold:
(2a) 
Under H 0
sup ψ Ψ , f F | n 1 / 2 ν n ( f , ψ ) | n D sup ψ Ψ , f F | ν γ ( f , ψ ) | .
(2b) 
Under H A ,
sup ψ Ψ , f F | n 1 / 2 ν n ( f , ψ ) | n D sup ψ Ψ , f F | ν γ ( f , ψ ) + u , f q , ψ | .
(2c) 
Under H A ,
sup ψ Ψ , f F | n 1 / 2 ν n ( f , ψ ) | n P .
Proof. 
Since both (2a) and (2b) are by-products of Theorem 1 and continuous mappings, we need to prove only (2c). First, we observe that
sup ψ Ψ , f F | ν n ( f , ψ ) | sup ψ Ψ , f F | k = 1 n Y k , ψ + q n , ψ u n ( k / n ) λ n k ( f ) | sup ψ Ψ , f F | k = 1 n u n ( k / n ) λ n k ( f ) | · | q n , ψ | O P ( n ) ,
by (2a). Consider
I n ( f ) : = | k = 1 n u n ( k / n ) λ n k ( f ) | .
We have
I n ( f ) = n | k = 1 n u n ( k / n ) ( k 1 ) / n k / n f ( t ) d t | n | k = 1 n ( k 1 ) / n k / n u n ( t ) f ( t ) d t | n | k = 1 n ( k 1 ) / n k / n ( u n ( t ) u n ( k / n ) ) f ( t ) d t | : = I n ( f ) I n ( f ) .
By the Hölder inequality,
I n ( f ) n k = 1 n ( k 1 ) / n k / n ( u n ( t ) u n ( k / n ) ) 2 d t 1 / 2 ( k 1 ) / n k / n f 2 ( t ) d t 1 / 2 n k = 1 n ( k 1 ) / n k / n ( u n ( t ) u n ( k / n ) ) 2 d t 1 / 2 k = 1 n ( k 1 ) / n k / n f 2 ( t ) d t 1 / 2 n n 1 k = 1 n v 2 ( u n , [ ( k 1 ) / n , k / n ] ) 1 / 2 f n v 2 1 / 2 ( u n ) f .
Since I n ( f ) = n | u n , f | , we deduce
I n ( ψ , f ) n | u n , f | n v 2 1 / 2 ( u n ) f .
Hence,
n 1 / 2 sup ψ Ψ , f F | ν n ( f , ψ ) | n sup ψ Ψ , f F | u n , f | · | q n , ψ | O P ( 1 )
and this completes the proof of (2c). □
Next, we consider G -sum process μ n = ( μ n ( f , ψ ) , f F , ψ Ψ ) defined by
μ n ( f , ψ ) = k = 1 n X k X ¯ n , ψ λ n k ( f ) ,
where X ¯ n = n 1 ( X 1 + + X n ) . Its limiting zero mean Gaussian process μ γ is defined via covariance:
E μ γ ( f , ψ ) μ γ ( f , ψ ) = Γ ψ , ψ [ f , f λ ( f ) λ ( f ) ] , ψ , ψ , f , f L 2 .
The existence of Gaussian process μ γ can be justified as that of ν γ above. Just notice that
f , f λ ( f ) λ ( f ) E ( W ( f ) λ ( f ) W ( 1 ) ) ( W ( f ) λ ( f ) W ( 1 ) ) ,
where 1 ( t ) = 1 , t [ 0 , 1 ] .
Theorem 3.
Assume that the conditions of Theorem 1 are satisfied. Then, there exists a version of the Gaussian process μ γ on L 2 ( 0 , 1 ) × L 2 ( 0 , 1 ) such that its restriction on F × Ψ , ( ν ( f , ψ ) , f F , ψ Ψ ) is continuous and the following hold:
(3a) 
Under H 0 ,
n 1 / 2 μ n n D μ γ i n ( F × Ψ ) ;
(3b) 
Under alternative H A ,
n 1 / 2 μ n n D μ γ + Δ ˜ i n ( F × Ψ ) ,
where
Δ ˜ ( f , ψ ) = [ u , f λ ( u ) λ ( f ) ] q , ψ .
We see that the limit distribution of the G -sum process separates the null and alternative hypothesis provided [ u , f λ ( u ) λ ( f ) ] q , ψ 0 . As a corollary, Theorem 3 combined with the continuous mapping theorem gives the following results.
Theorem 4.
Assume that the conditions of Theorem 1 are satisfied. Then, the following hold:
(4a) 
Under H 0 ,
sup ψ Ψ , f F | n 1 / 2 μ n ( f , ψ ) | n D sup ψ Ψ , f F | μ γ ( f , ψ ) | .
(4b) 
Under H A ,
sup ψ Ψ , f F | n 1 / 2 μ n ( f , ψ ) | n D sup ψ Ψ , f F | μ γ ( f , ψ ) + Δ ˜ ( f , ψ ) | .
(4c) 
Under H A ,
sup ψ Ψ , f F | n 1 / 2 μ n ( f , ψ ) | n P .
Proof. 
Both (4a) and (4b) are by-products of Theorem 3 and continuous mappings, whereas the proof of (4c) follows the lines of the proof of Theorem 2 (2c). □

3. Test Statistics

Several useful test statistics can be obtained from the G -sum process μ n = ( μ n ( f , ψ ) , ( f , ψ ) G = F × Ψ ) , by considering concrete examples of sets Ψ and F .
Throughout this section, we assume that the sample X 1 , X 2 , , X n follows the model (1) and Y , Y 1 , Y 2 , satisfies Assumption 1.
By Γ , we denote the covariance operator of Y: Γ = E ( Y Y ) . Recall
Γ x ( t ) = 0 1 γ ( t , s ) x ( s ) d s , x [ 0 , 1 ] .
According to Mercer’s theorem, the covariance γ has then the following singular-value decomposition:
γ ( s , t ) = r = 1 m λ r ψ r ( s ) ψ r ( t ) , t , s [ 0 , 1 ] ,
where λ 1 , , λ m are all the decreasingly ordered positive eigenvalues of Γ and ψ 1 , , ψ m are the associated eigenfunctions of Γ such that
0 1 ψ r 2 ( t ) d t = 1 , 0 1 ψ r ( t ) ψ ( t ) d t = 0 , r ,
and m is the smallest integer such that, when r > m , λ r = 0 . If m = , then all the eigenvalues are positive, and in this case, r λ r < . Note that λ r = E Y , ψ r 2 . Besides, we shall assume the following.
Assumption 2.
The eigenvalues λ r satisfy, for some d > 0 ,
λ 1 > λ 2 > > λ d > λ d + 1 .
In statistical analysis, the eigenvalues and eigenfunctions of Γ are replaced by their estimated versions. Noting that, for each k,
E [ ( X k E ( X k ) ) ( X k E ( X k ) ) ] = Γ ,
one estimates Γ by
Γ ^ n : = 1 n i = 1 n [ ( X i X ¯ n ) ( X i X ¯ n ) ] ,
where X ¯ n ( s ) = n 1 ( X 1 ( s ) + + X n ( s ) . We denote the eigenvalues and eigenfunctions of Γ ^ by λ ^ n r and ψ ^ n r , r = 1 , , n 1 , respectively. In order to ensure that ψ ^ n r may be viewed as an estimator of ψ r rather than of ψ r , we will in the following assume that the signs are such that ψ ^ n r , ψ r 0 . Note that
Γ ^ ψ ^ n r = λ ^ n r ψ ^ n r , r = 1 , , n 1 ,
and
λ ^ n r = 1 n 1 i = 1 n X i X ¯ n , ψ ^ n r 2 , r = 1 , , n .
The use of the estimated eigenfunctions and eigenvalues in the test statistics is justified by the following result. For a Hilbert–Schmidt operator T on L 2 , we denote by T H S its Hilbert–Schmidt norm.
Lemma 1.
Assume that Assumption 1 holds. Then, under H A ,
Γ ^ n Γ H S 0 a s n .
Proof. 
First, we observe that
Γ ^ n = Γ ˜ n + T n 1 + T n 2 + T n 3 ,
where
Γ ˜ n = 1 n k = 1 n ( Y k Y ¯ n ) ( Y k Y ¯ n ) , T n 1 = 1 n k = 1 n u n ( k / n ) 1 n j = 1 n u n ( j / n ) ( Y k Y ¯ n ) q n , T n 2 = 1 n k = 1 n u n ( k / n ) 1 n j = 1 n u n ( j / n ) q n ( Y k Y ¯ n ) , T n 3 = 1 n k = 1 n u n ( k / n ) 1 n j = 1 n u n ( j / n ) 2 q n q n .
It is well known that Γ ˜ n Γ H S n a . s . 0 as n . By the moment inequality for sums of independent random variables, we deduce
E T n i H S 2 c n 2 k = 1 n u n ( k / n ) 1 n j = 1 n u n ( j / n ) 2 E Y 2 q n 2 ,
for both i = 1 , 2 . This yields T n i n P 0 . Next, we have
T n 3 H S = 1 n k = 1 n u n ( k / n ) 1 n j = 1 n u n ( j / n ) 2 q n 2 1 n k = 1 n u n 2 ( k / n ) q n 2 0
as n due to assumption H A . This completes the proof. □
Lemma 2.
Assume that Assumptions 1 and 2 for some finite d hold and E ( Y 4 ) < . Then, under H 0 , as well as under H A :
n 1 / 2 | λ ^ n j λ j | = O P ( 1 ) , and n 1 / 2 c ^ j ψ ^ n j ψ j = O P ( 1 )
for each 1 j d , where c ^ n j = ψ ^ n j , ψ j .
Proof. 
If the null hypothesis is satisfied, then Γ ^ n = Γ ˜ n and the asymptotic results for the eigenvalues and eigenfunctions of T ˜ n are well known (see, e.g., [11]). Under alternative H A , the results follow from Lemma 1 and Lemmas 2.2 and 2.3 in [11]. □
Next, we consider separately the test statistics for at most one, at most m, and for an unknown number of change-points.

3.1. Testing at Most One Change-Point

Define for d > 0 ,
T n , 1 ( d ) : = max 1 j d 1 λ j max 1 k n | i = 1 k X i X ¯ n , ψ j | .
This statistic is designed for at most one change-point alternative. Its limiting distribution is established in the following theorem.
Theorem 5.
Let random functional sample ( X k ) be defined by ( 1 ) where Y , Y 1 , Y 2 , satisfies Assumptions 1 and 2. Then,
(a) 
Under H 0 , it holds that
n 1 / 2 T n , 1 ( d ) n D max 1 k d max 0 t 1 | B k ( t ) | ,
where B 1 , , B d are independent standard Brownian bridge processes;
(b) 
Under H A , it holds that
n 1 / 2 T n , 1 ( d ) n D max 1 k d max 0 t 1 | B k ( t ) + Δ ( t ) q , ψ k / λ k | ,
where
Δ ( t ) = 0 t u ( s ) d s t 0 1 u ( s ) d s , t [ 0 , 1 ] .
(c) 
Under H A , it holds that
n 1 / 2 T n , 1 ( d ) n P .
Proof. 
Consider the sets
Ψ d , γ : = ψ 1 λ 1 , , ψ d λ d , and F 1 = { 1 [ 0 , t ] , t [ 0 , 1 ] } .
Observing that
T n , 1 ( d ) = sup ψ Ψ d , γ , f F 1 | μ n ( f , ψ ) |
and F 1 is a bounded set in W q , we complete the proof by applying Theorem 3. □
Based on this result, we construct the testing procedure in a classical way. Choose for a given α ( 0 , 1 ) , C α > 0 such that
P ( max 1 k d max 0 t 1 | B k ( t ) | > C α ) = α .
According to Theorem 5, the test:
T n , 1 ( d ) n C α
will have asymptotic level α . Under the alternative H A , we have
lim n P ( n 1 / 2 T n , 1 ( d ) C α ) P max 1 k d max 0 t 1 | B k ( t ) | max 1 k d max 0 t 1 | Δ ( t ) q , ψ k / λ k C α 1 α
when
max 1 k d max 0 t 1 | Δ ( t ) q , ψ k / λ k | 2 C α .
Hence, if g ( s , t ) = g n ( s , t ) = u n ( s ) q n ( t ) and
n max 1 k d max 0 t 1 | g n ( t , · ) , ψ k / λ k |
as n , then the test (20) is asymptotically consistent.
Let us note that, due to the independence of Brownian bridges B k , k = 1 , , d , we have
1 α = P ( max 1 k d max 0 t 1 | B k ( t ) | C α ) = P d ( max 0 t 1 | B 1 ( t ) | C α ) .
This yields
P ( max 0 t 1 | B 1 ( t ) | C α ) = ( 1 α ) 1 / d .
Hence, C α is the ( 1 α ) 1 / d -quantile of the distribution of sup 0 t 1 | B 1 ( t ) | . This observation simplifies the calculations of critical values C α .
In particular, if there is s ( 0 , 1 ) such that u ( s ) = 1 [ 0 , s ] ( s ) , s [ 0 , 1 ] , then we have one change-point model:
X k ( t ) = 1 [ 0 , s ] ( k / n ) q n ( t ) + Y k ( t ) , t [ 0 , 1 ] .
In this case, Δ ( t ) = Δ ( t ) : = min { t , s } t s , t [ 0 , 1 ] .
Figure 1 below shows generated density functions of max 1 k d max 0 t 1 | B k ( t ) | and max 1 k d max 0 t 1 | B k ( t ) + Δ ( t ) q , ψ k / λ k | for d = [ 1 , 10 , 30 ] , s { 1 / 4 , 1 / 2 , 3 / 4 } where q = a ψ k λ k for a fixed k.
Let us observe that test statistic T n , 1 ( d ) tends to infinity when d . On the other hand, with larger d, the approximation of X j by series k = 1 d X , ψ j ψ j is better and leads to better testing power. The following result establishes the asymptotic distribution of T n , 1 ( d ) as d .
Theorem 6.
Let random functional sample ( X k ) be defined by ( 1 ) where Y , Y 1 , Y 2 , satisfies Assumption 1. Then, under H 0 ,
lim d lim n P n 1 / 2 T n , 1 ( d ) x a d + b d = exp { e x } , x 0 ,
where
a d = ( 8 ln d ) 1 / 2 , b d = 1 4 a d + ln ln d a d .
Proof. 
By Theorem 5, the proof reduces to
lim d P ( max 1 j d B j x / a d + b d ) = exp { e x } , x 0 .
It is known that
P ( B j > u ) = 2 e 2 u 2 u 2 ( 1 + o ( 1 ) ) , u .
Since Brownian bridges B j , 1 j d are independent, we have
P ( max 1 j d B j x / a d + b d ) = P d ( B 1 0 x / a d + b d ) = 1 P ( B 1 0 x / a d + b d ) d
and
lim d d P ( B 1 x / a d + b d ) = e x .
This proves (24). □
When d is large, the test (20) becomes
T n , 1 n 1 a d ln 1 ln ( 1 / α ) + b d
and has asymptotic level α as n and d tend to infinity.
The dependence on d of critical values of the tests (20) and (25) is shown in Figure 2. A comparison was made for asymptotic level α = 0.05 . From Figure 2, we see that the critical values in (25) are smaller than those in (20). This means that the error of the first kind is more likely with the test (25), rather than with (36). This is confirmed by simulations.
If the eigenfunctions ( ψ k ) are unknown, we use the statistics:
T ^ n , 1 ( d ) : = max 1 j d 1 λ ^ j max 1 k n | i = 1 k X i X ¯ n , ψ ^ j | .
Theorem 7.
Let random functional sample ( X k ) be defined by ( 1 ) , where Y , Y 1 , Y 2 , satisfies Assumptions 1 and 2. Then:
(a) 
Under H 0 ,
n 1 / 2 T ^ n , 1 ( d ) n D max 1 k d max 0 t 1 | B k ( t ) | ,
where B 1 , , B d are independent standard Brownian bridge processes;
(b) 
Under H A , if E Y 4 < , it holds that
n 1 / 2 T ^ n , 1 ( d ) n D max 1 k d max 0 t 1 | B k ( t ) + Δ ( t ) q , ψ k / λ k | ,
where Δ ( t ) = 0 t u ( s ) d s t 0 1 u ( s ) d s , t [ 0 , 1 ] .
(c) 
Under H A , if E Y 4 < , it holds that
n 1 / 2 T ^ n , 1 ( d ) n P .
Proof. 
The result follows from Theorem 5 if we show that
D n : = n 1 / 2 | T n , 1 ( d ) T ^ n , 1 ( d ) | n P 0 .
On the set max 1 j d | λ j λ ^ n j | + max 1 j d ψ j c ^ j ψ ^ n j A n 1 / 2 and for n N 0 such that A n 1 / 2 < λ d / 2 , simple algebra gives D n D n 1 + D n 2 , where
D n 1 = max 1 j d | 1 λ j 1 λ ^ n j | max 1 k 1 | i = 1 k X i X ¯ n , ψ j | 2 λ d max 1 j n | λ ^ n j λ j | n 1 / 2 T n , 1 ( d ) 0 as n ,
and
D n 2 n 1 / 2 2 ε max 1 k n i = 1 k [ X i X ¯ n ] max 1 j d ψ ^ n j ψ j 2 A ε n 1 max 1 k n i = 1 k [ X i X ¯ n ] 0 as n
by the law of large numbers. Lemma 2 concludes the proof. □
Test (20) now becomes
T ^ n , 1 ( d ) n C α
and has asymptotic level α by Theorem 7.

3.2. Testing at Most m Change-Points

For m > 1 , let N m be a set of all partitions κ = ( k i , i = 0 , 1 , , m ) of the set { 0 , 1 , , n } such that 0 = k 0 < k 1 < < k m 1 < k m = n . Next, consider for fixed integers d, 1 m < n and real p > 2 ,
T n , m ( d , p ) : = max 1 j d 1 λ j max κ N m k = 1 m | k i 1 + 1 k i X k X ¯ n , ψ j | p 1 / p .
The statistics T n , m ( d , p ) are designed for testing at most m change-points in a sample.
Theorem 8.
Let the random sample ( X i , i = 1 , , n ) be as in Theorem 1. Then:
(a) 
Under H 0 ,
n 1 / 2 T n , m ( d , p ) n D max 1 j d v m , p 1 / p ( B j ) ,
where B 1 , , B d are independent standard Brownian bridges.
(b) 
Under H A ,
n 1 / 2 T n , m ( d , p ) n D max 1 j d v m , p 1 / p ( B j + Δ q , ψ j / λ j ) ,
where Δ ( t ) , t [ 0 , 1 ] is as defined in Theorem 2.
(c) 
Under H A ,
n 1 / 2 T n , m ( d , p ) n P .
Proof. 
For 1 m n and q = p / ( p 1 ) , set
F m , q : = j = 1 m b j 1 ( t j 1 , t j ] : j = 1 m | b j | q 1 , 0 = t 0 < t 1 < < t m = 1 .
It is easy to check that F m , q W q [ 0 , 1 ] . Since
sup | k = 1 m a k b k | : k = 1 m | b k | q 1 = k = 1 m | a k | p 1 / p ,
we have
T n , m ( d ) = max ψ Ψ d , γ max f F m , q | μ n ( ψ , f ) | ,
and the results follow from Theorem 2. □
In particular, if there is s 1 , s 2 ( 0 , 1 ) such that u ( s ) = 1 [ s 1 , s 2 ] ( s ) , s [ 0 , 1 ] , then (1) corresponds to the so-called changed segment model. In this case, we have Δ ( t ) = Δ 2 ( t ) : = max { 0 , min { t , s 2 } s 1 } t ( s 2 s 1 ) , t [ 0 , 1 ] . Figure 3) shows the generated density functions of max 1 k d v 4 , p 1 / p ( B k ) and max 1 k d v 4 , p 1 / p ( B k + a k Δ 2 ) for different values of d 1 , 0 < s 1 < s 2 < 1 , and p > 2 . The numbers a 1 , , a d were sampled from the uniform distribution on [ 0 , 15 ] .
With the estimated eigenvalues and eigenfunctions, we define
T ^ n , m ( d , p ) : = max 1 j d 1 λ ^ n j max κ N m k = 1 m | k i 1 + 1 k i X k X ¯ n , ψ ^ n j | p 1 / p .
Theorem 9.
Let the functional sample ( X k , k = 1 , , n ) be defined by ( 1 ) where Y , Y 1 , Y 2 , satisfies Assumptions 1 and 2. Then:
(a) 
Under H 0 ,
n 1 / 2 T ^ n , m ( d , p ) n D max 1 j d v m , p 1 / p ( B j ) ,
where B 1 , , B d are independent standard Brownian bridges.
(b) 
Under H A ,
n 1 / 2 T ^ n , m ( d , p ) n D max 1 j d v m , p 1 / p ( B j + Δ q , ψ j / λ j ) ,
where Δ ( t ) , t [ 0 , 1 ] is as defined in Theorem 2.
(c) 
Under H A ,
n 1 / 2 T ^ n , m ( d , p ) n P .
Proof. 
This goes along the lines of the proof of Theorem 7. □
According to Theorems 8 and 9, the tests:
T n , m ( d , p ) n C α ( m , d , p ) and T ^ n , m ( d , p ) n C α ( m , d , p )
respectively, will have asymptotic level α , if C α ( m , d , p ) is such that
P ( v m , p 1 / p ( B ) C α ( m , d , p ) ) = ( 1 α ) 1 / d .

3.3. Testing Unknown Number of Change-Points

Next, consider for fixed integers d as above and real p > 2 ,
T n ( d , p ) : = max 1 j d 1 λ j max 1 m n max κ N m k = 1 m | k i 1 + 1 k i X k X ¯ n , ψ j | p 1 / p .
The statistics T n ( d , p ) are designed for testing an unknown number of change-points in a sample.
Theorem 10.
Let random sample ( X i , i = 1 , , n ) be as in Theorem 1. Then:
(a) 
Under H 0 ,
n 1 / 2 T n ( d , p ) n D max 1 j d v p 1 / p ( B j ) ,
where B 1 , , B d are independent standard Brownian bridges.
(b) 
Under H A ,
n 1 / 2 T n ( d , p ) n D max 1 j d v p 1 / p ( B j + Δ q , ψ j / λ j ) ,
where Δ ( t ) , t [ 0 , 1 ] is as defined in Theorem 1.
(c) 
Under H A ,
n 1 / 2 T n ( d , p ) n P .
Proof. 
For q = p / ( p 1 ) , set
F q : = j = 1 m b j 1 ( t j 1 , t j ] : j = 1 | b j | q 1 , 0 = t 0 < t 1 < < t m = 1 , m 1 .
It is easy to check that F q W q [ 0 , 1 ] . Since
sup | k = 1 a k b k | : k = 1 | b k | q 1 = k = 1 | a k | p 1 / p ,
we have
T n ( d ) = max ψ Ψ d , γ max f F m , q | μ n ( ψ , f ) | ,
and both statements (a) and (b) follow from Theorem 1. □
With the estimated eigenvalues and eigenfunctions, we define:
T ^ n ( d , p ) : = max 1 j d 1 λ ^ n j max 1 m n max κ N m k = 1 m | k i 1 + 1 k i X k X ¯ n , ψ ^ n j | p 1 / p .
Theorem 11.
Let random sample ( X i ) be as in Theorem 1. Then:
(a) 
Under H 0 ,
n 1 / 2 T ^ n ( d , p ) n D max 1 j d v p 1 / p ( B j ) ,
where B 1 , , B d are independent standard Brownian bridges.
(b) 
Under H A ,
n 1 / 2 T ^ n ( d , p ) n D max 1 j d v p 1 / p ( B j + Δ q , ψ j / λ j ) ,
where Δ ( t ) , t [ 0 , 1 ] is as defined in Theorem 1.
(c) 
Under H A ,
n 1 / 2 T ^ n ( d , p ) n P .
Proof. 
This goes along the lines of the proof of Theorem 7. □
According to Theorems 10 and 11, the tests:
T n ( d , p ) n C α ( d , p ) and T ^ n ( d , p ) n C α ( d , p )
respectively, will have asymptotic level α , if C α ( d , p ) is such that
P ( v p 1 / p ( B ) C α ( d , p ) ) = ( 1 α ) 1 / d .
The quantiles of distribution function of v p 1 / p ( B ) were estimated in [12].

4. Simulation Results

We examined the above-defined test statistics in a Monte Carlo simulation study. In the first subsection, we describe the simulated data under consideration. The statistical power analysis of the tests (36) and (32) is presented in Section 4.2.

4.1. Data

We used the following three scenarios:
(S1)
Let ( ξ j k ) be i.i.d. symmetrized Pareto random variables with index p (we used p = 5 ). Set
Y j ( t ) = k = 1 d ξ j k 2 cos ( k π t ) k σ , t [ 0 , 1 ] , j 1 ,
where σ 2 = E ξ 11 2 . Under the null hypothesis, we take X k = Y k , k = 1 , 2 , , n .
Under the alternative, we consider
X j ( t ) = u n ( j / n ) k = 1 d a n k cos ( k π t ) + Y j , t [ 0 , 1 ] , j = 1 , , n ,
where the function u n defines the change-points’ configuration and the coefficients ( a n k ) are subject to choice.
(S2)
We start with discrete observations ( x i j , j = 0 , 1 , , M ) , i = 1 , , n , by taking x i j = X i ( τ j ) , where the random sample ( X j , j = 1 , , n ) is generated as in scenario (S1). Discrete observations are converted to the functional data ( X j , j = 1 , , n ) by using B-spline bases.
(S3)
Discrete observations ( i / M , y i j ) , i = 0 , 1 , , M , j = 1 , , n , are generated by taking
y i j = M 1 / 2 k = 1 i ξ k j ,
so that y i j can be interpreted as the observation of a standard Wiener process at i / M . From ( y i j , i = 1 , , M ) , the function Y j is obtained using the B-spline smoothing technique. During the simulation, we used M = 1000 and D = 50  B-spline functions, thus obtaining n = 500 functions Y 1 , , Y n . Then, we define for j = 1 , , n ,
X j = Y j , under null u n ( j / n ) q n + Y j , under alternative
and consider different configurations u n of change-points and q n ( t ) = a n M t , t [ 0 , 1 ] .
We mainly concentrated on two possible change-point alternatives. The first is obtained with u n ( t ) = 1 [ 0 , θ ] ( t ) and corresponds to one change-point alternative. Another is for the epidemic-type alternative, for which we take u n ( t ) = 1 [ θ 1 , θ 2 ] ( t ) .
Scenario (S1) is used as an optimal case situation where the actual eigenvalues and eigenfunctions are known. In this case, we are not required to approximate discrete functions, thus avoiding any data loss or measurement errors. The second scenario continues with the same random functional sample, but goes through extra steps such us taking function values at discrete data points and reconstructing the random functional sample on a different set of basis functions. The aim of this exercise is to measure the impact when some information could be lost due to measurements taken at discrete points and smoothing. The simulation results show that, even after the reconstruction of the random functional sample, the performance of the test does not suffer too much.
Our simulation starts with the generation process of the random functional sample Y j as described in the first scenario with d = 30 .
First of all, we can compare the true eigenfunctions of covariance operator Γ = E [ Y j Y j ] with the eigenfunctions of estimated operator Γ ^ n (see Figure 4).
We see that the estimated harmonics has almost the same shape; only every second, the estimated eigenfunctions are phase shifted.
Next, for both scenarios (S1) and (S2), the density functions of the test statistic T n , 1 ( d ) (17) were estimated using Monte Carlo with 10,000 repetitions (see Figure 5). It shows four density plots: the red density functions of T n , 1 ( d ) are calculated using the true eigenfunctions and eigenvalues, while the black curves show the density of T ^ n , 1 ( d ) (26) using the estimated eigenfunctions and eigenvalues. The left side density plots were estimated from the samples under the null hypothesis, while the plots on the right side show the density of T n , 1 ( d ) and T ^ n , 1 ( d ) with the sample:
X j ( t ) = k = 1 d ( ξ j k + 1 ( τ > j ) a ) 2 cos ( k π t ) k σ , t [ 0 , 1 ] , τ = 250 , j = 1 500
with added drift a = 0.2 .
Since functional Principal Component Analysis (fPCA) represents a functional data sample in the most parsimonious way, we can see that the density of the test statistics in scenario (S2) is more on the left side and more concise. Critical values c d ( α ) with α = 0.05 of the statistics T n , 1 ( d ) and T ^ n , 1 ( d ) were also calculated and are shown in Figure 5.

4.2. Statistical Power Analysis

First, we compared the statistical power of the test (20) with statistic T n , 1 ( d ) of the scenario (S1) and scenario (S2) with statistic T ^ n , 1 ( d ) . To this aim, we used sample ( X j , j = 1 , , n ) defined in (38), where τ = 250 , which is in the middle of the sample. We started with the no drift a = 0 (corresponding to the null hypothesis) and increasing the drift amount a by 0.03 up to the point when a > 0.3 . At each a value, we repeated the simulation 1000 times. This gives a good indication of the statistical power with the amount of the added drift. The statistical power is illustrated in Figure 6. Based on the simulation results, we can see that, even if the random functional sample is approximated from the discrete data points, it still holds the same statistical power and the performance does not suffer from the information loss due to smoothing and fPCA. These are important results, because, normally, in observed real-world data, the true functions are unknown and have to be approximated, which almost always introduces measurement errors.
Next, we focus on the power tests (36) and (32) used directly on the functional data sets simulated in scenario (S3). Figure 7 and Figure 8 present the clear opposites of the functional data sets with respect to the change-point. The changes can be easily observed. However, especially working with functional data sets, the changes may not be that obvious. As an example, Figure 9 illustrates another functional data set with the change-point, where the presence of the change-point is not visible, but Monte Carlo experiments show that, with the same magnitude of change, for almost 80% of the cases, H 0 was correctly rejected.
The density of the limiting distribution and asymptotic critical values were estimated using the Monte Carlo technique by simulating a Brownian bridge with 1000 points and running 100,000 replications.
In the power studies, we tested two variants of the random functional samples, one with a single change-point in the middle of the functional sample and the second with the two change-points forming epidemic change. In the first case, the functional sample X 1 , , X n is constructed from n = 1000 random functions where 500 curves are changed in order to violate the null hypothesis. The model that violates the null hypothesis is defined as X k ( t ) = Δ ( t ) 1 { i > n / 2 } + Y i ( t ) , Δ ( t ) = a M t , t [ 0 , 1 ] , M = 1000 , and the parameter a is used to control the magnitude of the drift after the change-point. In the second case, during each iteration, n = 1500 random functions are generated, where 500 curves in the middle were modified by taking X k ( t ) = Δ ( t ) 1 { 2 n / 3 > i > n / 3 } + Y i ( t ) , t [ 0 , 1 ] . During each repetition, twostatistics are calculated: T ^ n ( d , p ) (35) and T ^ n , 1 ( d ) (26) in the single change-point simulation. For the epidemic change simulation T ^ n , m ( d , p ) (31), m = 2 statistic is calculated. We set the p-variation p parameter to 3. We also tested with different p-values, but this did not have any impact on the overall performance.
Figure 10 presents the results of the statistical power simulation. From the results, we can see that epidemic change has weaker statistical power. On the other hand, when restricting the partition count, we observed one benefit, that the locations of the partitions in many cases match or are very close to the actual locations of the change-point.

5. Application to Brain Activity Data

The findings of real data analysis to show the performance of the proposed test are demonstrated in this section. The data were collected during a long-term study on voluntary alcohol- consuming rats following chronic alcohol experience. The data consist of two sets: neurophysiological activity from the two brain centers (the dorsal and ventral striatum) and data from the lickometer device. The lickometer devices were used to monitor the drinking bouts. During the single trial, two locations of the brain were monitored for each rat. Rats were given two drinking bouts, one with alcohol and the other with water. Any time, they were able to freely choose what to drink. Electrodes were attached to the brains, and neurophysiological data were sampled at 1kHz intervals. It was not the goal of this study to confirm nor reject the findings, but to show the advantages of the functional approach for change-point detection. For this reason, the data are well suited to illustrate the behavior of the test in real-world settings.
In our analysis, we took the first alcohol drinking event, which lasted around 27 s. We also included 10 s before the drinking event and 10 s after the event. The total time was 47 s long. The time series was broken down into processes of 100 ms. Each process had 100 data points.
A 470 , 100 = a 1 , 1 a 1 , 2 a 1 , 100 a 2 , 1 a 2 , 2 a 2 , 100 a 470 , 1 a 470 , 2 a 470 , 100
All the processes were smoothed to the functions using 50 B-spline basis functions. The overall functional sample contained 470 functions F ^ = [ f 1 , f 2 , , f 470 ] . The functional sample was separated into sub-samples F i ^ = [ f 1 , f 2 , , f 20 + i ] , i = 0 , 1 , , 450 . For each sub-sample F ^ i , two statistics were calculated ( T ^ n ( d , p ) (35) and T ^ n , m ( d , p ) (31), m = 2 ).
The results are visualized in Figure 11. We can see that tests with statistics T ^ n ( d , p ) and T ^ ( n , m ) ( d , p ) strongly rejected the null hypothesis at around 2 s and onward after the rat started to consume the alcohol, which suggests that the changes in the brain activity can be observed. However, the changes appear to happen only for the CPu brain region. Interestingly, the statistic T ^ n , m ( d , p ) has much larger volatility compared to the unrestricted T ^ n ( d , p ) in the Nacc brain region before the drinking event and lower volatility just after the drinking event started. However, it is not fully clear if this is the expected behavior or a Type I error.
Finally, the locations of the restricted ( m = 2 ) p-variation partition points nearly matched the beginning and the end of the drinking period. In Figure 11, the gray vertical dashed lines indicate the actual beginning and the actual end of the drinking period measured by the lickometer and the black vertical lines indicate the location of the partitions calculated from the functional sample F ^ 450 . The first partition is located at 10.5 s and the second partition point at 38.4 s, which aligns well with the data collected from the lickometer.
The test with a restricted partition count showed weaker statistical power, but it did help determine the location of the change-points.

6. Proof of Theorems 1 and 3

The following theorem is a version of Theorem 2.11.1 in [13] adapted to the case of continuous processes.
Theorem 12.
Assume that { Z n i : 1 i m n } are independent continuous stochastic processes indexed by a totally bounded semi-metric space ( G , d ) such that
lim n i = 1 m n E Z n i F 2 1 { Z n i F > η } = 0 f o r   e v e r y η > 0 ,
lim n sup d ( f , g ) < δ n i = 1 m n E Z n i ( f ) Z n i ( g ) 2 = 0 f o r   e v e r y δ n 0 ,
0 δ n log N ( ϵ , G , d n ) d ϵ n P 0 f o r   e v e r y δ n 0 ,
where
d n ( f , g ) = k = 1 m n [ Z n k ( f ) Z n k ( g ) ] 2 1 / 2 .
Then, the sequence Z n : = i = 1 m n ( Z n i E Z n i ) is asymptotically d-equicontinuous, that is, for every ε > 0 ,
lim δ 0 lim sup n P ( sup d ( f , g ) < δ | Z n ( f ) Z n ( g ) | > ε ) = 0 .
Furthermore, ( Z n ) converges in law in ( G ) provided that covariances converge pointwise on G × G .
Proof of Theorem 1 (1a).
Without loss of generality, we assumed that ψ 1 for all ψ Ψ and f sup 1 for all f F . To prove ( 1 a ) , we applied Theorem 12 for G = F × Ψ , d = ρ 2 , and Z n k = n 1 / 2 ν n k , k = 1 , , n , where, under H 0 , ν n k ( f , ψ ) = Y k , ψ λ n k ( f ) . Let us check first the conditions (39)–(41). We have
n 1 / 2 ν n k G = n 1 / 2 sup ψ Ψ , f F | Y k , ψ λ n k ( f ) | n 1 / 2 Y k sup ψ Ψ ψ sup f F f sup n 1 / 2 Y k .
Hence, (39) easily follows from E Y 2 < . Since
ν n k ( f , ψ ) ν n k ( f , ψ ) = Y k , ψ ψ λ n k ( f ) + Y k , ψ λ n k ( f f )
and Y , Y k are identically distributed, we have
E [ ν n k ( f , ψ ) ν n k ( f , ψ ) ] 2 2 E Y 2 [ λ n k 2 ( f f ) ψ 2 + λ n k 2 ( f ) ψ ψ ] .
Summing this estimate and noting that for any g L 2 ( 0 , 1 ) ,
n 1 k = 1 n λ n k 2 ( g ) n 1 k = 1 n λ n k ( g 2 ) = g 2
by the Hölder inequality, we find
n 1 k = 1 n E [ ν n k ( f , ψ ) ν n k ( f , ψ ) ] 2 2 E Y 2 [ ψ 2 f f 2 + f ψ ψ 2 ] 2 E Y 2 [ ψ 2 + f 2 ] δ n 4 E Y 2 δ n
if ρ 2 ( ( f , ψ ) , ( f , ψ ) ) < δ n . This estimate yields (40). To check (41), we have
d n ( ( f , ψ ) , ( f , ψ ) ) = n 1 k = 1 n [ Y k , ψ λ n k ( f ) Y k , ψ λ n k ( f ) ] 2 1 / 2 = n 1 k = 1 n [ Y k , ψ ψ λ n k ( f ) + Y k , ψ λ n k ( f f ) ] 2 1 / 2 n 1 k = 1 n Y k , ψ ψ 2 λ n k 2 ( f ) 1 / 2 + n 1 k = 1 n Y k , ψ λ n k 2 ( f f ) 1 / 2 n 1 k = 1 n Y k 2 λ n k ( f 2 ) 1 / 2 ρ 2 , λ ( ψ , ψ ) + n 1 k = 1 n Y k , ψ 2 λ n k ( f f ) 2 1 / 2 A n [ ρ 2 , λ ( ψ , ψ ) + ρ 2 , Q ( f , f ) ] ,
where
A n = n 1 k = 1 n Y k 2 1 / 2 , and Q = A n 2 n 1 k = 1 n Y k 2 λ n k
Hence,
N ( ε , F × Ψ , d n ) N ( A n 1 ε , F , ρ 2 , Q ) N ( A n 1 ε , Ψ , ρ 2 , λ ) .
and the condition (41) is satisfied, provided that
I 1 ( δ n ) : = 0 δ n sup Q Q log N ( A n 1 ϵ , F , ρ 2 , Q ) d ϵ n P 0 for   every δ n 0 ,
and
I 2 ( δ n ) : = 0 δ n log N ( B n 1 ϵ , Ψ , ρ 2 , λ ) d ϵ n P 0 for   every δ n 0 ,
hold. Set
J 1 ( a ) : = 0 a sup Q Q log N ( ϵ , F , ρ 2 , Q ) d ϵ , J 2 ( a ) : = 0 a log N ( ϵ , Ψ , ρ 2 , λ ) d ϵ .
It is known (see, e.g., [14]) that J 1 ( 1 ) < . Hence, J 1 ( a ) 0 as a 0 . By the condition (4), J 2 ( a ) 0 as a 0 . Changing the integration variables gives I 1 ( δ n ) = A n J 1 ( A n 1 δ n ) and J 2 ( δ n ) = A n J 2 ( A n 1 δ n ) .
Set σ 2 : = E Y 2 . By the strong law of large numbers, A n 2 n P σ 2 . Choosing η < 3 σ 2 / 4 , we have, for any δ > 0 ,
P ( I 1 ( δ n ) > δ ) P ( A n J 1 ( A n 1 δ n ) > δ , | A n 2 σ 2 | < η ) + P ( | A n 2 σ 2 | > η ) P ( A n J 1 ( A n 1 δ n ) > δ , A n 2 > σ 2 / 4 ) + P ( | A n 2 σ 2 | > η ) P ( A n J 1 ( η δ n / 2 ) > δ ) + P ( | A n 2 σ 2 | > η ) 0
as n . Similarly, we prove I 2 ( δ n ) n P 0 .
Next, we have to check the pointwise convergence of the covariances of ( Z n ) . Since Y k are independent, we have
E k = 1 n Y k , ψ λ n k ( f ) k = 1 n Y k , ψ λ n k ( f ) = k = 1 n E Y k , ψ Y k , ψ λ n k ( f ) λ n k ( f ) ) = ( Γ ψ , ψ ) k = 1 n λ n k ( f ) λ n k ( f ) .
We shall prove that
I n : = n 1 k = 1 n λ n k ( f ) λ n k ( f ) f , f as n .
Set I ˜ n : = n 1 k = 1 n f ( k / n ) f ( k / n ) . Evidently, lim n I ˜ n = f , f , and we have to check
lim n | I n I ^ n | 0 .
We have
Δ n : = | I n I ^ n | n 1 k = 1 n [ λ n k ( f ) λ n k ( f ) f ( k / n ) f ( k / n ) ] | Δ n | + | Δ n | ,
where
Δ n : = n 1 k = 1 n [ λ n k ( f ) ( λ n k ( f ) f ( k / n ) ) ] , Δ n : = n 1 k = 1 n [ f ( k / n ) ( λ n k ( f ) λ n k ( f ) ) ] .
Observing that
| λ n k ( f ) f ( k / n ) | = | 0 1 ( f ( t ) f ( k / n ) ) d λ n k ( t ) | n | ( k 1 ) / n k / n ( f ( t ) f ( k / n ) ) d t | 0 1 sup { | f ( t ) f ( k / n ) | : t [ ( k 1 ) / n , k / n ] } d λ n k sup { | f ( t ) f ( k / n ) | : t [ ( k 1 ) / n , k / n ] v 2 1 / 2 ( f ; [ ( k 1 ) / n , k / n ) ] ) ,
we have
| Δ n | n 1 λ n k ( f ) v 2 1 / 2 ( f , [ ( k 1 ] / n , k / n ] ) n 1 k = 1 n λ n k 2 ( f ) 1 / 2 k = 1 n v 2 ( f , [ ( k 1 ) / n , k / n ] ) 1 / 2 n 1 / 2 f v 2 1 / 2 ( f ) .
This yields
lim n E ( Z n ( f , ψ ) Z n ( f , ψ ) ) = Γ ψ , ψ f , f .
To complete the proof of ( a ) , note that the existence of the continuous modification of Gaussian process ν = ν ( ψ , f ) , ( ψ , f ) G = Ψ × F ) follows by Dudley [15], since the entropy condition 0 1 log N ( ϵ , G , ρ 2 ) d ϵ < is satisfied. □
Lemma 3.
It holds that
lim n sup | | g | | ( 2 ) 1 | n 1 k = 1 n g ( k / n ) λ ( g ) | = 0 .
Proof. 
We have
I n : = 1 n k = 1 n g ( k / n ) λ ( g ) = k = 1 n ( k 1 ) / n k / n [ g ( k / n ) g ( s ) ] d s
For every s [ ( k 1 ) / n , k / n ] ,
| g ( k / n ) g ( s ) | v 2 1 / 2 ( g , [ ( k 1 ) / n , k / n ] ) .
Hence,
| I n | k = 1 n ( k 1 ) / n k / n v 2 1 / 2 ( g , [ ( k 1 ) / n , k / n ] ) d s = 1 n k = 1 n v 2 1 / 2 ( g , [ ( k 1 ) / n , k / n ] ) 1 n k = 1 n v 2 ( g , ( k 1 ) / n , k / n ] ) 1 / 2 1 n g ( 2 )
and this completes the proof. □
Proof of Theorem 1 (1b).
Under H A ,
X k , ψ λ n k ( f ) = Y k , ψ λ n k ( f ) + g n ( k / n , · ) , ψ λ n k ( f ) = Y k , ψ λ n k ( f ) + n 1 / 2 u ( k / n ) [ a , ψ + a n , ψ ] .
Hence,
ν n ( f , ψ ) = ν ^ n ( f , ψ ) + Δ n ( f , ψ ) + r n ( f , ψ ) ,
where
μ ^ n ( f , ψ ) = i = 1 n Y i , ψ λ n i ( f ) ,
Δ n ( f , ψ ) = n 1 / 2 k = 1 n u ( i / n ) λ n i ( f ) q , ψ
and
r n ( f , ψ ) = n 1 / 2 k = 1 u ( i / n ) ] λ n i ( f ) q n , ψ .
We have by (1a)
n 1 / 2 ν ^ n n D ν γ in the space ( F × Ψ ) .
To complete the proof, we have to check
lim n sup f F , ψ Ψ | n 1 / 2 Δ n ( f , ψ ) Δ ( f , ψ ) | = 0 .
and
lim n sup f F , ψ Ψ | n 1 / 2 r n ( f , ψ ) | = 0 .
To this aim, we involve lemma 3. We have
n 1 / 2 Δ n ( f , ψ ) Δ ( f , ψ ) = [ I n 1 ( f ) + I n 2 ( f ) ] q , ψ ,
where
I n 1 ( f ) = 1 n k = 1 n u ( k / n ) [ λ n k ( f ) f ( k / n ) ] , I n 2 ( f ) = 1 n k = 1 n u ( k / n ) f ( k / n ) u , f .
By Lemma 3 applied to the function u f , we have I n 2 ( f ) 0 uniformly over f F . Consider I n 1 . We have, as in the proof of Lemma 3,
| I n 1 ( f ) | k = 1 n | u ( k / n ) | ( k 1 ) / n k / n [ f ( s ) f ( k / n ) | d s n 1 / 2 u f ( 2 ) .
Hence, I n 2 ( f ) 0 uniformly over f F . The convergence (45) follows by observing that
| n 1 / 2 r n ( f , ψ ) | u 0 1 | f ( s ) | d s ψ · q n .
This proves (45) and completes the proof of (1b). □
Proof of Theorem 3 (3a).
Consider the map T : ( F ) ( F ) , T ( x ) ( f ) = x ( f ) x ( 1 ) λ ( f ) . The continuity of T is easy to check. Observing that ν ^ n = T ( ν n ) , the convergence (9) is a corollary of Theorem 1 and a continuous mapping theorem.
To prove (3b), observe that, under H A ,
X k , ψ λ n k ( f ) = Y k , ψ λ n k ( f ) + g n ( k / n , · ) , ψ λ n k ( f ) = Y k , ψ λ n k ( f ) + n 1 / 2 u ( k / n ) [ v , ψ + v n , ψ ]
hence
μ n ( f , ψ ) = μ ^ n ( f , ψ ) + Δ ˜ n ( f , ψ ) + r ˜ n ( f , ψ ) ,
where
μ ^ n ( f , ψ ) = i = 1 n Y i Y ¯ n , ψ λ n i ( f ) ,
Δ ˜ n ( f , ψ ) = n 1 / 2 k = 1 n [ u ( i / n ) n 1 j = 1 n u ( j / n ) ] λ n i ( f ) q , ψ
and
r ˜ n ( f , ψ ) = n 1 / 2 k = 1 [ u ( i / n ) n 1 j = 1 n u ( j / n ) ] λ n i ( f ) q n , ψ .
We have by ( a )
n 1 / 2 μ ^ n n D μ γ in the space ( F × Ψ ) .
To complete the proof, we have to check
lim n sup f F , ψ Ψ | n 1 / 2 Δ ˜ n ( f , ψ ) Δ ˜ ( f , ψ ) | = 0 .
and
lim n sup f F , ψ Ψ | n 1 / 2 r ˜ n ( f , ψ ) | = 0 .
For this, we can use (44) and (45) and observe that n 1 k = 1 n u ( k / n ) λ ( u ) as n . □

Author Contributions

Conceptualization, A.R.; Methodology, A.R.; Software, T.D.; Supervision, A.R.; Formal analysis, T.D. and A.R.; Writing—original draft preparation, A.R., T.D.; Investigation, T.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Csörgő, M.; Horváth, L. Limit Theorems in Change-Point Analysis; John Wiley & Sons: New York, NY, USA, 1997. [Google Scholar]
  2. Brodsky, B.E.; Darkhovsky, B.S. Non Parametric Methods in Change Point Problems; Kluwer Academic Publishers: Dordrecht, The Netherlands, 1993. [Google Scholar]
  3. Basseville, M.; Nikiforov, N. The Detection of Abrupt Changes—Theory and Applications; Information and System Sciences Series; Prentice-Hall: Upper Saddle River, NJ, USA, 1993. [Google Scholar]
  4. Chen, J.; Gupta, A.K. Parametric Statistical Change Point Analysis; Birkhauser Boston, Inc.: Boston, MA, USA, 2000. [Google Scholar]
  5. Berkes, I.; Gabrys, R.; Horváth, L.; Kokoszka, P. Detecting changes in the mean of functional observations. J. R. Stat. Soc. Ser. B (Stat. Methodol.) 2009, 71, 927–946. [Google Scholar] [CrossRef]
  6. Aue, A.; Gabrys, R.; Horváth, L.; Kokoszka, P. Estimation of a change-point in the mean function of functional data. J. Multivar. Anal. 2009, 100, 2254–2269. [Google Scholar] [CrossRef] [Green Version]
  7. Aston, J.A.; Kirch, C. Detecting and estimating changes in dependent functional data. J. Multivar. Anal. 2012, 109, 204–220. [Google Scholar] [CrossRef] [Green Version]
  8. Aue, A.; Rice, G.; Sönmez, O. Detecting and dating structural breaks in functional data without dimension reduction. J. R. Stat. Soc. Ser. B (Stat. Methodol.) 2018, 80, 509–529. [Google Scholar] [CrossRef] [Green Version]
  9. Harris, T.; Li, B.; Tucker, J.D. Scalable Multiple Changepoint Detection for Functional Data Sequences. arXiv 2021, arXiv:2008.01889v2. [Google Scholar] [CrossRef]
  10. Dudley, R.M.; Norvaiša, R. Concrete Functional Analysis; Springer: New York, NY, USA, 2011. [Google Scholar]
  11. Horváth, L.; Kokoszka, P. Inference for Functional Data with Applications; Springer: Berlin, Germany, 2012. [Google Scholar]
  12. Danielius, T.; Račkauskas, A. p-Variation of CUSUM process and testing change in the mean. Commun. Stat. Simul. Comput. 2020, 1–13. [Google Scholar] [CrossRef]
  13. der Vaart, A.W.V.; Wellner, J.A. Weak Convergence and Empirical Processes with Applications to Statistics; Springer: Berlin, Germany, 1996. [Google Scholar]
  14. Norvaiša, R.; Račkauskas, A. Convergence in law of partial sum processes in p-variation norm. Lith. Math. J. 2008, 48, 212–227. [Google Scholar] [CrossRef]
  15. Dudley, R.M. Sample functions of the gaussian process. Ann. Probab. 1973, 1, 66–103. [Google Scholar] [CrossRef]
Figure 1. Density functions.
Figure 1. Density functions.
Mathematics 10 02294 g001
Figure 2. Comparison of the critical values in (20) and (25) with α = 0.05 and the density function of T n , 1 ( d ) .
Figure 2. Comparison of the critical values in (20) and (25) with α = 0.05 and the density function of T n , 1 ( d ) .
Mathematics 10 02294 g002
Figure 3. Functions Δ 2 and density functions.
Figure 3. Functions Δ 2 and density functions.
Mathematics 10 02294 g003
Figure 4. True basis functions (red) and “reconstructed” basis functions (black) using fPCA method.
Figure 4. True basis functions (red) and “reconstructed” basis functions (black) using fPCA method.
Mathematics 10 02294 g004
Figure 5. Density plots of the test statistic T n , 1 ( d ) and T ^ n , 1 ( d ) .
Figure 5. Density plots of the test statistic T n , 1 ( d ) and T ^ n , 1 ( d ) .
Mathematics 10 02294 g005
Figure 6. The comparison of the statistical power of scenario (S1) and (S2).
Figure 6. The comparison of the statistical power of scenario (S1) and (S2).
Mathematics 10 02294 g006
Figure 7. Functional data set ( Y j ) .
Figure 7. Functional data set ( Y j ) .
Mathematics 10 02294 g007
Figure 8. Functional sample ( X j ) with one change-point.
Figure 8. Functional sample ( X j ) with one change-point.
Mathematics 10 02294 g008
Figure 9. Sample with introduced drift of magnitude a = 0.004 after the change-point.
Figure 9. Sample with introduced drift of magnitude a = 0.004 after the change-point.
Mathematics 10 02294 g009
Figure 10. Power curves.
Figure 10. Power curves.
Mathematics 10 02294 g010
Figure 11. Statistics of the first alcohol drinking event, which lasted about 27 s. Ten seconds before and 10 s after were also included. The red horizontal line indicates the critical value with 0.95. Vertical gray dashed lines mark the beginning and the end of the drinking time. The black solid vertical lines mark the locations of the change-points detected using the restricted p-variation method. Blue and light blue colors represent different brain regions.
Figure 11. Statistics of the first alcohol drinking event, which lasted about 27 s. Ten seconds before and 10 s after were also included. The red horizontal line indicates the critical value with 0.95. Vertical gray dashed lines mark the beginning and the end of the drinking time. The black solid vertical lines mark the locations of the change-points detected using the restricted p-variation method. Blue and light blue colors represent different brain regions.
Mathematics 10 02294 g011
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Danielius, T.; Račkauskas, A. Multiple Change-Point Detection in a Functional Sample via the 𝒢-Sum Process. Mathematics 2022, 10, 2294. https://doi.org/10.3390/math10132294

AMA Style

Danielius T, Račkauskas A. Multiple Change-Point Detection in a Functional Sample via the 𝒢-Sum Process. Mathematics. 2022; 10(13):2294. https://doi.org/10.3390/math10132294

Chicago/Turabian Style

Danielius, Tadas, and Alfredas Račkauskas. 2022. "Multiple Change-Point Detection in a Functional Sample via the 𝒢-Sum Process" Mathematics 10, no. 13: 2294. https://doi.org/10.3390/math10132294

APA Style

Danielius, T., & Račkauskas, A. (2022). Multiple Change-Point Detection in a Functional Sample via the 𝒢-Sum Process. Mathematics, 10(13), 2294. https://doi.org/10.3390/math10132294

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