# upcrossings and downcrossings

Inequalities involving the number of times at which a stochastic process passes upwards or downwards through a bounded interval play an important role in the theory of stochastic processes. Whether or not a sequence of real numbers converges to a limit can be expressed in terms of the finiteness of the number of upcrossings or downcrossings, leading to results such as the martingale convergence theorem and regularity of martingale sample paths. As the main applications are to stochastic processes, we suppose that $(X_{t})_{t\in\mathbb{T}}$ is a real-valued stochastic process with totally ordered time index set $\mathbb{T}$, usually a subset of the real numbers. However, for the definitions here, it is enough to consider $X_{t}$ to be a sequence of real numbers, and the dependence on any underlying probability space is suppressed.

For real numbers $a, the number of upcrossings of $X$ across the interval $[a,b]$ is the maximum nonnegative integer $n$ such that there exists times $s_{k},t_{k}\in\mathbb{T}$ satisfying

 $s_{1} (1)

and for which $X_{s_{k}}. The number of upcrossings is denoted by $U[a,b]$. Note that this is either a nonnegative integer or is infinite. Similarly, the number of downcrossings, denoted by $D[a,b]$, is the maximum nonnegative integer $n$ such that there are times $s_{k},t_{k}\in\mathbb{T}$ satisfying (1) and such that $X_{s_{k}}>b>a>X_{t_{k}}$.

Note that between any two upcrossings there is a downcrossing. Given $s_{k},t_{k}$ satisfying (1) and $X_{s_{k}}, we can set $s^{\prime}_{k}=t_{k}$ and $t^{\prime}_{k}=s_{k+1}$ for $k=1,\ldots,n-1$. Then, $X_{s^{\prime}_{k}}>b>a>X_{t^{\prime}_{k}}$ from which we conclude that $D[a,b]\geq U[a,b]-1$. Similarly, we have $U[a,b]\geq D[a,b]-1$. Hence, the number of upcrossings and the number of downcrossings of an interval differ by at most $1$.

For a finite index set $\mathbb{T}=\{1,2,\ldots,N\}$, the number of upcrossings can be computed as follows. Set $t_{0}=0$ and define $s_{1},s_{2},\ldots$ and $t_{1},t_{2},\ldots$ by

 $\displaystyle t_{k}=\inf\left\{t\in\mathbb{T}\colon t\geq s_{k},X_{t}>b\right% \}\in\mathbb{T}\cup\{\infty\}.$ $\displaystyle s_{k}=\inf\left\{t\in\mathbb{T}\colon t\geq t_{k-1},X_{t}

The number of upcrossings of $[a,b]$ is then equal to the maximum $n$ such that $t_{n}<\infty$ (see Figure 1).

## References

• 1 David Williams, Probability with martingales, Cambridge Mathematical Textbooks, Cambridge University Press, 1991.
Title upcrossings and downcrossings UpcrossingsAndDowncrossings 2013-03-22 18:49:33 2013-03-22 18:49:33 gel (22282) gel (22282) 5 gel (22282) Definition msc 40A05 msc 60G17 MartingaleConvergenceTheorem ConvergenceOfASequenceWithFiniteUpcrossings upcrossing downcrossing