On the Goodness-of-Fit Tests for Some Continuous Time Processes

Similar documents
Goodness of fit test for ergodic diffusion processes

On Cramér-von Mises test based on local time of switching diffusion process

!! # % & ( # % () + & ), % &. / # ) ! #! %& & && ( ) %& & +,,

Goodness-of-Fit Tests for Perturbed Dynamical Systems

Asymptotical distribution free test for parameter change in a diffusion model (joint work with Y. Nishiyama) Ilia Negri

PROBABILITY: LIMIT THEOREMS II, SPRING HOMEWORK PROBLEMS

ON THE FIRST TIME THAT AN ITO PROCESS HITS A BARRIER

PROBABILITY: LIMIT THEOREMS II, SPRING HOMEWORK PROBLEMS

LAN property for sde s with additive fractional noise and continuous time observation

Investigation of goodness-of-fit test statistic distributions by random censored samples

Large deviations and averaging for systems of slow fast stochastic reaction diffusion equations.

(2m)-TH MEAN BEHAVIOR OF SOLUTIONS OF STOCHASTIC DIFFERENTIAL EQUATIONS UNDER PARAMETRIC PERTURBATIONS

ON THE PATHWISE UNIQUENESS OF SOLUTIONS OF STOCHASTIC DIFFERENTIAL EQUATIONS

Brownian Motion. 1 Definition Brownian Motion Wiener measure... 3

Hypoelliptic multiscale Langevin diffusions and Slow fast stochastic reaction diffusion equations.

Parameter Estimation for Stochastic Evolution Equations with Non-commuting Operators

On Stochastic Adaptive Control & its Applications. Bozenna Pasik-Duncan University of Kansas, USA

Web Appendix for Hierarchical Adaptive Regression Kernels for Regression with Functional Predictors by D. B. Woodard, C. Crainiceanu, and D.

Change detection problems in branching processes

Research Article Least Squares Estimators for Unit Root Processes with Locally Stationary Disturbance

Reaction-Diffusion Equations In Narrow Tubes and Wave Front P

Malliavin Calculus in Finance

Compensating operator of diffusion process with variable diffusion in semi-markov space

OPTIMAL SOLUTIONS TO STOCHASTIC DIFFERENTIAL INCLUSIONS

Introduction to Empirical Processes and Semiparametric Inference Lecture 09: Stochastic Convergence, Continued

Some functional (Hölderian) limit theorems and their applications (II)

UNCERTAINTY FUNCTIONAL DIFFERENTIAL EQUATIONS FOR FINANCE

Stochastic Volatility and Correction to the Heat Equation

Asymptotic Statistics-VI. Changliang Zou

Brownian motion. Samy Tindel. Purdue University. Probability Theory 2 - MA 539

On the sequential testing problem for some diffusion processes

On ADF Goodness-of-Fit Tests for Perturbed Dynamical Systems

Stat 710: Mathematical Statistics Lecture 31

UDC Anderson-Darling and New Weighted Cramér-von Mises Statistics. G. V. Martynov

Mathematical Methods for Neurosciences. ENS - Master MVA Paris 6 - Master Maths-Bio ( )

Parameter estimation of diffusion models

Minimax Interpolation Problem for Random Processes with Stationary Increments

2012 NCTS Workshop on Dynamical Systems

Functional Limit theorems for the quadratic variation of a continuous time random walk and for certain stochastic integrals

Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function

THE DVORETZKY KIEFER WOLFOWITZ INEQUALITY WITH SHARP CONSTANT: MASSART S 1990 PROOF SEMINAR, SEPT. 28, R. M. Dudley

Asymptotic inference for a nonstationary double ar(1) model

MARKOVIANITY OF A SUBSET OF COMPONENTS OF A MARKOV PROCESS

Quantum Repeated Measurements, Continuous Time Limit

Scaling Limits of Waves in Convex Scalar Conservation Laws under Random Initial Perturbations

Understanding Regressions with Observations Collected at High Frequency over Long Span

On Rescaled Poisson Processes and the Brownian Bridge. Frederic Schoenberg. Department of Statistics. University of California, Los Angeles

Model Specification Testing in Nonparametric and Semiparametric Time Series Econometrics. Jiti Gao

Spatial Ergodicity of the Harris Flows

On continuous time contract theory

Studies in Nonlinear Dynamics and Econometrics

Scaling Limits of Waves in Convex Scalar Conservation Laws Under Random Initial Perturbations

