Crossings in Stochastic Processes
📂Probability TheoryCrossings in Stochastic Processes
Definition
Let’s assume that we have a probability space (Ω,F,P) and a submartingale {(Xn,Fn)}. An upcrossing occurs when, over a closed interval [a,b], the value changes from being Xt1≤a to Xt2≥b. The number of upcrossings observed up to time N∈N is represented as follows:
βN(a,b):=A number of upcrossing of {Xn} of interval [a,b]
Basic Properties
- [1]: χi is a Fi−1-measurable function.
- [2]: EβN(a,b)≤b−aEXN++∣a∣
- χi being a Fi−1-measurable function means that for every Borel set B∈B(R), χi−1(B)∈Fi−1 holds.
Explanation
Simply put, an upcrossing refers to when Xn goes beyond the upper limit b from the lower bound a. The number of times this happens up to N is represented as βN(a,b). In the above picture, it is βN(a,b)=3.
- [1]: Before explaining what χi is, I want to introduce a few notations frequently used for upcrossings. If you don’t like to read these explanations, it’s okay to just look at the pictures and understand intuitively.
τ1:=nmin{n≤N:Xn≤a}τ2:=nmin{τ1<n≤N:Xn≥b}τ3:=nmin{τ2<n≤N:Xn≤a}τ4:=nmin{τ2<n≤N:Xn≥b}⋮
Defined as above, τk represents a stopping time when the random variable Xn exits the interval [a,b]. According to the definition, for odd k, it exits below a, and for even k, it exits above b. Thus, typically, for a natural number m, the moment it exits below is τ2m−1, and the moment it exits above is τ2m. Using this expression, m can naturally represent the mth upcrossing.

