arXiv:1606.03848v1 [math.ST] 13 Jun 2016

Non parametric estimation for random walks in
random environment
Roland Diel

Matthieu Lerasle

June 14, 2016

Abstract
We consider a random walk in i.i.d. random environment with distribution ν on Z. The problem we are interested in is to provide an
estimator of the cumulative distribution function (c.d.f.) F of ν from
the observation of one trajectory of the random walk. For that purpose we first estimate the moments of ν, then combine these moment
estimators to obtain a collection of estimators (FbnM )M ≥1 of F , our final
estimator is chosen among this collection by Lepskii’s method. This
estimator is therefore easily computable in practice. We derive convergence rates for this estimator depending on the Hölder regularity of
F and on the divergence rate of the walk. Our rate is optimal when
the chain realizes a trade-off between a fast exploration of the sites,
allowing to get more informations and a larger number of visits of each
sites, allowing a better recovery of the environment itself.
Keywords and phrases : random walk in random environment, non-parametric
estimation, oracle inequalities, adaptive estimation .
AMS 2010 subject classification : Primary 62G05, Secondary 62E17, 60K37

1

Introduction

Since its introduction by Chernov [Che67] to model DNA replication, random walks in random environment (RWRE) on Zd have been widely studied
in the probabilistic literature. This model is now well understood in the case
d = 1, the case d > 1 is more complex and only partial results have been
obtained. A recent overview can be found for example in [Zei12].
In this paper, we are interested in estimating the distribution ν from the
observation of one trajectory of a random walk in random environment ν on
Z. The problem of estimation for RWRE was originally considered in [AE04]
1

who introduced an estimator of the moments of the distribution. The state
space of the walk in [AE04] is more general than Z but their estimators have
a huge variance, they are therefore unstable and cannot really be used in
practice. More recently, [FLM14, FGL14, CFL+ 14, CFLL16] considered the
random walk on Z and investigated the problem in a parametric framework.
They proved consistency of the maximum likelihood estimator in various
regimes of the walk and even its asymptotic normality and efficiency in the
ballistic regime, see Section 2 for details.
Although very interesting, this approach suffers several drawbacks both
for practical applications and from a statistical perspective. First, the results are stated in a purely asymptotic framework where the number n of
sites visited by the walk tends to infinity. Next, the quality of the estimator strongly relies on the assumption that the unknown distribution
lies in a parametric model. Both assumptions impose severe restrictions
for applications. The robustness of the procedure to a misspecified model
for the unknown distribution, or the dependence of the performances of
the maximum likelihood estimator with respect to an increasing number of
parameters to recover are not considered. Moreover, the maximum likelihood estimator can be evaluated only after solving a maximization problem
that is computationally intractable in general. Finally, the estimators of
[FLM14, FGL14, CFL+ 14, CFLL16] are not exactly the same depending on
the regime of the walk (recurrent or transient). This is an important problem from a statistical perspective since the regime depends on the unknown
distribution of the observations, see Section 2 for details.
In this paper, we propose by contrast a non-asymptotic and non-parametric
approach to tackle the estimation of the unknown cumulative distribution
function (c.d.f.) of the environment from one observation of the walk. All
our concentration results are valid in any regime, the only difference between the regimes lies in the convergence rate of the c.d.f. estimator. Our
approach is based on the estimation of the moments of the unknown distribution, these estimations can always be performed in linear time. Those
primary estimators are then combined to build a collection of estimators
with non-increasing bias and non-decreasing variance and the final estimator is chosen among them according to the Lepskii method [Lep91]. The
resulting estimator is therefore very fast to compute and provides at least a
starting point to an optimization algorithm computing the maximum likelihood. It satisfies an oracle type inequality, meaning that it performs as well
as the best estimator of the original collection. The oracle type inequality
is used to obtain rates of convergence under regularity assumptions on the
unknown c.d.f.. More precisely, the rate of convergence of our estimator,
2

stated in Theorem 1 below in terms of the number n of visited sites, is given

γ/(2γ+4κ)
log n
√ n and in the transient case by
in the recurrent case by log
,
n
n
where γ is the Hölder regularity of the unknown c.d.f. and κ > 0 is a parameter related to the rate at which the chain derives to infinity, see Section 2
for details. This rate can be compared with the one we would achieve if
we observed the environment (ωx )1≤x≤n . Actually, the empirical c.d.f. is
√
known to converge at rate 1/ n, without assumptions on the regularity
of F by the Kolmogorov-Smirnov theorem and Dvoretzky-Kiefer-Wolfowitz
inequality [DKW56, Mas90] gives a precise non-asymptotic concentration inequality. Our result is therefore much weaker, which is not surprising since
we only observe a trajectory of the RWRE, but it can be noticed that, in
the recurrent case, we recover, up to the logarithmic factor, this usual rate
of convergence. Indeed, in this regime, the walk visits every site infinitely
often and it allows to learn the environment itself. One could also recover
this rate in the limit γ → ∞. In Theorem 1, γ is assumed to be smaller
than 2, the extension of our results to γ > 2 would require further technical
analysis that is not performed here. The optimality of the dependence in κ
in general remains also an open question.
The performance of the estimator seems to deteriorate as κ increases, that
is when the chains derives faster to infinity, which is confirmed by our short
simulation study in Section 6. However, when expressed in terms of the
number of observations, that is the number Tn of steps of the walk, the

 γκ
2γ+4κ
rates become logloglogTnTn in the recurrent case, logTnTn
when 0 < κ < 1,
γ
γ




2γ+4κ
(log Tn )2 2γ+4
when κ = 1 and logTnTn
when κ > 1, see the remark
Tn
after Theorem 1. It follows that the best rate is actually achieved when
κ = 1. This
√ looks surprising compared to the results of [FLM14] where
the rate 1/ Tn can be recovered in the ballistic regime (κ > 1). The nonparametric problem that we consider seems therefore more complex than the
parametric case. Actually, our rate of convergence is optimal in a regime
where the walk realizes a trade-off between visiting more sites to obtain more
information and spending more time on each site to learn the environment
itself.
More generally, from a statistical perspective, we believe that the RWRE can
be seen as a toy model for non-linear inverse problems in statistics. While
linear inverse problems have been deeply studied in the last decades, see for
example [Cav11, ABT13] for recent overviews, much less is known when the
observation is not a noisy version of some linear transformation of the signal
of interest. The problem considered in this paper is a typical example which
3