STAT Sample Problem: General Asymptotic Results

Rice method for the maximum of Gaussian fields

Asymptotically Efficient Nonparametric Estimation of Nonlinear Spectral Functionals

L -uniqueness of Schrödinger operators on a Riemannian manifold

On the quantiles of the Brownian motion and their hitting times.

Statistical inference on Lévy processes

On Consistent Hypotheses Testing

1. Stochastic Process

Conditional Full Support for Gaussian Processes with Stationary Increments

Introduction to Stochastic SIR Model

A Lower Bound Theorem. Lin Hu.

The concentration of a drug in blood. Exponential decay. Different realizations. Exponential decay with noise. dc(t) dt.

GAUSSIAN PROCESSES; KOLMOGOROV-CHENTSOV THEOREM

Convergence at first and second order of some approximations of stochastic integrals

LANGEVIN THEORY OF BROWNIAN MOTION. Contents. 1 Langevin theory. 1 Langevin theory 1. 2 The Ornstein-Uhlenbeck process 8

New ideas in the non-equilibrium statistical physics and the micro approach to transportation flows

Translation Invariant Experiments with Independent Increments

Brownian Motion and lorentzian manifolds

Regularity of the density for the stochastic heat equation

OPTIMAL POINTWISE ADAPTIVE METHODS IN NONPARAMETRIC ESTIMATION 1

Bayesian quickest detection problems for some diffusion processes

1. Stochastic Processes and filtrations

3.4 Linear Least-Squares Filter

Pathwise volatility in a long-memory pricing model: estimation and asymptotic behavior

Evgeny Spodarev WIAS, Berlin. Limit theorems for excursion sets of stationary random fields

Estimation for the standard and geometric telegraph process. Stefano M. Iacus. (SAPS VI, Le Mans 21-March-2007)

LAW OF LARGE NUMBERS FOR THE SIRS EPIDEMIC

Man Kyu Im*, Un Cig Ji **, and Jae Hee Kim ***

Testing Statistical Hypotheses

The Poincare map for randomly perturbed periodic mo5on

Tools of stochastic calculus

On pathwise stochastic integration

Ef ciency of the empirical distribution for ergodic diffusion

Asymptotic Properties of an Approximate Maximum Likelihood Estimator for Stochastic PDEs

S. Lototsky and B.L. Rozovskii Center for Applied Mathematical Sciences University of Southern California, Los Angeles, CA

The Codimension of the Zeros of a Stable Process in Random Scenery

Issues on quantile autoregression

SEPARABILITY AND COMPLETENESS FOR THE WASSERSTEIN DISTANCE

Poisson random measure: motivation

Homework # , Spring Due 14 May Convergence of the empirical CDF, uniform samples

ASYMPTOTIC EQUIVALENCE OF DENSITY ESTIMATION AND GAUSSIAN WHITE NOISE. By Michael Nussbaum Weierstrass Institute, Berlin

Lecture 2: CDF and EDF

Lecture 1: Pragmatic Introduction to Stochastic Differential Equations

The Uses of Differential Geometry in Finance

Stochastic differential equation models in biology Susanne Ditlevsen

Stochastic differential equations in neuroscience

Bayesian Regularization

n E(X t T n = lim X s Tn = X s

Transcription:

On the Goodness-of-Fit Tests for Some Continuous Time Processes Sergueï Dachian and Yury A. Kutoyants Laboratoire de Mathématiques, Université Blaise Pascal Laboratoire de Statistique et Processus, Université du Maine Abstract We present a review of several results concerning the construction of the Cramér-von Mises and Kolmogorov-Smirnov type goodnessof-fit tests for continuous time processes. As the models we take a stochastic differential equation with small noise, ergodic diffusion process, Poisson process and self-exciting point processes. For every model we propose the tests which provide the asymptotic size α and discuss the behaviour of the power function under local alternatives. The results of numerical simulations of the tests are presented. Keywords: Hypotheses testing, diffusion process, Poisson process, selfexciting process, goodness-of-fit tests Introduction The goodness-of-fit tests play an important role in the classical mathematical statistics. Particularly, the tests of Cramér-von Mises, Kolmogorov-Smirnov and Chi-Squared are well studied and allow to verify the correspondence of the mathematical models to the observed data see, for example, Durbin 973) or Greenwood and Nikulin 996)). The similar problem, of course, exists for the continuous time stochastic processes. The diffusion and Poisson processes are widely used as mathematical models of many evolution

