This section will be devoted to the statistics of the fraction of time spent by the walker at a given site or in a given subset. As in the previous one, the probability distribution of the quantity of interest stems from the features of the asymptotic decay of return and first-return PDFs. We shall describe (or simply mention) any other necessary tool from time to time, as always.
3.3.1. Occupation Time of the Origin
In the discrete-time formalism, as we have already discussed in
Section 3.1.1, the particle can not stand still on a site and so considering the occupation time of a single site is equivalent to talk about the number of visits to the same. Thanks to the Darling-Kac theorem [
43], a remarkable mathematical result for Markov processes, we know [
29,
42] that the number of visits to the starting point (properly rescaled by the average taken over several realizations) has a Mittag-Leffler distribution of index
as limiting distribution. We would emphasize that spatial inhomogeneities cause non-Markovianity for the original process, but now we are focusing on returns to the origin that are renewal events. Thus you have a sequence of i.i.d. first-return times and loss of memory is ensured in each case.
Obviously, this result is still true for waiting-time distributions with finite mean: even if the physical clock is running when the particle rests on a site and the internal clock stops, the microscopic time scale gives us the constant of direct proportionality necessary to move from the number of steps to the correct time measure, which has the same distribution, as a consequence.
In the non-trivial continuous-time translation, instead, what we need to apply is Lamperti theorem [
44]. It is a statement involving two-state stochastic processes (being or not at the origin in our case). More precisely we deal with its continuous-time generalization, which has been discussed in many works, such as References [
45,
46,
47,
48,
49]. Here we provide the final formula, that is the starting point of our analysis: for a detailed proof refer to Reference [
47], for instance. Essentially, we will conclude that, even if the Mittag-Leffler statistics is mapped to a Lamperti distribution, the index
of the discrete-time formalism is always replaced by the product
characterizing the asymptotic expansion of the first-return PDF. In particular, in order to preserve the ergodic property of the discrete-time version (
) we have to consider a waiting-time distribution with finite mean (
): in this way, the Lamperti distribution collapses to a Dirac delta function on the mean value of the occupation time.
Before formalizing the theorem, let us define some notation. We consider a stochastic process described by a set of transitions between two states (that we call
and
) and we consider arrivals at the origin and departures as events. Time periods between events are i.i.d. random variables, with PDFs
and
respectively, that are the alternating distributions of the renewal process. In fact, the time spent on state
is precisely the waiting time on a site, whereas the time spent outside the origin coincides with the first-return time to the origin starting from
because, thanks to the nearest-neighbour structure, when you leave the origin you land on ±1 and
by symmetry, as witnessed by Equation (
37). Moreover we can notice that
and
are connected by means of the first-return PDF, in fact:
We assume that at
the particle occupies the origin (namely it is in state
) and we denote the total times spent by the walker in the two states up to time
t by
and
, associated with the PDFs
and
. Continuous-time Lamperti theorem tells us that the double Laplace transforms of these quantities are:
For the moment we focus on the non-ergodic regime
. First of all, let us choose a finite-mean waiting-time distribution, which constitutes a useful check. Clearly
and we know that
: having different asymptotic time decays,
is ruled by the slower one, namely
(and indeed
as you can see from Equation (
37)). By substituting in Equation (
46), we immediately get:
and by expanding in powers of
u, one can compute the moments of order
k of
in the time domain:
This suggests to us that if we consider the rescaled random variable:
then we asymptotically recover the moments of the Mittag-Leffler function of index
, as we said previously. We would point out that
is not directly the fraction of time spent at the origin and this observation is consistent with the fact that, in addition to the presence of an infinite recurrence time,
decays more slowly with respect to
: without a properly scaling,
is negligible with respect to
and, from a mathematical point of view, it follows a Dirac delta with mass at the origin, namely all moments converge to 0.
If now, instead, we take waiting-time distributions with infinite mean, we can not find out any scaling function in such a way that the rescaled occupation time admits a limiting distribution. In fact, recalling that
and
, we similarly obtain:
Let us move on to the discrete-time ergodic regime:
and
. This time
and
are of the same order, since they possess the same asymptotic exponent and the slowly-varying function decays to a constant
L. As a consequence, they both determine the behaviour of:
according to
.
By exploiting again Equation (
46), in the limit
we have:
which may be inverted (see Reference [
50] as in the original paper [
44]) and leads to the Lamperti probability density function for the fraction of time
spent at the origin (ergodicity breaking):
where
is the asymmetry parameter and
. In addition, we notice that:
and so the expected value of the fraction of continuous-time spent at the origin coincides with the inverse mean recurrence time of the discrete-time random walk. But, thanks to ergodicity, we have also a stationary distribution
at the origin for
[
29] that, by means of Birkhoff ergodic theorem, satisfies:
and in conclusion:
where
are the stationary measures of the subsets associated with the two states, according to the known results in the literature [
46,
47,
48,
49].
As a last comment, we turn back again to the finite-mean case. As expected, when
we get:
namely a Dirac delta centered at the expected value
.
3.3.2. Occupation Time of the Positive Semi-Axis
In the non-ergodic (for the discrete-time random walk) regime, since
given that the fraction of time spent at the origin is negligible (as we discussed above, after Equation (
50)), we have a system with a state space split into two subsets,
and
, that can communicate only passing through the recurrent event, the origin, that is also the initial condition. Thanks to symmetry,
and the limiting distribution of the fraction of time spent in each subset is the symmetric Lamperti PDF of index
,
, which for finite-mean waiting times consistently boils down to
(by directly applying the original Lamperti statement [
44]).
In the ergodic regime, instead, when you split the state
in two symmetric subsets, you must in any case look at a three-state process: although the mean recurrence time is still infinite, the fraction of time spent at the origin has its weight without any rescaling, see Equation (
55). But by symmetry you know also that
: as a consequence, you can easily conclude that the Lamperti distribution is
with
. In fact, you can retrace previous steps for the asymptotic expansion of
in Equation (
46) or equivalently observe that
and the exponent
remains unchanged when you move from
to
. And here too, the asymmetry parameter could be written as:
By way of conclusion, as in the previous section, if you set
then you obviously recover the ergodicity in the continuous-time model, since you get a Dirac delta with mass at
. Apparently this time there is a little difference with respect to the discrete-time random walk (see Reference [
29]): the degenerate distribution is no longer centered at
(obtained immediately from Lamperti theorem [
44]), as expected by symmetry. But this value was due to the convention [
44] of counting the visits at the origin
according to the direction of motion. So, if we consider, in addition to the occupation time of the positive axis, half the time spent at the origin (in the long-time limit), then we correctly get a mass at
. This comment allows us to highlight another aspect of the ergodicity breaking: when
, on the contrary, the choice of the convention to be adopted is completely irrelevant to the final result, since the mean return time to the origin is infinite, supporting the asymmetry of the distribution.