has been intensively studied from a probabilistic point of view. As such,
many tools for statistical analysis, such as concentration inequalities, are
already proved, or can be easily derived from existing results on the walk.
The paper is organized as follows. In Section 2, we present the model, recall
a few basic results on the RWRE and state our main theorem. In Section 3,
we present the construction of the estimators of the moments of the distribution of the environment, which are the building blocks of our procedure.
We also present their concentration properties and the key martingale arguments leading to these results. Section 4 presents the construction of the
collection of estimators for the c.d.f. and states the concentration properties of these estimators. It also presents the oracle type inequality satisfied
by the final estimator chosen among the precedent collection by the Lepskii method. A short simulation study is presented in Section 5 showing
the actual performances of our estimators. The most technical proofs are
postponed to Section 6.

2

Setting

Let ω = (ωx )x∈Z be an independent and identically distributed (i.i.d.) sequence of random variables taking values in (0, 1), with common distribution
ν. The random variable ω is called the environment and its distribution on
(0, 1)Z is denoted by Qν = ν ⊗Z . Given a realization of the environment
ω, let S = (St )t∈Z+ denote the random walk in the environment ω, that is
the Markov chain on Z starting at S0 = 0 and with probability transitions
defined as follows:


if y = x + 1
ωx
Pω (St+1 = y|St = x) = 1 − ωx if y = x − 1 .


0
otherwise
The probability measure Pω of the chain, conditionally on the environment
ω, is usually called the quenched distribution, while the unconditional distribution given by
Z
Pν (·) =

Pω ( · ) Qν (d ω)

is called the annealed distribution. The asymptotic behavior of the walk
x
(St )t∈Z+ depends on the random variables ρx = 1−ω
ωx . More precisely, if
ν
E [ | log ρ0 | ] is finite, Solomon [Sol75] proved the following classification:
1. if Eν [ log ρ0 ] < 0, limt→∞ St = ∞,
4

2. if Eν [ log ρ0 ] = 0, lim supt→∞ St = ∞ and lim inf t→∞ St = ∞.
The exact divergence rate of (St )t∈Z+ in the first case was obtained by
Kesten, Kozlov and Spitzer [KKS75]. Suppose that the distribution of log ρ0
is non arithmetic (that is the group generated by the support of log ρ0 is
dense in R) and that there exists some κ ∈ (0, ∞) such that


Eν [ ρκ0 ] = 1 and Eν ρκ0 log+ (ρ0 ) < ∞
(1)
where log+ (x) = log(x ∨ 1).
When κ exists, a simple convexity argument shows that it is unique. This
value determines the asymptotic divergence rate of (St )t∈Z+ . More precisely,
let Tn denote the first hitting time of n ∈ Z+ , Tn = inf { t ∈ Z+ , St = n }:
1. if κ < 1, Tn /n1/κ and St /tκ converge in distribution to some non trivial
distribution,
2. if κ = 1,

Tn
n log n

3. if κ > 1,

Tn
n

and

and

St
t

(log t)2
St
t

converge in probability,

converge in probability.

The first two cases are called the sub-ballistic cases and the last one the
ballistic case, where Tn and St grow linearly.
In the recurrent case, the order of magnitude of the fluctuations
of Sit was
h
ν
ν
obtained by Sinai [Sin82]. Suppose that E [ log ρ0 ] = 0, E ( log ρ0 )2 > 0
and that the support of the law of ρ0 is included in (0, 1), then St /(log t)2
converges in distribution to a non trivial limit.
Our main result is valid either under the assumptions of [KKS75] or under
a slightly weaker version of the ones presented in [Sin82]: let us introduce
the following assumption

h
i
ν [ log ρ ] = 0, Eν ( log ρ )2 > 0

E

0
0







and ∃a > 0, Eν [ ρa0 ] + Eν ρ−a
< +∞

0
(H)
or




Eν [ log ρ0 ] < 0, the distribution of log ρ0 is non arithmetic






and ∃κ ∈ (0, ∞), Eν [ ρκ0 ] = 1 and Eν ρκ0 log+ (ρ0 ) < ∞ .
Under (H), (St )t∈Z+ is either transient to the right, when Eν [ log ρ0 ] < 0 or
recurrent, when Eν [ log ρ0 ] = 0. In both cases, Tn is almost surely finite for
any n ∈ Z+ .
5

Our problem here is to estimate the c.d.f. F of the distribution ν using the
path S[0,Tn ] = { St , 0 ≤ t ≤ Tn }. As we need to assume that F is Hölder
continuous to bound the bias of our estimators, we recall the definition of
γ-Hölder seminorms and spaces: for any γ ∈ (0, 1], the Hölder space C γ is
the set of continuous functions f : [0, 1] → R such that
kf kγ = sup
u6=v

|f (v) − f (u)|
<∞
|v − u|γ

and for γ ∈ (1, 2] the Hölder space C γ is the set of continuously differentiable
functions f : [0, 1] → R such that
kf kγ = kf 0 k∞ + sup
u6=v

|f 0 (v) − f 0 (u)|
<∞ .
|v − u|γ−1

The following theorem is the main result of the paper.
Rt
Theorem 1. Suppose that the c.d.f. F (t) = 0 ν(d u) is γ-Hölder for some
γ ∈ (0, 2] and that ν satisfies Assumption (H). There exists a constant Cν
depending only on the distribution ν such that, for any integer n ≥ 2, there
exists an estimator Fbn = fn S[0,Tn ] satisfying
h

Eν kFbn − F k∞

i

 
 γ
C log n 2γ+4κ
ν
n
≤
n
C log
√
ν

n

if

Eν [ log ρ0 ] < 0

if

Eν [ log ρ0 ] = 0

.

Moreover, for any
 integer n ≥ 1 and any real z > 0, there exists an estimator
Fbnz = fnz S[0,Tn ] such that if Eν [ log ρ0 ] < 0,
Pν

kFbnz − F k∞ ≥ Cν



z + log n
n



γ
2γ+4κ

!
≤ e−z .

√
Remark 1. In the recurrent case, the rate log n/ n is, up to the logarithmic
factor, the rate of convergence of the empirical c.d.f. when the environment
(ωx )0≤x≤n is observed. This is the best rate reached by our estimator expressed in terms of the number n of visited sites. This is not surprising
since the walk visits each site many times and can basically learn the environment itself. When κ > 0, the rate deteriorates as κ increases, which was
also expected since the walk derives faster to infinity in this case. However,
the rate of convergence can also be expressed in function of the number of

6

observations, that is the time Tn it took to reach site n. In the recurrent
regime, log Tn ∼ n1/2 , so the rate becomes
log log Tn
.
log Tn
In the transient regime, for κ < 1, Tn ∼ n1/κ , so the rate of convergence
becomes

 γκ
log Tn 2γ+4κ
.
Tn
When κ = 1, Tn ∼ n log n and we get the rate of convergence

 γ