processes in Biology, Medicine, Physics, Financial Mathematics and in many others fields. For example, some theory can propose a diffusion process dx t = S X t ) dt + σ dw t, X, t T as an appropriate model for description of the real data {X t, t T } and we can try to construct an algorithm to verify if this model corresponds well to these data. The model here is totally defined by the trend coefficient S ), which is supposed if the theory is true) to be known. We do not discuss here the problem of verification if the process {W t, t T } is Wiener. This problem is much more complicated and we suppose that the noise is white Gaussian. Therefore we have a basic hypothesis defined by the trend coefficient S ) and we have to test this hypothesis against any other alternative. Any other means that the observations come from stochastic differential equation dx t = S X t ) dt + σ dw t, X, t T, where S ) S ). We propose some tests which are in some sense similar to the Cramér-von Mises and Kolmogorov-Smirnov tests. The advantage of classical tests is that they are distribution-free, i.e., the distribution of the underlying statistics do not depend on the basic model and this property allows to choose the universal thresholds, which can be used for all models. For example, if we observe n independent identically distributed random variables X,..., X n ) = X n with distribution function F x) and the basic hypothesis is simple : F x) F x), then the Cramér-von Mises Wn 2 and Kolmogorov-Smirnov D n statistics are W 2 n = n respectively. Here [ ] 2 ˆFn x) F x) df x), D n = sup ˆF n x) F x) x ˆF n x) = n n j= {Xj <x} is the empirical distribution function. Let us denote by {W s), s } a Brownian bridge, i.e., a continuous Gaussian process with EW s) =, EW s) W t) = t s st. 2

Then the limit behaviour of these statistics can be described with the help of this process as follows W 2 n = W s) 2 ds, ndn = sup W s). s Hence the corresponding Cramér-von Mises and Kolmogorov-Smirnov tests ψ n X n ) = {W 2 n >c α }, φ n X n ) = { ndn >d α} with constants c α, d α defined by the equations { } { } P W s) 2 ds > c α = α, P sup W s) > d α = α s are of asymptotic size α. It is easy to see that these tests are distributionfree the limit distributions do not depend of the function F )) and are consistent against any fixed alternative see, for example, Durbin 973)). It is interesting to study these tests for nondegenerate set of alternatives, i.e., for alternatives with limit power function less than. It can be realized on the close nonparametric alternatives of the special form making this problem asymptotically equivalent to the signal in Gaussian noise problem. Let us put F x) = F x) + x h F y)) df y), n where the function h ) describes the alternatives. We suppose that h s) ds =, h s) 2 ds <. Then we have the following convergence under fixed alternative, given by the function h )): [ s 2 Wn 2 = h v) dv + W s)] ds, s ndn = sup h v) dv + W s) s We see that this problem is asymptotically equivalent to the following signal in Gaussian noise problem: dy s = h s) ds + dw s), s. ) 3

Indeed, if we use the statistics W 2 = Ys 2 ds, D = sup Y s s then under hypothesis h ) and alternative h ) the distributions of these statistics coincide with the limit distributions of W 2 n and nd n under hypothesis and alternative respectively. Our goal is to see how such kind of tests can be constructed in the case of continuous time models of observation and particularly in the cases of some diffusion and point processes. We consider the diffusion processes with small noise, ergodic diffusion processes and Poisson process with Poisson and self-exciting alternatives. For the first two classes we just show how Cramérvon Mises and Kolmogorov-Smirnov - type tests can be realized using some known results and for the last models we discuss this problem in detail. 2 Diffusion process with small noise Suppose that the observed process is the solution of the stochastic differential equation dx t = S X t ) dt + ε dw t, X = x, t T, 2) where W t, t T is a Wiener process see, for example, Liptser and Shiryayev 2)). We assume that the function S x) is two times continuously differentiable with bounded derivatives. These are not the minimal conditions for the results presented below, but this assumption simplifies the exposition. We are interested in the statistical inference for this model in the asymptotics of small noise : ε. The statistical estimation theory parametric and nonparametric) was developed in Kutoyants 994). Recall that the stochastic process X ε = {X t, t T } converges uniformly in t [, T ] to the deterministic function {x t, t T }, which is a solution of the ordinary differential equation dx t dt = S x t), x, t T. 3) 4

