Bootstrap random walks
Kais Hamza
Monash University
Joint work with Andrea Collevecchio & Meng Shi
Bootstrap random walks
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
Bootstrap random walks Introduction
The model setting
I Let (ξ n ) n be a sequence of independent identically distributed random variables such that
P(ξ i = −1) = P(ξ i = +1) = 1 2 .
I Let η k = Q k
j =1 ξ j . Then (η n ) n≥0 = (ξ d n ) n≥0 .
I The σ-algebras generated by these two sequences are the same, i.e.
σ(ξ 1 , · · · , ξ n ) = σ(η 1 , · · · , η n ).
I Let X n = P n
k=1 ξ k and Y n = P n
k=1 η k , with X 0 = 0, Y 0 = 0.
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
Bootstrap random walks
The two and three dimensional processes
Some basic observations
I (X n ) n and (Y n ) n are strongly dependent, yet W n = (X n , Y n ) behaves like a 2-dimensional random walk. Let W n 0 = (X n , Y n 0 ) with (Y n 0 ) n is an independent copy of (X n ) n .
-50 50 100 150
-50 50 100
-50 50 100 150
-150 -100 -50
50 100 150 200
100 200 300
50 100 150 200
-300 -250 -200 -150 -100 -50
Figure : Two simulations of (W n ) n and (W n 0 ) n
Some basic observations
5000 10 000 15 000 20 000
50 100 150 200
5000 10 000 15 000 20 000
100 200 300
50 100 150 200
100 200 300
Figure : (X n ) n deter −→ (Y n ) n deter −→ (W n ) n
Bootstrap random walks
The two and three dimensional processes
Some basic observations
I Locally, (W n ) n ’s behaviour is different to that of a
2-dimensional random walk (with independent components).
æ
æ
ç ç
-1.0 -0.5 0.5 1.0
-1.0 -0.5 0.5 1.0 z=H0,0L & n=1
æ
æ
ç ç
-2.0 -1.5 -1.0 -0.5
-2.0 -1.5 -1.0 -0.5 z=H-1,-1L & n=1
-10 -5 0 5 10
-10 -5 0 5 10
Figure : Possible positions for W 1 and W 12
Some basic observations
I (X n ) n and (Y n ) n are both simple symmetric random walks.
I If P(ξ n = 1) = p 6= 1/2, then
I
η n d
6= ξ n :
P(η n = 1) = 1
2 (1 + (2p − 1) n );
I
η 1 , . . . , η n are not independent:
P(η n = ε n |η n = ε 1 , . . . , η n−1 = ε n−1 )
= P(η n = ε n |η n−1 = ε n−1 ) =
p
1 − p
(1+ε
n−1ε
n)/2
.
I E[X n Y n ] =
n
X
k,l =1
E[ξ k η l ] = 1 + X
(k,l )6=(1,1)
E[ξ k η l ] = 1.
Bootstrap random walks
The two and three dimensional processes
The Markov property
I W n is a time-inhomogeneous Markov process:
( X n+1 = X n + ξ n+1
Y n+1 = Y n + (−1)
n−Xn2ξ n+1 .
I But, with K n = n mod 4, (X n , Y n , K n ) is a time-homogeneous Markov process:
X n+1 = X n + ξ n+1
Y n+1 = Y n + (−1)
Kn−Xn2ξ n+1
K n+1 = K n + 1 mod 4
The probability of return to (0, 0) and recurrence
Proposition
P (W 4n = (0, 0)) = 2n − 1 n
2n n
1 2
4n
∼ 1
4πn and
P (W 4n+2 = (0, 0)) = 2n + 1 n + 1
2n n
1 2
4n+2
∼ 1 4πn . It follows that
∞
X
n=0
P (W 4n = (0, 0)) = +∞.
Theorem
W n = (X n , Y n ) is recurrent.
Bootstrap random walks
The two and three dimensional processes
The transition probabilities
Proposition
If 1 2 (n − k) is even,
P (X n = k, Y n = l ) =
n+l 2 n+k+2l
4
n−l −2 2 n+k−2l
4
1 2
n
If 1 2 (n − k) is odd,
P (X n = k, Y n = l ) =
n+l 2 n+k+2l
4
n−l −2 2 n+k−2l
4
1 2
n
The three-dimensional process
I Consider the three-dimensional random walk (X n , Y n , Z n ), also denoted W n , where
Z n =
n
X
k=1
ζ k , n ≥ 1 and Z 0 = 0,
I ζ k =
k
Y
j =1
η j =
k
Y
j =1 j
Y
i =1
ξ i :
ζ 1 = ξ 1 ζ 2 = ξ 1 ξ 2 ζ 3 = ξ 1 ξ 2 ξ 3
ζ 4 = ξ 1 ξ 2 ξ 3 ξ 4 ζ 5 = ξ 1 ξ 2 ξ 3 ξ 4 ξ 5 ζ 6 = ξ 1 ξ 2 ξ 3 ξ 4 ξ 5 ξ 6
Bootstrap random walks
The two and three dimensional processes
The probability of return to (0, 0, 0) and recurrence
Proposition
1. For any n ≥ 2,
P (W 4n = 0) = 2 −4n
n−2
X
k=0
n − 1 k
n k + 1
n k + 1
n − 1 k + 1
and
P (W 4n+2 = 0) = 2 −(4n+2)
n
X
k=1
n + 1 k
n − 1 k − 1
n k
n + 1 k + 1
.
2. P(W 2n = 0) = O(n α−2 ), for any α ∈ (1/2, 1).
3. (W n ) n is transient; it will visit the origin finitely often.
A functional central limit theorem
I Donsker: X n (t) = 1
√ n X [nt] converges weakly to a Brownian motion (t ∈ [0, 1]).
I The same is true for Y n (t) = 1
√ n Y [nt] and Z n (t) = 1
√ n Z [nt] .
I The functional dependence between X n (t), Y n (t) and Z n (t) is complete lost at infinity.
Theorem
W n (t) = (X n (t), Y n (t), Z n (t)) converges weakly to a three-
dimensional Brownian motion.
Bootstrap random walks Higher Iterations
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
The model setting
I η 0,n = ξ n and η 1,n = η n = Q n k=1 ξ k .
I η 2,n = Q n
k=1 η 1,k = Q n k=1
Q k j =1 ξ j
.
I η 3,n = Q n
k=1 η 2,k = Q n
`=1
Q ` k=1
Q k j =1 ξ j
.
κ = 0 κ = 1 κ = 2 κ = 3
ξ 1
ξ 2
ξ 3 ξ 4 ξ 5
ξ 6
ξ 1
ξ 1 ξ 2
ξ 1 ξ 2 ξ 3 ξ 1 ξ 2 ξ 3 ξ 4 ξ 1 ξ 2 ξ 3 ξ 4 ξ 5
ξ 1 ξ 2 ξ 3 ξ 4 ξ 5 ξ 6
ξ 1
ξ 2
ξ 1 ξ 3 ξ 2 ξ 4 ξ 1 ξ 3 ξ 5
ξ 2 ξ 4 ξ 6
ξ 1
ξ 1 ξ 2
ξ 2 ξ 3 ξ 3 ξ 4 ξ 1 ξ 4 ξ 5
ξ 1 ξ 2 ξ 5 ξ 6
ξ 2 n = (±1) 2 = 1. Need to understand which ξ’s are “switched on”.
Bootstrap random walks Higher Iterations
The model setting
I η 0,n = ξ n and η 1,n = η n = Q n
`=1 ξ ` .
I η κ+1,n = Q n
`=1 η κ,` .
I η κ,n =
n
Y
`=1
ξ n−`+1 ν
κ,`, where ν κ,` is a deterministic array and
I
ν 0,1 = 1 and ν 0,n = 0 for n ≥ 2;
I
ν κ,1 = 1 for κ ≥ 0;
I
ν κ+1,n+1 = ν κ+1,n + ν κ,n+1 mod 2.
I For κ ≥ 1 and n ≥ 1,
ν κ,n = n + κ − 2 n − 1
mod 2.
The binomial connection (Sierpinski triangle)
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
Figure : A graphical representation of η κ,n (left) and ν κ,n (right)
Bootstrap random walks Higher Iterations
A multi-dimensional extension
I Y 0,0 = X 0 = 0 and Y 0,n = X n = P n
`=1 ξ ` .
I Y κ,0 = 0 and Y κ,n = P n
`=1 η κ,` .
I Y κ,n is a simple symmetric random walk.
I (X n , Y κ,n ) “behaves” like a two-dimensional random walk.
I In fact, W κ,n = (X n , Y 1,n , . . . , Y κ,n ) “behaves” like a
(κ + 1)-dimensional random walk.
A multi-dimensional extension
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
Figure : A graphical representation of W κ,n (left) and a
multi-dimensional random walk (right)
Bootstrap random walks Higher Iterations
A second functional central limit theorem
Theorem (Lucas, 1878) A binomial coefficient n
m
is divisible by a prime p if and only if at least one of the base p digits of m is greater than the corresponding digit of n.
I 73 25
= 23214764053299962052 is even: 73 1001001 2
25 0011001 2
.
I For example, for κ = 2 ω and 2 ≤ n ≤ 2 ω , then ν κ,n = 0.
Theorem
W κ,n (t) = (X n (t), Y 1,n (t)), . . . , Y κ,n (t)) converges weakly to a
(κ + 1)-dimensional Brownian motion.
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
Bootstrap random walks
An extension – any (prime) number of values
Three-value model
I Suppose (ξ n ) n i.i.d. uniform on U = {u, a, b}.
I In general, ab / ∈ U . Therefore ξ 1 ξ 2 d
6= ξ 2 .
I How do we recycle in this case?
I Repace × with ⊗:
⊗ u a b
u u a b
a a b u
b b u a
I Observe that u ⊗3 = a ⊗3 = b ⊗3 = u.
I If η n = N n
`=1 ξ ` then (η n ) n
= (ξ d n ) n .
I This can be repeated and generalised.
General case
I (ξ n ) n i.i.d. uniform on U = {u 0 , u 1 , . . . , u p−1 }, where p is prime and P p−1
i =0 u i = 0.
I Form an Abelian (cyclic) group (U , ⊗).
I Define η κ,n : η 1,n =
n
O
`=1
ξ ` and η κ,n =
n
O
`=1
η κ−1,` =
n
O
`=1
ξ n−`+1 ⊗ν
κ,`with ν κ,n = n + κ − 2 n − 1
mod p.
I (η κ,n ) n has the same distribution as (ξ n ) n .
I Let Y κ,n =
n
X
`=1
η κ,` , with Y κ,0 = 0.
Bootstrap random walks
An extension – any (prime) number of values
General case
Proposition
The vector (η 0,n+κ , . . . , η κ,n+κ ) is uniform over U κ+1 and is inde- pendent of F n−1 . In particular, η 0,n+κ , . . . , η κ,n+κ are independent.
Let σ 2 = E[ξ 2 n ] = 1
p (u 2 0 + · · · + u p−1 2 ) and Y K ,n (t) = 1 σ √
n Y K ,bntc . Theorem
W κ,n (t) = (X n (t), Y 1,n (t)), . . . , Y κ,n (t)) converges weakly to a (κ + 1)-dimensional Brownian motion.
I What happens when p is not prime?
I We add sufficiently many zeroes...
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
Bootstrap random walks
Beyond the product (work in progress)
Representing (φ n ) n
I Let η n = φ n (ξ 1 , . . . , ξ n ). Look for (φ n ) n s.t. (η n ) n = (ξ d n ) n .
1
2 3
4 5 6 7
8 9 10 11 12 13 14 15
x 1 x 2 x 3
Figure : The tree representation of the functions φ n .
Representing (φ n ) n
I Let η n = φ n (ξ 1 , . . . , ξ n ). Look for (φ n ) n s.t. (η n ) n = (ξ d n ) n .
1
2 3
4 5 6 7
8 9 10 11 12 13 14 15
Ξ
1Ξ
2Ξ
3Φ
1Figure : The tree representation of the functions φ n .
Bootstrap random walks
Beyond the product (work in progress)
Representing (φ n ) n
I Let η n = φ n (ξ 1 , . . . , ξ n ). Look for (φ n ) n s.t. (η n ) n = (ξ d n ) n .
1
2 3
4 5 6 7
8 9 10 11 12 13 14 15
Ξ
1Ξ
2Ξ
3Φ
1Φ
2Figure : The tree representation of the functions φ n .
Representing (φ n ) n
I Let η n = φ n (ξ 1 , . . . , ξ n ). Look for (φ n ) n s.t. (η n ) n = (ξ d n ) n .
1
2 3
4 5 6 7
8 9 10 11 12 13 14 15
Ξ
1Ξ
2Ξ
3Φ
1Φ
2Φ
3Figure : The tree representation of the functions φ n .
Bootstrap random walks
Beyond the product (work in progress)
Describing (φ n ) n
Theorem
Let η n = φ n (ξ 1 , . . . , ξ n ), then (η n ) n d
= (ξ n ) n if and only if φ n (x 1 , . . . , x n ) is of the following form:
φ 1 (x 1 ) = (−1) α
1x 1
and for n ≥ 2, with K(n), the set of all non-empty subsets of {1, . . . , n − 1},
φ n (x 1 , . . . , x n ) = (−1) α
n
Y
K ∈K(n)
x [K ] β
n,K
x n ,
where x [K ] = max k∈K x k and α n , β n,K ∈ {0, 1}.
An example
η 1 = ξ 1 , η 2 = ξ 2 ξ 1 and η n = max(ξ n−2 , ξ n−1 )ξ n for n ≥ 3.
1
2 3
4 5 6 7
8 9 10 11 12 13 14 15
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Figure : The tree representation of the functions max(x n−2 , x n−1 )x n . Theorem
(X n (t), Y n (t))) converges weakly to a correlated Brownian motion.
Bootstrap random walks
Beyond the product (work in progress)
An example
-500 -400 -300 -200 -100
-150 -100 -50 50 100
-500 -400 -300 -200 -100
-400 -300 -200 -100
-500 -400 -300 -200 -100
-400 -300 -200 -100
-500 -400 -300 -200 -100 -50
50 100 150 200
-500 -400 -300 -200 -100
-400 -300 -200 -100
-500 -400 -300 -200 -100
-400 -300 -200 -100
-500 -400 -300 -200 -100
-200 -100 100
-500 -400 -300 -200 -100
-400 -300 -200 -100
-500 -400 -300 -200 -100
-400 -300 -200 -100
Figure : (W n ) n for φ n (x 1 , . . . , x n ) = max(x n−k , . . . , x n−1 )x n .
Introduction
The two and three dimensional processes Higher Iterations
An extension – any (prime) number of values
Beyond the product (work in progress)
An application, a connection and more
Bootstrap random walks
An application, a connection and more
A possible application – a greedy random bits generator
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
100 bits
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
200 bits
Figure : Simulate or compute?
A possible application – a greedy random bits generator
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
300 bits
1 20 40 60 80 100
1
20
40
60
80
100
1 20 40 60 80 100
1
20
40
60
80
100
10000 bits
Figure : Simulate or compute?
Bootstrap random walks
An application, a connection and more
A connection – cellular automata
I Model could be regarded as a long-range cellular automaton.
Figure : Elementary cellular automata
A connection – cellular automata
I Model could be regarded as a long-range cellular automaton.
Figure : Elementary cellular automata
Bootstrap random walks
An application, a connection and more
A connection – cellular automata
I Up to a “sliding” of the columns, it is also equivalent to CA60.
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
Figure : Cellular automaton 60
A related question – percolation (work in progress)
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
Figure : p = 0.5
Bootstrap random walks
An application, a connection and more
A related question – percolation (work in progress)
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
Figure : p = 0.5
A related question – percolation (work in progress)
1 10 20 30 40
1
10
20
30
40
1 10 20 30 40
1
10
20
30
40
Figure : p = 0.5
Bootstrap random walks
An application, a connection and more
A related question – percolation (work in progress)
1 200 400 600 800
1
200
400
600
800
1 200 400 600 800
1
200
400
600
800
Figure : p = 0.5
A related question – percolation (work in progress)
1 200 400 600 800 1000
1
200
400
600
800
1000
1 200 400 600 800 1000
1
200
400
600
800
1000
Figure : p = 0.99
Bootstrap random walks
An application, a connection and more