Jm represents the set of indices where the mth upcrossing is occurring. If written mathematically, it’s as follows:
Jm:={k∈N:τ2m−1+1≤k≤τ2m}
Regarding this, χi only takes the value of 1 when an upcrossing is happening, and otherwise, it’s 0. The intent behind using such a function is to isolate only the parts where upcrossings occur and eliminate the rest by multiplying them with 0. Mathematically, it’s defined as the following indicator function:
χi==1⋃Jm{01,i∈J1∪⋯∪Jm,otherwise
Let’s visually check them in the following picture:

- [2]: While we can’t precisely calculate EβN(a,b), being able to compute its upper limit is quite good. A notable point here is that we don’t need to observe all cases, but just calculate the last occurrence EXN+.
Proof
[1]
Part 1. (τ2m−1<i≤τ2m)=(τ2m−1<i)∩(i≤τ2m)
χi can be represented as follows, according to the definition:
χi===1⋃Jmm=1∑βN(a,b)1Jmm=1∑βN(a,b)1(τ2m−1<i≤τ2m)
So, we need to check if it’s (τ2m−1<i≤τ2m)∈Fi−1. If we dissect it as an intersection:
(τ2m−1<i≤τ2m)=(τ2m−1<i)∩(i≤τ2m)
Part 2. (i≤τ2m)∈Fi−1
From the definition of τk, k=2m, i.e., the case of even numbers, represents the moment when Xn exceeds b. However, for an upcrossing to occur, Xn must go from below a to above b, which means returning to a point below a takes at least one step. Thus, if χi−1=1 and Xi−1≥b, the next step inevitably must be xi=0. This is almost as if we have determined χi, even though we are only observing up to i−1 with just Fi−1 worth of information. Therefore, it’s (i≤τ2m)∈Fi−1.
Part 3. (τ2m−1<i)∈Fi−1
According to the definition of the sigma field Fi−1:
⟹⟹⟹(i≤τ2m)∈Fi−1(i≤τ2m)c∈Fi−1(τ2m<i)∈Fi−1(τ2m−1<i)∈Fi−1
Part 4. (τ2m−1<i≤τ2m)∈Fi−1
According to the definition of the sigma field Fi−1:
⟹⟹(τ2m−1<i)∈Fi−1∧(i≤τ2m)∈Fi−1(τ2m−1<i)∩(i≤τ2m)∈Fi−1(τ2m−1<i≤τ2m)∈Fi−1
■
[2]
βN(a,b)===A number of upcrossing of {Xn} of interval [a,b]A number of upcrossing of {Xn−a} of interval [0,b−a]A number of upcrossing of {(Xn−a)+} of interval [0,b−a]
Therefore, by proving the following inequality for Yn:=(Xn−a)+, we can assert that EβN(a,b)≤b−aEXN++∣a∣ holds without loss of generality:
EβN(0,b)≤bEYN
Part 1. E(Yn+1∣Fn)≥Yn

Looking at the above figure, it’s easy to see that f(x)=(x−a)+ is a convex function and is non-decreasing. Thus, according to the conditional Jensen’s inequality:
E(Yn+1∣Fn)=≥≥=E((Xn+1−a)+∣Fn)(E(Xn+1−a∣Fn))+(Xn−a)+Yn
Part 2. bEβN(0,b)≤EYN
Regardless of the length b of the interval [0,b], from the definition of τk, τ2m means the point when it exceeds b above, so it’s Yτ2m≥b, and τ2m−1 means the moment it falls below Yk, so it’s Yτ2m≤0. Thus, the increase in Yk during the mth upcrossing is Y2m−Y2m−1≥b, and this always holds whenever there’s an upcrossing, for βN[0,b] times. Therefore, bβN[0,b] must be equal to or less than each of these increases. If we represent it as a formula, it’s as follows:
bβN(0,b)≤==m=1∑βN(0,b)(Yτ2m−Yτ2m−1)m=1∑βN(0,b)[(Yτ2m−Yτ2m−1)+(Yτ2m−1−Yτ2m−2)+⋯+(Yτ2m−1+1−Yτ2m−1)]m=1∑βN(0,b)i∈Jm∑(Yi−Yi−1)
Because we don’t like counting indices as βN(0,b), instead of looking at the whole i=1,⋯,N, we use χi, which multiplies by 1 while upcrossing is occurring and by 0 when it’s not happening. Then, the above formula simplifies as follows:
bβN(0,b)≤m=1∑βN(0,b)i∈Jm∑(Yi−Yi−1)=i=1∑N(Yi−Yi−1)χi
Part 3.
Properties of Conditional Expectation:
- [3]: If X is F-measurable, then E(X∣F)=X a.s.
- [11]: For all sigma fields G, hence E[E(X∣G)]=E(X)
Taking the expectation, according to [11], for the conditional expectation E[⋅∣Fi−1]:
bEβN(0,b)≤i=1∑NE(Yi−Yi−1)χi=i=1∑NE[E[(Yi−Yi−1)χi∣Fi−1]]
Smoothing Property of Conditional Expectation: If X is G-measurable, then E(XY∣G)=XE(Y∣G) a.s.
According to [1], χi is Fi−1-measurable, and from the smoothing property and the definition of martingale, Yi−1 is also Fi−1-measurable, therefore according to [3]:
bEβN(0,b)≤=i=1∑NE[E[(Yi−Yi−1)χi∣Fi−1]]≤i=1∑NE[χiE[Yi∣Fi−1]−χiE[Yi−1∣Fi−1]]=i=1∑NE[χiE[(Yi−Yi−1)∣Fi−1]]i=1∑NE[χiE[Yi∣Fi−1]−χiYi−1]
Since Xn was a submartingale by assumption, Yn=(Xn−a)+ is also a submartingale, hence E[Yi∣Fi−1]−Yi−1≥0 holds. By eliminating indices that are χi=0 and only keeping those that are χi=1, the following inequality holds:
bEβN(0,b)≤===i=1∑NEχi[E[Yi∣Fi−1]−Yi−1]i=1∑N[EE[Yi∣Fi−1]−EYi−1]i=1∑N[EYi−EYi−1]EYN−EY0
Finally, since Yn=(Xn−a)+ was the case:
EβN(a,b)≤b−aEXN++∣a∣
■