Suppose that the function S x) > for x x and consider the following problem of hypotheses testing H : S x) = S x), x x x T H : S x) S x), x x x T where we denoted by x t the solution of the equation 3) under hypothesis H : x t = x + t S x v) dv, t T. Hence, we have a simple hypothesis against the composite alternative. The Cramér-von Mises Wε 2 ) and Kolmogorov-Smirnov D ε ) type statistics for this model of observations can be [ T Wε 2 = [ T D ε = dt S x t ) 2 dt S x t ) 2 ] 2 T ) Xt x 2 t ε S x t ) 2 dt, ] /2 sup X t x t t T S x t ). It can be shown that these two statistics converge as ε ) to the following functionals W 2 ε = W s) 2 ds, ε D ε = sup W s), s where {W s), s } is a Wiener process see Kutoyants 994). Hence the corresponding tests ψ ε X ε ) = {W 2 ε >c α}, φ ε X ε ) = {ε D ε>d α} with the constants c α, d α defined by the equations { } { } P W s) 2 ds > c α = α, P sup W s) > d α = α 4) s are of asymptotic size α. Note that the choice of the thresholds c α and d α does not depend on the hypothesis distribution-free). This situation is quite close to the classical case mentioned above. It is easy to see that if S x) S x), then sup t T x t x t > and, ε D ε. Hence these tests are consistent against any fixed W 2 ε 5

alternative. It is possible to study the power function of this test for local contiguous) alternatives of the following form dx t = S X t ) dt + ε h X t) S X t ) dt + ε dw t, t T. We describe the alternatives with the help of the unknown) function h ). The case h ) corresponds to the hypothesis H. One special class of such nonparametric alternatives for this model was studied in Iacus and Kutoyants 2). Let us introduce the composite nonparametric) alternative where H ρ = H : h ) H ρ, { h ) : xt x } h x) 2 µ dx) ρ. To choose alternative we have to precise the natural for this problem distance described by the measure µ ) and the rate of ρ = ρ ε. We show that the choice µ dx) = dx S x) 3 provides for the test statistic the following limit [ s 2 Wε 2 h v) dv + W s)] ds, where we denoted h s) = u /2 T h x u T s), ut = T ds S x s) 2 We see that this problem is asymptotically equivalent to the signal in white Gaussian noise problem: dy s = h s) ds + dw s), s, 5) with the Wiener process W ). It is easy to see that even for fixed ρ > without further restrictions on the smoothness of the function h ) the uniformly good testing is impossible. For example, if we put h n x) = c S x) 3 cos [n x x )] 6

then for the power function of the test we have inf β ψ ε, h) β ψ ε, h n ) α. h ) H ρ The details can be found in Kutoyants 26). The construction of the uniformly consistent tests requires a different approach see Ingster and Suslina 23)). Note as well that if the diffusion process is dx t = S X t ) dt + εσ X t ) dw t, X = x, t T, then we can put W 2 ε = [ T σ x t ) S x t ) ) 2 dt] 2 T ) Xt x 2 t ε S x t ) 2 dt and have the same results as above see Kutoyants 26)). 3 Ergodic diffusion processes Suppose that the observed process is one dimensional diffusion process dx t = S X t ) dt + dw t, X, t T, 6) where the trend coefficient S x) satisfies the conditions of the existence and uniqueness of the solution of this equation and this solution has ergodic properties, i.e., there exists an invariant probability distribution F S x), and for any integrable w.r.t. this distribution function g x) the law of large numbers holds T T g X t ) dt g x) df S x). These conditions can be found, for example, in Kutoyants 24). Recall that the invariant density function f S x) is defined by the equality { x } f S x) = G S) exp 2 S y) dy, 7

where G S) is the normalising constant. We consider two types of tests. The first one is a direct analogue of the classical Cramér-von Mises and Kolmogorov-Smirnov tests based on empirical distribution and density functions and the second follows the considered above small noise) construction of tests. The invariant distribution function F S x) and this density function can be estimated by the empirical distribution function ˆF T x) and by the local time type estimator ˆf T x) defined by the equalities ˆF T x) = T T {Xt <x} dt, ˆfT x) = 2 T respectively. Note that both of them are unbiased: T {Xt <x} dx t admit the representations E S ˆFT x) = F S x), E S ˆfT x) = f S x), η T x) = 2 T T ζ T x) = 2f S x) T F S X t x) F S X t ) F S x) dw t + o ), f S X t ) {Xt>x} F S X t ) dw t + o ) f S X t ) T and are T asymptotically normal as T ) η T x) = T ˆFT x) F S x)) = N, d F S, x) 2), ζ T x) = T ˆfT x) f S x)) = N, d f S, x) 2). Let us fix a simple basic) hypothesis H : S x) S x). Then to test this hypothesis we can use these estimators for construction of the Cramér-von Mises and Kolmogorov-Smirnov type test statistics W 2 T = T D T = sup x [ ] 2 ˆFT x) F S x) dfs x), ˆF T x) F S x) 8