(log Tn )2 2γ+4
.
Tn
While for κ > 1, Tn ∼ n and the rate of convergence is

 γ
log Tn 2γ+4κ
.
Tn
Therefore, the best rate expressed in the number Tn of observed steps of the
walk is obtained in the sub-ballistic regime where κ = 1. The situation is
slightly more complicated in the non-parametric problem considered in this
paper than in the parametric setting of [FLM14, FGL14, CFL+ 14, CFLL16],
where the optimal rates were obtained in the ballistic regime. In the non
parametric case, there seems to be a trade-off between exploring more sites
(increasing κ) to get information about more realizations of ν and spend
more time on theses sites (decreasing κ) to have a better knowledge of these
realizations.

3

Estimation of the moments of the environment

This section presents the estimators of the moments of the environment
and the key martingale arguments underlying their concentration properties.
These will be the basic tools to build and control the estimator of the c.d.f.
in the following sections.
Following [CFL+ 14], we write the likelihood of the observation using the
following processes. Let
X
L(t0 , x) =
1{St =x,St+1 =x−1} ,
0≤t≤t0 −1

R(t0 , x) =

X

1{St =x,St+1 =x+1}

0≤t≤t0 −1

7

denote the number of left (resp. right)
steps for S until time t0 and from

site x. The likelihood Lν S[0,Tn ] of the observation can be expressed in
the following way, see [CFL+ 14],
Z

!
Y

ωxR(Tn ,x) (1

L(Tn ,x)

− ωx )

Qν (dω)

x∈Z

=

YZ

1

aR(Tn ,x) (1 − a)L(Tn ,x) ν(da) .

x∈Z 0