and VT 2 = T d T = sup x [ ] 2 ˆfT x) f S x) dfs x), ˆf T x) f S x) respectively. Unfortunately, all these statistics are not distribution-free even asymptotically and the choice of the corresponding thresholds for the tests is much more complicated. Indeed, it was shown that the random functions η T x), x R) and ζ T x), x R) converge in the space C, B) of continuous functions decreasing to zero at infinity) to the zero mean Gaussian processes η x), x R) and ζ x), x R) respectively with the covariance functions we omit the index S of functions f S x) and F S x) below) R F x, y) = E S [η x) η y)] ) [F ξ x) F ξ) F x)] [F ξ y) F ξ) F y)] = 4E S f ξ) 2 R f x, y) = E S [ζ x) ζ y)] [ {ξ>x} F ξ) ] [ {ξ>y} F ξ) ] ) = 4f x) f y) E S f ξ) 2. Here ξ is a random variable with the distribution function F S x). Of course, d F S, x) 2 = E S [ η x) 2 ], d f S, x) 2 = E S [ ζ x) 2 ]. Using this weak convergence it is shown that these statistics converge in distribution under hypothesis) to the following limits as T ) W 2 T = V 2 T = η x) 2 df S x), ζ x) 2 df S x), T /2 D T = sup η x), x T /2 d T = sup ζ x). x The conditions and the proofs of all these properties can be found in Kutoyants 24), where essentially different statistical problems were studied, but the calculus are quite close to what we need here. Note that the Kolmogorov-Smirnov test for ergodic diffusion was studied in Fournie 992) see as well Fournie and Kutoyants 993) for further details), and the weak convergence of the process η T ) was obtained in Negri 998). 9

The Cramér-von Mises and Kolmogorov-Smirnov type tests based on these statistics are Ψ T X T ) = { W 2 T >C α}, ψ T X T ) = { V 2 T >c α}, Φ T φ T X T ) = { T /2 D T >D α}, X T ) = { T /2 d T >d α} with appropriate constants. The contiguous alternatives can be introduced by the following way S x) = S x) + h x) T. Then we obtain for the Cramér-von Mises statistics the limits see, Kutoyants 24)) W 2 T = V 2 T = [2E S [{ξ<x} F S xϕ) ] ξ x 2 [2f S x) E S h s) ds + ζ x)] df S x). ξ ) 2 h s) ds + η x)] df S x), Note that the transformation Y t = F S X t ) simplifies the writing, because the diffusion process Y t satisfies the differential equation dy t = f S X t ) [2S X t ) dt + dw t ], Y = F S X ) with reflecting bounds in and and under hypothesis) has uniform on [, ] invariant distribution. Therefore, W 2 T = V s) 2 ds, T /2 D T = sup V s), s but the covariance structure of the Gaussian process {V s), s } can be quite complicated. To obtain asymptotically distribution-free Cramér-von Mises type test we can use another statistic, which is similar to that of the preceding section. Let us introduce W 2 T = T 2 T [ X t X t S X v ) dv] 2 dt.

Then we have immediately under hypothesis) W T 2 = T W 2 T 2 t dt = W s) 2 ds, where we put t = st and W s) = T /2 W st. Under alternative we have W 2 T = = T T T 2 T [ W t + t T [ Wt T + t T The stochastic process X t is ergodic, hence t t h X v ) dv E S h ξ) = t t h X v ) dv] 2 dt h X v ) dv] 2 dt. h x) f S x) dx ρ h as t. It can be shown see section 2.3 in Kutoyants 24), where we have the similar calculus in another problem) that W 2 T = [ρ h s + W s)] 2 ds. Therefore the power function of the test ψ X ) T = { W 2 T >c α} converges to the function ) β ψ ρ h ) = P [ρ h s + W s)] 2 ds > c α. Using standard calculus we can show that for the corresponding Kolmogorov-Smirnov type test the limit will be ) β φ ρ h ) = P sup ρ h s + W s) > c α. s These two limit power functions are the same as in the next section devoted to self-exciting alternatives of the Poisson process. We calculate these functions with the help of simulations in Section 5 below. Note that if the diffusion process is dx t = S X t ) dt + σ X t ) dw t, X, t T,

but the functions S ) and σ ) are such that the process is ergodic then we introduce the statistics ŴT 2 T [ t 2 = [ T 2 E S σ ξ) 2 ] X t X S X v ) dv] dt. Here ξ is random variable with the invariant density function { x } f S x) = G S ) σ x) 2 exp S y) 2 σ y) 2 dy. This statistic under hypothesis is equal to Ŵ 2 T = = T 2 E S [ σ ξ) 2 ] T E S [ σ ξ) 2 ] T T [ t ] 2 σ X v ) dw v dt [ t ] 2 σ X v ) dw v dt. T The stochastic integral by the central limit theorem is asymptotically normal η t = te S [ σ ξ) 2 ] t σ X v ) dw v = N, ) and moreover it can be shown that the vector of such integrals converges in distribution to the Wiener process ) η s T,..., η sk T = W s ),..., W s k )) for any finite collection of s < s 2 <... < s k. Therefore, under mild regularity conditions it can be proved that Ŵ 2 T = W s) 2 ds. The power function has the same limit, ) β ψ ρ h ) = P [ρ h s + W s)] 2 ds > c α. 2

but with ρ h = E S h ξ) E S [ σ ξ) 2 ]. The similar consideration can be done for the Kolmogorov-Smirnov type test too. We see that both tests can not distinguish the alternatives with h ) such that E S h ξ) =. Note [ that for ergodic processes usually we have E S S ξ) = and E S +h/ T S ξ) + T /2 h ξ) ] = with corresponding random variables ξ, but this does not imply E S h ξ) =. 4 Poisson and self-exciting processes Poisson process is one of the simplest point processes and before taking any other model it is useful first of all to check the hypothesis the observed sequence of events, say, < t,..., t N < T corresponds to a Poisson process. It is natural in many problems to suppose that this Poisson process is periodic of known period. For example, many daily events, signal transmission in optical communication, season variations etc. Another model of point processes as well frequently used is self-exciting stationary point process introduced in Hawkes 972). As any stationary process it can as well describe the periodic changes due to the particular form of its spectral density. Recall that for the Poisson process X t, t of intensity function S t), t we have X t is the counting process) P {X t X s = k} = k!) Λ t) Λ s)) k exp {Λ s) Λ t)}, where we suppose that s < t and put Λ t) = t S v) dv. The self-exciting process X t, t admits the representation X t = t S s, X) ds + π t, where π t, t is local martingale and the intensity function S t, X) = S + t g t s) dx s = S + t i <T 3 g t t i ).

It is supposed that ρ = g t) dt <. Under this condition the self-exciting process is a stationary point process with the rate µ = S ρ and the spectral density f λ) = µ 2π G λ) 2, G λ) = e iλt g t) dt see Hawkes 972) or Daley and Vere-Jones 23) for details). We consider two problems: Poisson against another Poisson and Poisson against a close self-exciting point process. The first one is to test the simple basic) hypothesis H : S t) S t), t where S t) is known periodic function of period τ, against the composite alternative H : S t) S t), t, but S t) is always τ-periodic. Let us denote X j t) = X τj )+t X τj ), j =,..., n, suppose that T = nτ and put ˆΛ n t) = n X j t). n The corresponding goodness-of-fit tests of Cramér-von Mises and Kolmogorov-Smirnov type can be based on the statistics τ ] 2 Wn 2 = Λ τ) 2 n [ˆΛn t) Λ t) dλ t), D n = Λ τ) /2 sup ˆΛ n t) Λ t). It can be shown that t τ j= W 2 n = W s) 2 ds, n Dn = sup W s) s 4