Now, our choice of Tn implies that L(Tn , n) = 0 and
(
R(Tn , x),
∀x < 0
L(Tn , x + 1) =
.
R(Tn , x) − 1, ∀x ∈ [0, n − 1]
Hence,


Lν S[0,Tn ] =

Y Z

1

aL(Tn ,x+1)+1{x≥0} (1 − a)L(Tn ,x) ν(da) .

x≤n−1 0

The collection (L(Tn , x))x≤n is therefore an exhaustive statistic in our problem on which we will base our estimation strategy. An important result of
[KKS75] is that the process
(Zxn )0≤x≤n = (L(Tn , n − x))0≤x≤n
is a branching process in random environment with immigration. This representation was successfully used in [CFL+ 14] to deal with the parametric
case. In particular (see [CFL+ 14, Proposition 4.3]), under the annealed law
Pν , (Zxn )0≤x≤n has the same distribution as (Zx )0≤x≤n where (Zx )x∈Z+ is an
homogeneous Markovian process with transition kernel

Z 1
i+j
ν
K (i, j) =
ai+1 (1 − a)j ν(d a) .
(2)
j
0
Moreover, if Eν [ log ρ0 ] < 0, (Zx )x∈Z+ is positive, recurrent and aperiodic
and admits the unique invariant probability measure π defined, for any i ∈
Z+ , by


π(i) = Eν W −1 (1 − W −1 )i

where

W =

∞
X
x=0

8

eVx −V0

(3)

P
and for any x ∈ Z+ , Vx = xz=0 log ρz (see [CFL+ 14, Theorem 4.5]).
Equation (2) shows that it is natural to estimate the moments
h
i Z 1
α,β
ν
α
β
aα (1 − a)β ν(d a), α, β ∈ Z+ .
m
= E ω0 (1 − ω0 ) =
0

Our estimation strategy is based on the remark that, for any α, β ∈ Z+ ,
X i − α + j − β 
ai+1 (1 − a)j = aα (1 − a)β .
(4)
∀i ≥ α,
i−α
j≥β

Integrating this equality with respect to a leads to the relation.
X i − α + j − β  K ν (i, j)
∀i ≥ α,
 = mα,β .
i+j
i−α
j
j≥0

In other words, for any α, β ∈ Z+ ,
∀i ≥ α, ∀x ∈ [1, n]



n
n
mα,β 1i≥α = E Φα,β (Zx−1
, Zxn )|Zx−1
=i ,

(5)

where, for any integers i and j,
i+j−(α+β)
i−α
1{i≥α,j≥β}

i+j
i

Qα−1



Φα,β (i, j) =

= 1{i≥α,j≥β}

l=0

(i − l)

Qα+β−1
l=0

Qβ−1
l=0

(j − l)

(i + j − l)

.

It is therefore natural to estimate mα,β by the following estimator.
m
b α,β
n

n
1 X
n
= α
Φα,β (Zx−1
, Zxn )
Nn

where

x=1

Nnα

=

n−1
X

1{Zxn ≥α} ,

(6)

x=0

with the convention that 0/0 = 0. The following lemma summarizes the
preceding remarks.
Lemma 2. For any integer n ≥ 0, denote by ( Fn,x )0≤x≤n the filtration
generated by the sequence ( Zxn )0≤x≤n . For any α, β ∈ Z+ , the triangular
α,β
arrays (Xn,x
)0≤x≤n<∞ defined, for all integer n ≥ 0, by
α,β
Xn,0
=0 ,

∀x ∈ { 1, . . . , n } ,

α,β
n
Xn,x
= Φα,β (Zx−1
, Zxn ) − mα,β 1{Z n

x−1 ≥α

are martingale difference arrays with respect to ( Fn,x )0≤x≤n<∞ .
9

}

α,β
Proof. For any integers n, α, β ≥ 0, the process
h (Xn,x )0≤x≤n
i is adapted to
α,β
( Fn,x )0≤x≤n . Moreover, (5) yields directly E Xn,x+1 |Fn,x = 0.

Lemma 2 shows that one can use martingales theory to control the risk of
our moment estimators. As an example, we give the risk bounds derived
from Mc Diarmid’s inequality [McD89] in Theorem 3 and Theorem 4 gives
the central limit theorem satisfied by these estimators.
Theorem 3. Assume that the random walk is either recurrent or transient
to the right, that is Eν [log ρ0 ] ≤ 0, and let α, β ∈ Z+ . For any integer n ≥ 1
and any real number z > 0,

−1 r !
n
α
+
β
z
α,β
Pν m
b α,β
≥ α
≤ 2e−z .
n −m
Nn
α
2n
α
P
Remark 2. Note that, if E [ log ρ0 ] < 0, Nnn = n1 nk=1 1{Z n ≥α} converges
k


according to (3) to E (1 − W −1 )α > 0 and if E [ log ρ0 ] = 0, Nnα /n ≥ 1/2
with large probability (see Lemma 12). Therefore, for any α, β ≥ 0, m
b α,β
n
√
converges at parametric rate n.

Remark 3. For α = 0, Nn0 = n, therefore
the convergence rate of the

β
estimator of the moments E (1 − ω0 ) for β > 0 is deterministic in this
case.
Proof. Notice that
Nnα (m
b α,β
n

−m

α,β

)=

n
X
x=1

α,β
Xn,x

=

n
X

n
Φα,β (Zx−1
, Zxn ) − mα,β 1{Z n

x−1 ≥α

} .

x=1

Moreover, an elementary
argument shows that, for i ≥ α and
 α+β  combinatoric

i+j
j ≥ β, i+j−α−β
≤
.
Thus,
for
any n ≥ 1 and x ≤ n − 1,
i−α
α
i
n
0 ≤ Φα,β (Zxn , Zx+1
)≤

1
α+β
α

 = Φα,β (α, β) .

Theorem 3 follows now from Lemma 2 and Mc Diarmid’s inequality (see
Theorem 6.7 in [McD89]).
The asymptotic behavior of the estimators in the transient case is given
more precisely in the following theorem.

10

Theorem 4. Suppose that Eν [log ρ0 ] < 0. For any α, β ∈ Z+ , the estimator
of mα,β is asymptotically normal, more precisely
√

L

α,β
2
n(m
b α,β
) −−−→ N (0, Vα,β
)
n −m
n→∞

where
Eν
2
Vα,β
=

 
where Zex

x≥0



2 
e
e
Φα,β (Z0 , Z1 )

Eν [ (1 − W −1 )α ]2


2
− mα,β

is a Markov chain with transition kernel K ν started with the

invariant distribution π (see (2) and (3)).
Theorem 4 is proved in Section 6.1.
Remark 4. When α = 0,

2

2
2
m0,2β − m0,β ≤ V0,β
≤ m0,β − m0,β
.
Moreover, these bounds are tight, the lower bound is reached when κ → 0
and the upper bound when κ → ∞. Our estimators can therefore
be com1 Pn
pared to the empirical means, knowing the environment: n+1 x=0 (1−ωx )β .
The central limit theorem shows that this random variable is asymptotically
2
normal with limit variance m0,2β − m0,β . Therefore, the performance of
our estimators matches those of this ideal case when the chain is almost
recurrent but there is a loss in the constants otherwise.

4

Estimation of the cumulative distribution function

We now want to use the estimation of the moments mα,β to approximate
the cumulative distribution function F of ν. Define for any u ∈ [0, 1],
F

M

[(M +1)u]−1 

(u) =

X
k=0

P−1


M
mk,M −k
k

(7)

with the usual convention that k=0 = 0. Lemma 9 shows that, if F is
Hölder continuous, F M converges uniformly to F when M tends to infinity.

11

Thus, we only have to estimate F M . We propose the following moment
estimator
n
1 X [(M +1)u] n
M
b
Fn (u) = M
ψM
(Zx−1 , Zxn )
(8)
Nn
x=1

where
l
ψM
(i, j) =


l−1  
1{i≥M } X
i
j

i+j
k
M −k
M

(9)

k=0

NnM

and
=
any i ≥ M ,

Pn−1
x=0

1{Zxn ≥M } as in (6), still using the convention 0/0 = 0. For
l
ψM
(i, j)

=

l−1  
X
M
k=0

k

Φk,M −k (i, j)

where Φk,M −k is defined in (5). Therefore, the estimator (8) is essentially
the estimator of F M obtained from the moment estimators of Section 3, but
using only the sites x satisfying Zxn ≥ M . P
FbnM is an
estimator
of
 unbiased


i
j
i+j
M
=
for
any
F as shown by Lemma 7. Moreover, as M
k=0 k M −k
M
i, j ≥ 0, any FbnM is a (random) c.d.f.
The following lemma gives an upper bound on the risk of each estimator
(FbnM )M ∈Z+ .
Lemma 5. Assume that the random walk is either recurrent or transient to
the right, that is Eν [log ρ0 ] ≤ 0, and that the function F is in C γ for some
γ ∈ (0, 2]. For any integers M, n ≥ 1, and any real z > 0, we have
"
#
r
2kF
k
n
z
+
log
M
γ
Pν kFbnM − F k∞ ≥ M
+
≤ 2e−z .
Nn
2n
(M + 1)γ/2
Lemma 5 is proved in Section 6.2. The first term in the bound is random, it
is derived from the martingale argument presented in the previous section.
The second term is the upper bound on the bias of this estimator derived
from regularity assumptions on F . It is interesting to notice that, although
F M is a histogram, one can take advantage of the regularity of F up to
γ = 2.
The estimator Fbn given in Theorem 1 is obtained via Lepskii’s method,
see [Lep91], using the collection (FbnM )M ≥1 . This method selects, for any
cnz ≥ 0 without the knowledge of γ,
fixed z > 0, a regularizing parameter M
z
c
M
such that the estimator Fbn n optimizes, up to a multiplicative constant, the
bound given by Lemma 5.
12

Lemma 6. Assume that the random walk is either recurrent or transient to
the right, that is Eν [log ρ0 ] ≤ 0, and that the function F is in C γ for some
γ ∈ (0, 2]. For any integer n ≥ 1 and any real z > 0, there exists a r.v.
cnz = gn,z (S[0,T ] ) such that,
M
n
(
"
)#
r
6kF
k
z
+
3
log
M
4n
π 2 −z
z
c
γ
> inf
Pν
FbnMn − F
+
≤
e
.
M ≥1
NnM
2n
3
∞
(M + 1)γ/2
cz and the proof of Lemma 6 are given
The details of the construction of M
n
in Section 6.3.
cz
M
To derive, from Lemma 6, the rate of convergence of the estimator Fbnz = Fbn n
and conclude the proof of Theorem 1, we have to study the asymptotic
M
behavior of Nnn . This study is performed in section 6.4 separately for the
recurrent case and the transient case. The reason is that, in the transient
case, the Markov chain (Zx )x∈Z+ admits an invariant probability π while
it doesn’t in the recurrent case. The proof of Theorem 1 is completed in
Section 6.5.

5

Simulation Study

This section illustrates the results of Theorem 1 with some experiments on
synthetic data.
We first consider the case of Beta distribution B(a, b). In this example,
F is clearly infinitely differentiable and simple computations show that the
coefficient κ is equal to a − b.
Figures 1-4 show the estimates of the c.d.f. for various values of κ and n =
500, illustrating the improvement of the convergence rates as κ decreases.
cn and the value of the
They also provide the value of the selected model M
c
loss N∞ = kF − FbnMn k∞ . The red curve is the empirical c.d.f. knowing the
environment ( ωx )0≤x≤n−1 .
Figures 5 and 6 illustrate the importance of the regularity assumption. In
Figure 5, we consider the uniform distribution on [0.3, 0.9] with n = 10000,
it shows that, at the points 0.3 and 0.9 where the function F is non differentiable, the convergence is slower. In Figure 6, we consider the distribution
0.3δ0.4 +0.7δ0.7 with n = 10000; in this case the function F is not continuous
and the convergence of our estimator is not clear.
Finally, in Table 1, for different values of κ, the empirical mean of the
c
loss N∞ (n) = kF − FbnMn k∞ is computed on 500 simulations for any n ∈
{2k × 100, k = 0, . . . , 7} and the slope of the linear regression of log N∞ (n)
13

1.0

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

Fν
empirical cdf
Fn

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.8

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.6

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.4

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●

0.2

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.0

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
● ●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.0

0.2

0.4

0.6

0.8

1.0

Figure 1: Recurrent case B(3, 3):
cn = 39,
n = 500, Tn ≈ 109 , M
N∞ ≈ 0.065.

0.4

0.6

0.8

1.0

Figure 3: κ = 1, B(4, 3): n = 500,
cn = 19, N∞ ≈ 0.105.
Tn = 7892, M

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.2

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.0

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.0

0.2

0.4

0.6

0.8

1.0

Figure 4: κ = 3, B(6, 3): n = 500,
cn = 3, N∞ ≈ 0.406.
Tn = 1930, M

Figure 2: κ = 0.5, B(3.5, 3): n =
cn = 37, N∞ ≈
500, Tn ≈ 195046, M
0.028.

with respect to log n is compared to the theoretical bound ( 2 + 2κ )−1 of
Theorem 1, here we use Beta distribution B(3 + κ, 3) therefore γ = 2. When
κ = 0.6, we only compute simulations for n ∈ {2k × 100, k = 0, . . . , 5}
because of computational complexity. Remark that the slope obtained empirically is usually better than our theoretical bound: this may follow from

14

0.0

0.2

0.4

0.6

0.8

1.0
0.8
0.6
0.4
0.2

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.0

1.0
0.8
0.6
0.4
0.2
0.0

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

Fν
empirical cdf
Fn

●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●

0.0

1.0

0.2

0.4

0.6

0.8

1.0

Figure 6: D(0.4, 0.7, 0.3): n =
cn = 39,
10000, Tn = 66064, M
N∞ ≈ 0.31.

Figure 5: U (0.3, 0.9): n = 10000,
cn = 46, N∞ ≈
Tn = 106714, M
0.068.

the use of Mc Diarmid’s inequality to bound the random part of the risk of
FbnM in Lemma 8. This bound is not optimal as seen in the control of the
risk of m
b αn β presented in Theorem 3 and Theorem 4.
Table 1:
κ
0.6
0.75
1
2
3

6

( 2 + 2κ )−1
0.31
0.29
0.25
0.17
0.13

slope
0.33
0.31
0.29
0.26
0.24

Proofs

All along the proofs, Cν , Cα ν denote constants depending only on the distribution ν (or on ν and a parameter a), which may change from line to
line.

15

6.1

Proof of Theorem 4

We start by proving the convergence of
n
α,β
X
√ Nnα α,β
Xn,x
α,β
√
n
(m
bn − m ) =
n
n
x=1

We want to apply
limit theorem [HH80, Theorem 3.2] to the mar
 a central
α,β
Xn,x
α,β
√
. First, notice that, as, Pν −a.s. |Xn,x
| ≤ 1,
tingale arrays
n
1≤x≤n

α,β
Xn,x


1  α,β 2
≤1 .
(10)
Xn,x
1≤i≤n n
1≤i≤n
n
2

P
α,β
Then we only have to prove the convergence of n1 nx=1 Xn,x
to some constant to apply the theorem. (Remark that condition (3.21) in [HH80, Theo2 is deterministic.) The process (Z )
rem 3.2] is not necessary here as Vα,β
x x∈Z+
is an ergodic Markov chain with invariant distribution π defined in (3).
2

α,β
n , Z n ) and ( Z n )
Therefore, as Xn,x
is a bounded function of (Zx−1
x
x 0≤x≤n
2

P
α,β
has the same distribution as ( Zx )0≤x≤n , the mean n1 nx=1 Xn,x
conν
verges P -a.s. to

2 
e0 , Z
e1 ) − mα,β 1 e
σ 2 = Eν Φα,β (Z
{Z0 ≥α}


2


2
e0 , Z
e1 )
.
= Eν Φα,β (Z
− mα,β Eν (1 − W −1 )α
√

max

P

−→ 0

and

Eν



max

α,β
Pn Xn,x
√
Thus, according to [HH80, Theorem 3.2],
converges in distrix=1
n
2
bution to N (0, σ ). Moreover, the ergodicity of (Zx )x∈Z+ shows also that


Nnα /n converges Pν -a.s. to Eν (1 − W −1 )α . Theorem 4 follows now from
Slutsky’s lemma.

6.2

Proof of Lemma 5

The proof is decomposed in two parts. By the triangle inequality,
FbnM − F

∞

≤ FbnM − F M

∞

+ FM − F

∞

.

In the first part of the proof, we provide an upper bound for the random
term FbnM − F M
and in the second, an upper bound for the deterministic
term F M − F

∞

∞

.
16

6.2.1

Control of the random part of the risk

We use a martingale argument. For any 0 ≤ l ≤ M + 1, let us introduce the
triangular array:


l
M,l
l
n
n
M
∀1 ≤ x ≤ n, Yn,x = ψM (Zx−1 , Zx ) − 1{Zxn ≥M } F
.
M +1
Lemma 7. For any n ≥ 0, denote by (Fxn )0≤x≤n the filtration generated
by the sequence (Zxn )0≤x≤n . For any 0 ≤ l ≤ M + 1, the triangular array


M,l
is a martingale difference array with respect to (Fxn )0≤x≤n .
Yn,x
0≤x≤n

Proof. The transition kernel of the Markov chain (Zx )x∈Z+ (see (2)) yields,
for any l ≤ M + 1,
l
n
(Zxn , Zx+1
)|Fxn ]
Eν [ψM
XZ 1 n
= 1{Zxn ≥M }
aZx +1 (1 − a)j ν(d a)
0

j≥0
1

Z
= 1{Zxn ≥M }

Zxn +1

a
0

l−1 X  n 
X
Zx
k
k=0 j≥M −k

Zxn +j l−1  n 
X Z
j
x

n
Zx +j
M
k
M
k=0



Zxn +j 
j
Zxn +j  M
M



j
−k




j
(1 − a)j ν(d a) .
−k

Remark that, for any k ≤ M ≤ Zxn and j ≥ M − k,
 n  Zxn +j  
   n

Zx
j
M
Zx + j − M
j
=
.
Zxn +j  M − k
k
k
Zxn − k
M

Therefore,
l
n
Eν [ψM
(Zxn , Zx+1
)|Fxn ]

Z 1
l−1   X  n
X
M
Zx + j − M
n
= 1{Zxn ≥M }
aZx +1
(1 − a)j ν(d a)
n−k
k
Z
0
x
k=0

Z
= 1{Zxn ≥M }

j≥M −k

l−1 
1X

0 k=0




M k
l
M −k
M
n
a (1 − a)
ν(d a) = 1{Zx ≥M } F
M +1
k

where the second equality comes from (4) with α = k, β = M − k and
i = Zxn .
Lemma 8 provides risk bounds for the estimators FbnM .
17

Lemma 8. For any integers M, n ≥ 1, and any real z > 0,
"
#
r




z
+
log
M
l
l
n
Pν
max
FbnM
− FM
≤ 2e−z .
≥ M
0≤l≤M +1
M +1
M +1
Nn
2n
Proof. First, remark that
max

0≤l≤M +1

FbnM



l
M +1


−F

M



l
M +1



n
X
1
M,l
= M max
Yn,x
Nn 1≤l≤M

.

x=1

Moreover, for any 1 ≤ l ≤ M and i, j ≥ 0,
l−1  
X
i
k=0

k

j
M −k


≤

M  
X
i
k=0

k

j
M −k





i+j
=
M

l ∈ [0, 1] and Y M,l ≤ 1. Thus, Mc Diarmid’s inequality (Theorem
then ψM
n,x
6.7 in [McD89]) and Lemma 7 yield for any 1 ≤ l ≤ M ,
"
r #
n
1 X M,l
z
n
ν
P
Yn,x ≥ M
≤ 2e−z .
NnM
Nn
2n
x=1

The result of the lemma follows now from a union bound.
6.2.2

Control of the bias

Let us now turn to the term kF − F M k∞ . The rate of convergence depends
on the Hölder regularity of F .
Lemma 9. Suppose that the function F is in C γ for some γ ∈ (0, 2]. For
any integer M ≥ 0,




kF kγ
l
l
M
F
≤ γ
max
−F
.
0≤l≤M +1
M +1
M +1
2 (M + 2)γ/2
Proof. We adapt the proof of Theorem 2 in [Mna08]. An integration by
parts shows that, for any l ∈ { 1, . . . , M },

 Z 1
l
FM
=
F (u)bl,M +1−l (u) d u
(11)
M +1
0
where
bl,M +1−l (u) =

M!
ul−1 (1 − u)M −l
(l − 1)!(M − l)!
18

is the probability density function of the beta-distribution with parameters
l and M + 1 − l. We then introduce a random variable Bl,M +1−l , with
density bl,M +1−l . Recall that expectation and variance of Bl,M +1−l are given
respectively by
E [ Bl,M +1−l ] =

l
M +1

and V [ Bl,M +1−l ] =

l(M + 1 − l)
.
(M + 1)2 (M + 2)

Suppose that γ > 1. According to (11),




l
l
M
−F
=
F
M +1
M +1






l
l
l
0
E F (Bl,M +1−l ) − F
−F
Bl,M +1−l −
.
M +1
M +1
M +1
As the function F is γ-Hölder,





l
l
l
M
F
−F
≤kF kγ E Bl,M +1−l −
M +1
M +1
M +1

γ

and Hölder’s inequality leads to




kF kγ
l
l
FM
−F
≤kF kγ V [ Bl,M +1−l ]γ/2 ≤ γ
.
M +1
M +1
2 (M + 2)γ/2
The argument is easily adapted for the case γ ≤ 1.
6.2.3

Conclusion of the proof of Lemma 5

As kFbnM − F k∞ can be written as

l
− F (u)
0≤l≤M
M
+
1
l+1
u∈[ M l+1 , M
+1 [




l
l
M
M
b
≤ max Fn
−F
0≤l≤M
M +1
M +1




l
l
M
+ max F
−F
0≤l≤M
M +1
M +1


l
+ max
sup
F (u) − F
,
0≤l≤M
M +1
u∈[ l , l+1 [

kFbnM − F k∞ = max

sup

FbnM



M +1 M +1

the result follows immediately from Lemma 8, Lemma 9 and the fact that
F is γ ∧ 1-Hölder.
19

6.3

cz
M
Construction of Fbn n and proof of Lemma 6

We follow the construction of Lepskii [Lep91]. A union bound in Lemma 8
shows that, for C = π 2 /3,
"
#
r
n
z
+
3
log
M
ν
M
M
≤ M
P ∀M ≥ 1, Fbn − F
≥ 1 − Ce−z . (12)
Nn
2n
∞
Moreover, by Lemma 9 and the fact that F is γ ∧ 1-Hölder
F − FM

∞

2kF kγ
.
(M + 1)γ/2

≤

(13)

Fix some real z > 0 and define for any integer M ≥ 1,
(
)
r
0
2n
z
+
3
log
M
0
0
FbnM − FbnM ∧M − M 0
∆(M ) = sup
.
2n
Nn
M 0 ≥1
cnz is defined by
The random variable M
(
)
r
2n
z
+
3
log
M
z
cn = arg min ∆(M ) +
M
.
M ≥1
NnM
2n
cnz satisfies the inequality of Lemma 6. Let
We now have to check that M
(
)
r
n
z
+
3
log
M
≤ M
Ω = ∀M ≥ 1, FbnM − F M
.
Nn
2n
∞
By (12), Pν [ Ω ] ≥ 1 − Ce−z . Denote
∀M ≥ 1,

bn (M ) = n
R
NnM

r

z + 3 log M
.
2n

On Ω, by the triangle inequality,
cz
FbnMn − F

∞

cz
cz
≤ FbnMn − FbnMn ∧M

∞

cz
+ FbnM − FbnMn ∧M

∞

+ FbnM − F

bn (M ) + 2kF kγ
≤ ∆(M ) +
+
+ 2R
(M + 1)γ/2
bn (M )) + 2kF kγ
≤ 2(∆(M ) + 2R
.
(M + 1)γ/2
b n (M
cnz )
2R

cnz )
∆(M

20

∞

Now, using the triangle inequality once again, for any M 0 ≥ M ,


0
0
bn (M 0 ) ≤
bn (M 0 )
− 2R
FbnM − FM 0 − R
FbnM − FbnM
∞


bn (M 0 ) .
+ kFM 0 − FM k + FbnM − F M − R
4kF k

γ
The first term is non positive on Ω, the second one is bounded by (M +1)γ/2
bn is non decreasing.
by (13) and the third one is non positive on Ω since R

It follows that ∆(M ) ≤

6.4

4kF kγ
(M +1)γ/2

and the proof is complete.

Asymptotic of NnM /n

We start with the transient case.
Lemma 10. Suppose that ν satisfies Assumption (H) and Eν [ log ρ0 ] < 0.
There is a constant Cν such that, for any integers M ≥ 0, n ≥ 1 and any
real z > 0,
r 
 M
Nn
z
ν
− π ( [M, ∞) ) ≥ Cν
≤ 2e−z .
P
n
n
Proof. We will apply
the concentration inequality for Markov chains [DG15,
Pn−1
Theorem 0.2] to x=0 1{Zx ≥M } . As (Zx )x∈Z+ is an irreducible aperiodic
Markov chain on a countable state space, we only have to prove that it is
geometrically ergodic. To this purpose, we prove that the return time to
0 T = inf { x ≥ 1, Zx = 0 } has an exponential moment. By Lemma 2 in
[KKS75], there is a constant Cν such that for any t ≥ 0,
t

Pν ( T > t ) ≤ Cν e− Cν .
Therefore,
ν

E

h

e

T
2Cν

i

Z

+∞

=
0

1 2Ct ν
e ν P (T > t) d t < ∞ .
2Cν

Hence, the Markov chain (Zx )x∈Z+ is geometrically ergodic and by [DG15,
Theorem 0.2], there exists a constant Cν such that for any real x > 0 and
any integer M ≥ 0,
 M

nx2
Nn
ν
− π ( [M, ∞) ) ≥ x ≤ 2e− Cν
P
n
The result of the lemma follows
21

The behavior of the tails of π is given by the following lemma.
Lemma 11. Suppose that ν satisfies Assumption (H) and Eν [ log ρ0 ] < 0.
There is a constant Cν such that when M tends to ∞,
π ( [M, ∞) ) ∼

Cν
.
Mκ

Therefore, up to a change of the constant Cν , for any M ≥ 1,
π ( [M, ∞) ) ≥

Cν
.
Mκ

Proof. By [KKS75] Lemma 1,
Pν ( W ≥ x ) ∼

Cν
.
xκ

(14)

The definition of π given in (3),


π ( [M, ∞) ) =Eν (1 − W −1 )M
Z 1

=
Pν (1 − W −1 )M ≥ u d u
0

Z 1 
1
ν
=
P W ≥
du
1
0
1 − uM
1

1

1
According to (14), for any u > 0, using that u M = e M log u ≥ 1 + M
log u,
we get



κ
1
1
κ ν
M
M P W ≥
≤
C
M
−
M
u
≤ Cν (log 1/u)κ .
ν
1
M
1−u


1
κ
ν
As limM →∞ M P W ≥
= Cν (log 1/u)κ , dominated convergence
1
1−u M

theorem gives the result.
To deal with the recurrent regime, as there is no invariant probability in this
case, we use the following lemma.
Lemma 12. Suppose that ν satisfies Assumption (H) and that Eν [ log ρ0 ] =
0. Then, for any a > 0, there is a constant Ca,ν such that for any integer
n ≥ 2,
 a
log n
n
≤ Ca,ν √
.
Pν Nnn <
2
n
22

Px
Px
Vx −Vy . Given ω, Z + 1
Proof. Let Vx =
x
i=0 log ρi and Wx =  y=0 e
−1
follows the geometric distribution G Wx
(see the proof of Theorem 4.5
in [CFL+ 14]). Hence,
a

Pω ( Zx < na ) = 1 − (1 − 1/Wx )n ≤

na
≤ na e−( Vx −miny≤x Vy ) .
Wx

(15)

We start by proving that, with large probability, ( Vx − miny≤x Vy ) is larger
than (2 + a) log n for many sites x. More precisely, consider the event
( n
)
X
n
En =
.
1{Vx −miny≤x Vy ≤(2+a) log n} ≥
2
x=1

Markov inequality yields
n

2X ν
P ( En ) ≤
P
n
ν




Vx − min Vy ≤ (2 + a) log n
y≤x

x=1

.

(16)

As the variables ρi are i.i.d., for a fixed value x, ( Vx − Vy )0≤y≤x has the
same distribution as ( Vx−y−1 )0≤y≤x then,
P

ν




Vx − min Vy ≤ (2 + a) log n

=P

y≤x

ν




max Vy ≤ (2 + a) log n

0≤y≤x

(17)

We now have to control the random variables max0≤y≤x Vy , 1 ≤ x ≤ n.
For this purpose, we use the Komlós-Major-Tusnády strong approximation
theorem (see [KMT76, Theorem 1]): denote by σ 2 the variance of log ρ0 ,
on a possibly enlarged probability space, there exists a Brownian motion B
and two constants c1,ν and c2,ν independent of n such that


c2,ν
ν
P
max |Vbyc − σBy | ≥ c1,ν log n ≤
.
n
y∈[ 0,n ]
Therefore,
n
X
x=1

ν

P




max Vy ≤ (2 + a) log n

0≤y≤x

≤ c2,ν +

n
X
x=1

ν

P



(2 + a) + c1,ν
max By ≤
log n
σ
y∈[0,x]

23


. (18)

By the reflection principle [RY99, Proposition 3.7 in Ch III], maxy∈[ 0,x ] By
has the same distribution as |Bx |. Thus, there exists a constant Ca,ν depending only on ν and a such that




(2 + a) + c1,ν
((2 + a) + c1,ν ) log n
ν
ν
√
max By ≤
P
log n = P |B1 | ≤
σ
σ x
y∈[0,x]
log n
≤ Ca,ν √
(19)
x
Equations (16), (17),(18) and (19) lead to
log n
Pν ( En ) ≤ Ca,ν √
.
n

(20)

On the complementary event E n , the set


In = x ∈ { 1, . . . , n } , Vx − min Vy > (2 + a) log n
y≤x

has at least n/2 elements. Moreover, according to (15), for any x ∈ In ,
Pω ( ∃x ∈ In , Zx < na ) ≤

X

Pω ( Zx < na ) ≤

x∈In

1
.
n

Therefore, on E n ,
Pω

n−1
X

1{Zxn <na }

x=0

n
>
2

!
≤

1
.
n

(21)

It is now easy to conclude the proof of the lemma. Indeed,
!
!
n−1
n−1
 a
X
X
n
n
n
ν
n
ν
ν
=P
1{Zxn ≥na } <
=P
1{Zxn <na } >
P Nn <
2
2
2
x=0
x=0
)!
( n−1
X
n
≤ Pν ( En ) + Pν E n ∩
1{Zxn <na } >
.
2
x=0

Equations (20) and (21) give now the result.

24

6.5

Conclusion of the proof of Theorem 1

Transient case
By Lemma 10 and a union bound, Pν ( Ω1 ) ≥ 1 − Cν e−z , where
(
)
r
z + log M
NnM
Ω1 = ∀M ≥ 1,
.
− π ( [M, ∞) ) ≤ Cν
n
n
On Ω1 , for any M such that π([M, +∞)) ≥ 2Cν

q

z+log M
n

Cν
n
≤
.
NnM
π([M, +∞))
Therefore, q
by the second part of Lemma 11, on Ω1 , for any M such that
M −κ ≥ Cν

z+log M
n

n
≥ Cν M κ .
NnM

By Lemma 6, Pν ( Ω2 ) ≥ 1 − (π 2 /3)e−z , where,
(
(
))
r
6kF
k
z
+
3
log
M
4n
cz
γ
M
b
Fn n − F
≤ inf
Ω2 =
+
.
M ≥1
2n
∞
(M + 1)γ/2 NnM
Therefore, on Ω = Ω1 ∩ Ω2 ,
(
cz
FbnMn

−F

∞

≤ Cν

inf

n
)1/(2κ)
1≤M ≤Cν ( z+log
M


≤ Cν

z + log n
n



1
+ Mκ
M γ/2

r

z + log M
n

)

γ
2γ+4κ

.

For the result in expectation, we only have to take z = log n.
Recurrent case
2

π
where,
By Lemma 6, taking z = log n and M = n1/γ , Pν ( Ω1 ) ≥ 1 − 3n
(
)
r
log n
6kF
k
4n
(1
+
3/γ)
log
n
c
γ
M
Ω1 =
Fbn n − F
≤ √
+
.
1/γ
2n
n
∞
Nnn

25

n 1/γ
o
√ n , where Ω2 = N n
By Lemma 12, Pν ( Ω2 ) ≥ 1−Cγ,ν log
≥
n/2
. Theren
n
fore,
i
h
i
h


clog n
clog n
1Ω1 ∩Ω2 + Pν Ω1 + Pν Ω2
Eν FbnMn − F
≤ Eν FbnMn − F
∞

∞

log n
≤ Cγ,ν √
.
n

References
[ABT13] R. C. Aster, B. Borchers, and C. H. Thurber. Parameter estimation and inverse problems. Elsevier/Academic Press, Amsterdam,
second edition, 2013.
[AE04]

O. Adelman and N. Enriquez. Random walks in random environment: what a single trajectory tells. Israel J. Math., 142:205–220,
2004.

[Cav11]

L. Cavalier. Inverse problems in statistics. In Inverse problems
and high-dimensional estimation, volume 203 of Lect. Notes Stat.
Proc., pages 3–96. Springer, Heidelberg, 2011.

[CFL+ 14] F. Comets, M. Falconnet, O. Loukianov, D. Loukianova, and
C. Matias. Maximum likelihood estimator consistency for a ballistic random walk in a parametric random environment. Stochastic
Process. Appl., 124(1):268–288, 2014.
[CFLL16] F. Comets, M. Falconnet, O. Loukianov, and D. Loukianova.
Maximum likelihood estimator consistency for recurrent random
walk in a parametric random environment with finite support.
Stochastic Process. Appl., to appear, 2016.
[Che67]

A. Chernov. Replication of a multicomponent chain by the lightning mechanism. Biofizika, 12:297–301, 1967.

[DG15]

J. Dedecker and S. Gouëzel. Subgaussian concentration inequalities for geometrically ergodic Markov chains. Electron. Commun.
Probab., 20:no. 64, 12, 2015.

[DKW56] A. Dvoretzky, J. Kiefer, and J. Wolfowitz. Asymptotic minimax
character of the sample distribution function and of the classical
multinomial estimator. Ann. Math. Statist., 27:642–669, 1956.

26

[FGL14]

M. Falconnet, A. Gloter, and D. Loukianova. Maximum likelihood estimation in the context of a sub-ballistic random walk
in a parametric random environment. Math. Methods Statist.,
23(3):159–175, 2014.

[FLM14] M. Falconnet, D. Loukianova, and C. Matias. Asymptotic normality and efficiency of the maximum likelihood estimator for the
parameter of a ballistic random walk in a random environment.
Math. Methods Statist., 23(1):1–19, 2014.
[HH80]

P. Hall and C. C. Heyde. Martingale limit theory and its application. Academic Press, Inc. [Harcourt Brace Jovanovich, Publishers], New York-London, 1980. Probability and Mathematical
Statistics.

[KKS75]

H. Kesten, M. V. Kozlov, and F. Spitzer. A limit law for random
walk in a random environment. Compositio Math., 30:145–168,
1975.

[KMT76] J. Komlós, P. Major, and G. Tusnády. An approximation of
partial sums of independent RV’s, and the sample DF. II. Z.
Wahrscheinlichkeitstheorie und Verw. Gebiete, 34(1):33–58, 1976.
[Lep91]

O. V. Lepskiı̆. Asymptotically minimax adaptive estimation. I.
Upper bounds. Optimally adaptive estimates. Teor. Veroyatnost.
i Primenen., 36(4):645–659, 1991.

[Mas90]

P. Massart.
The tight constant in the Dvoretzky-KieferWolfowitz inequality. Ann. Probab., 18(3):1269–1283, 1990.

[McD89]

C. McDiarmid. On the method of bounded differences. In Surveys
in combinatorics, 1989 (Norwich, 1989), volume 141 of London
Math. Soc. Lecture Note Ser., pages 148–188. Cambridge Univ.
Press, Cambridge, 1989.

[Mna08]

R. M. Mnatsakanov. Hausdorff moment problem: reconstruction
of distributions. Statist. Probab. Lett., 78(12):1612–1618, 2008.

[RY99]

D. Revuz and M. Yor. Continuous martingales and Brownian
motion, volume 293 of Grundlehren der Mathematischen Wissenschaften [Fundamental Principles of Mathematical Sciences].
Springer-Verlag, Berlin, third edition, 1999.

27

[Sin82]

Y. G. Sinaı̆. The limit behavior of a one-dimensional random
walk in a random environment. Teor. Veroyatnost. i Primenen.,
27(2):247–258, 1982.

[Sol75]

F. Solomon. Random walks in a random environment. Ann.
Probab., 3:1–31, 1975.

[Zei12]

O. Zeitouni. Random walks in random environment. In Computational complexity. Vols. 1–6, pages 2564–2577. Springer, New
York, 2012.

28