where {W s), s } is a Wiener process see Kutoyants 998)). Hence these statistics are asymptotically distribution-free and the tests ψ n X T ) = {W 2 n >c α}, φ n X T ) = { ndn>d α} with the constants c α, d α taken from the equations 4), are of asymptotic size α. Let us describe the close contiguous alternatives which reduce asymptotically this problem to signal in white Gaussian noise model 5). We put Λ t) = Λ t) + nλ τ) t h u v)) dλ v), u v) = Λ v) Λ τ). Here h ) is an arbitrary function defining the alternative. satisfies this equality we have the convergence Then if Λ t) W 2 n = [ s 2 h v) dv + W s)] ds. This convergence describes the power function of the Cramér-von Mises type test under these alternatives. The second problem is to test the hypothesis H : S t) = S, t against nonparametric close contiguous) alternative H : S t) = S + t h t s) dx t, t, T We consider the alternatives with the functions h ) having compact support and bounded. We have Λ t) = S t and for some fixed τ > we can construct the same statistics W 2 n = n S τ 2 τ ] 2 [ˆΛn t) S t dt, Dn = S τ) /2 sup t τ Of course, they have the same limits under hypothesis ˆΛ n t) S t. W 2 n = W s) 2 ds, ndn = sup W s). s 5

To describe their behaviour under any fixed alternative h ) we have to find the limit distribution of the vector w n = w n t ),..., wn t k ) ), w n t l ) = S τ n n [X j t l ) S t l ], where t l τ. We know that this vector under hypothesis is asymptotically normal L {w n } = N, R) with covariance matrix j= R = R lm ) k k, R lm = τ min t l, t m ). Moreover, it was shown in Dachian and Kutoyants 26) that for such alternatives the likelihood ratio is locally asymptotically normal, i.e., the likelihood ratio admits the representation { Z n h) = exp n h, X n ) } 2 I h) + r n h, X n ) where and n h, X n ) = I h) = S τn τn t h t) 2 dt + S h t s) dx s [dx t S dt], ) 2 h t) dt n h, X n ) = N, I h)), r n h, X n ). 7) To use the Third Le Cam s Lemma we describe the limit behaviour of the vector n h, X n ), w n ). For the covariance Q = Q lm ), l, m =,,..., k of this vector we have E n h, X n ) =, Q = E n h, X n ) 2 = I h) + o )). Further, let us denote dπ t = dx t S dt and H t) = t h t s) dx s, then 6

we can write Q l = E [ n h, X n ) w n t l )] n τj n ) τi )+tl = ns 3/2 τ E H t) dπ t dπ t j= τj ) i= τi ) n τj )+tl = nτ E H t) dt = t l S h t) dt + o )), S τ because j= τj ) t E H t) = S h t s) ds = S h s) ds for the large values of t such that [, t] covers the support of h )). Therefore, if we denote h = h s) ds then Q l = Q l = t l S h. τ The proof of the Theorem in Dachian and Kutoyants 26) can be applied to the linear combination of n h, X n ) and w n t ),..., w n t k ) and this yields the asymptotic normality ) L n h, X n ), w n = N, Q). Hence by the Third Lemma of Le Cam we obtain the asymptotic normality of the vector w n ) ) L h w n = L W s ) + s S h,..., W sk ) + s k S h, where we put t l = τ s l. This weak convergence together with the estimates like E h w n t ) w n t 2 ) 2 C t t 2 provides the convergence under alternative) W 2 n = [ S h s + W s) ] 2 ds. 7

We see that the limit experiment is of the type dy s = S h ds + dw s), Y =, s. The power βψ n, h) of the Cramer-von Mises type test ψ n X n ) = {W 2 n >c α } is a function of the real parameter ρ h = S h ) β W n, h) = P [ρ h s + W s)] 2 ds > c α + o ) = β ψ ρ h ) + o ). Using the arguments of Lemma 6.2 in Kutoyants 998) it can be shown that for the Kolmogorov-Smirnov type test we have the convergence ndn = sup ρ h s + W s). s The limit power function is ) β φ ρ h ) = P sup ρ h s + W s) > d α. s These two limit power functions will be obtained by simulation in the next section. 5 Simulation First, we present the simulation of the thresholds c α and d α of our Cramérvon Mises and Kolmogorov-Smirnov type tests. Since these thresholds are given by the equations 4), we obtain them by simulating 7 trajectories of a Wiener process on [,] and calculating empirical α quantiles of the statistics W 2 = W s) 2 ds and D = sup W s) s respectively. Note that the distribution of W 2 coincides with the distribution of the quadratic form W 2 = k= ζ 2 k πk) 2, ζ k i.i.d. N, ) 8

and both distributions are extensively studied see.9.4)) and.5.4) in Borodin and Salmienen 22)). The analytical expressions are quite complicated and we would like to compare by simulation c α and d α with the real finite time) thresholds giving the tests of exact size α, that is c T α and d T α given by equations P { W 2 n > c T α} = α and P { ndn > d T α} = α respectively. We choose S = and obtain c T α and d T α by simulating 7 trajectories of a Poisson process of intensity on [,T ] and calculating empirical α quantiles of the statistics W 2 n and nd n. The thresholds simulated for T =, T = and for the limiting case are presented in Fig.. The lower curves correspond to the Cramér-von Mises type test, and the upper ones to the Kolmogorov-Smirnov type test. As we can see, for T = the real thresholds are already indistinguishable from the limiting ones, especially in the case of the Cramér-von Mises type test. 3 T= T= Limiting 2 threshold,2,4,6,8 alpha Fig. : Threshold choice It is interesting to compare the asymptotics of the Cramér-von Mises and Kolmogorov-Smirnov type tests with the locally asymptotically uniformly 9

most powerful LAUMP) test ˆφ n X n ) = {δt >z α}, δ T = X nτ S nτ S nτ proposed for this problem in Dachian and Kutoyants 26). Here z α is α quantile of the standard Gaussian law, P ζ > z α ) = α, ζ N, ). The limit power function of ˆφ n is β ˆφ ρ h ) = P ρ h + ζ > z α ). In Fig. 2 we compare the limit power functions β ψ ρ), β φ ρ) and β ˆφ ρ). The last one can clearly be calculated directly, and the first two are obtained by simulating 7 trajectories of a Wiener process on [,] and calculating empirical frequencies of the events { } [ρ s + W s)] 2 ds > c α respectively. and { } sup ρ s + W s) > d α s,8 K-S test C-vM test LAUMP test,6 power,4,2 2 3 4 5 6 rho Fig. 2: Limit power functions 2

The simulation shows the exact quantitative) comparison of the limit power functions. We see that the power of LAUMP test is higher that the two others and this is of course evident. We see also that the Kolmogorov- Smirnov type test is more powerful that the Cramér-von Mises type test. References. Borodin, A.N. and Salmienen, R. 22). Handbook of Brownian Motion - Facts and Formulae, 2nd ed.), Birkhauser Verlag, Basel. 2. Dachian, S. and Kutoyants, Yu.A. 26). Hypotheses Testing: Poisson versus self-exciting, Scand. J. Statist., 33, 39 48. 3. Daley, D.J. and Vere-Jones, D. 23). An Introduction to the Theory of Point Processes. vol. I. 2nd ed.), Springer-Verlag, New York. 4. Durbin, J. 973). Distribution Theory for tests Based on the Sample Distribution Function, SIAM, Philadelphia. 5. Fournie, E. 992). Un test de type Kolmogorov-Smirnov pour processus de diffusions ergodic. Rapport de Recherche, 696, INRIA, Sophia-Antipolis. 6. Fournie, E., Kutoyants, Yu. A. 993). Estimateur de la distance minimale pour des processus de diffusion ergodiques. Rapport de Recherche, 952, INRIA, Sophia-Antipolis. 7. Greenwood, P. E. and Nikulin, M. 996). A Guide to Chi-Squared Testing, New-York: John Wiley and Sons. 8. Hawkes, A.G. 972). Spectra for some mutually exciting point processes with associated variable, in Stochastic point processes, P.A.W. Lewis ed., Wiley, New York. 9. Iacus, S. and Kutoyants, Yu.A. 2). Semiparametric hypotheses testing for dynamical systems with small noise, Math. Methods Statist.,,, 5 2.. Ingster, Yu.I. and Suslina, I.A. 23). Nonparametric Goodness-of-Fit Testing Under Gaussian Models, Springer, N.Y. 2

. Kutoyants, Yu.A. 994). Identification of Dynamical Systems with Small Noise, Dordrecht: Kluwer. 2. Kutoyants, Yu. A. 998). Statistical Inference for Spatial Poisson Processes. Lect Notes Statist. 34, New York: Springer-Verlag. 3. Kutoyants, Yu.A. 24). Statistical Inference for Ergodic Diffusion Processes, London: Springer-Verlag. 4. Kutoyants, Yu.A. 26). Goodness-of-fit tests for perturbed dynamical systems, in preparation. 5. Liptser, R.S. and Shiryayev, A.N. 2). Statistics of Random Processes. II. Applications, 2nd ed.) Springer, N.Y. 6. Negri, I. 998). Stationary distribution function estimation for ergodic diffusion process, Stat. Inference Stoch. Process.,,, 6 84. 22