Beruflich Dokumente
Kultur Dokumente
J. Robert Buchanan
2010
Assumptions:
Current value of security is S(0).
At each tick of a clock S may change by 1.
P (S(n + 1) = S(n) + 1) = 1/2 and
P (S(n + 1) = S(n) 1) = 1/2.
Assumptions:
Current value of security is S(0).
At each tick of a clock S may change by 1.
P (S(n + 1) = S(n) + 1) = 1/2 and
P (S(n + 1) = S(n) 1) = 1/2.
+1 with probability 1/2,
If Xi = then
1 with probability 1/2
S(N) = S(0) + X1 + X2 + + XN
Then
S(n) = S(0) + k (n k ) = S(0) + 2k n
and n
n 1
P (S(n) = S(0) + 2k n) = .
k 2
Theorem
For the random walk S(i) with initial state S(0) = 0,
Proof.
SH0L
-A
Theorem
If {S(j)}nj=0 is an unbiased random walk with initial state
S(0) = i and if |A i| n and |A + i| n then
Theorem
If {S(j)}nj=0 is an unbiased random walk with initial state
S(0) = i and if |A i| n and |A + i| n then
Example
A gambler going broke and unable to borrow money has
encountered an absorbing boundary condition.
Lemma
Suppose a random walk S(k ) = S(0) + ki=1 Xi in which the Xi
P
for i = 1, 2, . . . are independent, identically distributed random
variables taking on the values 1, each with probability
p = 1/2. Suppose further that the boundary at 0 is absorbing,
then if A, i > 0,
P (S(n) = A | S(0) = i)
= P (S(n) = A Smin (n) > 0 | S(0) = i)
+ P (S(n) = A Smin (n) 0 | S(0) = i)
Example
For an unbiased random walk with initial state S(0) = 10, what
is the probability that S(50) = 16 and S(n) > 0 for
n = 0, 1, . . . , 50?
Example
For an unbiased random walk with initial state S(0) = 10, what
is the probability that S(50) = 16 and S(n) > 0 for
n = 0, 1, . . . , 50?
P (0 = n | S(0) = i)
= P (Xn = 1 S(n 1) = 1 mn1 > 0 | S(0) = i)
1
= P (S(n 1) = 1 mn1 > 0 | S(0) = i)
2
1
= f1,i (n 1).
2
Thus by spatial homogeneity
1
P (A = n | S(0) = i) = f (n 1)
2 1,(iA)
X
PA (i) = PpiA
piA
= P (S(1) = i 1 | S(0) = i) PA (i 1)
+ P (S(1) = i + 1 | S(0) = i) PA (i + 1)
1 1
= PA (i 1) + PA (i + 1)
2 2
X
PA (i) = PpiA
piA
= P (S(1) = i 1 | S(0) = i) PA (i 1)
+ P (S(1) = i + 1 | S(0) = i) PA (i + 1)
1 1
= PA (i 1) + PA (i + 1)
2 2
This implies
PA (i 1) 2PA (i) + PA (i + 1) = 0.
Theorem
Suppose S(k ) = S(0) + ki=1 Xi where the Xi for i = 1, 2, . . .
P
are independent, identically distributed random variables taking
on the values 1, each with probability p = 1/2. Suppose
further that the boundaries at 0 and A are absorbing, then if
0 S(0) = i A
1 the probability that the random walk achieves state A
without achieving state 0 is PA (i) = i/A,
2 the probability that the random walk achieves state 0
without achieving state A is P0 (i) = 1 i/A.
+ (i 1) 2( + i) + + (i + 1) = 0
X
B (i) = PpiB piB
piB
1 1
= (1 + B (i 1)) + (1 + B (i + 1))
2 2
Since the path from i B can be decomposed into paths from
(i 1) B and (i + 1) B with the addition of a single step,
the expected value of the exit time of a random walk starting at
i is one more than the expected value of a random walk starting
at i 1.
B (i 1) 2B (i) + B (i + 1) = 2
for i = 1, 2, . . . , A 1, while B (0) = 0 = B (A).
B (i 1) 2B (i) + B (i + 1) = 2
for i = 1, 2, . . . , A 1, while B (0) = 0 = B (A).
Try a solution of the form B (i) = ai 2 + bi + c and determine
the coefficients a, b, and c.
Theorem
Suppose S(k ) = S(0) + ki=1 Xi where the Xi for i = 1, 2, . . .
P
are independent, identically distributed random variables taking
on the values 1, each with probability p = 1/2. Suppose
further that the boundaries at 0 and A are absorbing, then if
0 S(0) = i A the random walk intersects the boundary
(S = 0 or S = A) after a mean number of steps given by the
formula
B (i) = i(A i).
Example
Suppose an unbiased random walk takes place on the discrete
interval {0, 1, 2, . . . , 10} for which the boundaries at 0 and 10
are absorbing. As a function of the initial condition i, find the
expected value of the exit time.
Example
Suppose an unbiased random walk takes place on the discrete
interval {0, 1, 2, . . . , 10} for which the boundaries at 0 and 10
are absorbing. As a function of the initial condition i, find the
expected value of the exit time.
i 0 1 2 3 4 5 6 7 8 9 10
B (i) 0 9 16 21 24 25 24 21 16 9 0
1
1)PA (i 1) + 21 A (i + 1)PA (i + 1)
2 A (i
A (i) = 1 +
PA (i)
1 1
= PA (i) + A (i 1)PA (i 1) + A (i + 1)PA (i + 1)
2 2
i i i 1 i +1
A (i) = + A (i 1) + A (i + 1)
A A 2A 2A
2iA (i) = 2i + (i 1)A (i 1) + (i + 1)A (i + 1)
Theorem
Suppose S(k ) = S(0) + ki=1 Xi where the Xi for i = 1, 2, . . .
P
are independent, identically distributed random variables taking
on the values 1, each with probability p = 1/2. Suppose
further that the boundary at 0 is absorbing. The random walk
that avoids state 0 will stop the first time that S(n) = A. The
expected value of the stopping time is
1 2 2
A (i) = A i , for i = 1, 2, . . . , A.
3
Remark: If the random walk starts in state 0, since this state is
absorbing the expected value of the exit time is infinity.
Example
Suppose an unbiased random walk takes place on the discrete
interval {0, 1, 2, . . . , 10} for which the boundary at 0 is
absorbing. As a function of the initial condition i, find the
expected value of the conditional exit time through state 10.
Example
Suppose an unbiased random walk takes place on the discrete
interval {0, 1, 2, . . . , 10} for which the boundary at 0 is
absorbing. As a function of the initial condition i, find the
expected value of the conditional exit time through state 10.
i 1 2 3 4 5 6 7 8 9 10
91 64 19
10 (i) 33 32 3 28 25 3 17 12 3 0
SHkL
k
t
Theorem
The derivative dW /dt does not exist for any t.
W (s + h) W (s)
lim does not exist.
h0 h
where tk = kt/n.
Note: The function f is evaluated at the left-hand endpoint of
each subinterval.
where tk = kt/n.
Note: The function f is evaluated at the left-hand endpoint of
each subinterval.
The stochastic integral is equivalent to its differential form
dZ = f (t) dW (t)
dZ = dt.
dZ = dt + dW (t)
dZ = dt + dW (t)
E [Z (t) Z (0)] = t
Var (Z (t) Z (0)) = 2 t
E [Z (t) Z (0)] = t
Var (Z (t) Z (0)) = 2 t
Example
Suppose the drift parameter is = 1 and the volatility is
= 1/4, then the expected value
of the Wiener process is t
and the standard deviation is t/4.
ZHtL
1.2
1.0
0.8
0.6
0.4
0.2
t
0.2 0.4 0.6 0.8 1.0
Example
Suppose the drift parameter is = 1/4 and the volatility is
= 1, then the expected value
of the Wiener process is t/4
and the standard deviation is t.
ZHtL
1.0
0.5
t
0.2 0.4 0.6 0.8 1.0
-0.5
and Z t Z t
Z (t) = Z (0) + ( ) d + ( ) dW ( ).
0 0
is called an It process.
We will shortly be called upon to develop new stochastic
processes which are functions of S. Suppose Z = ln S, then
dZ = dS/S (by the chain rule), but are the following two
stochastic processes equivalent?
dS = S dt + S dW (t)
dZ = dt + dW (t)
dS = S dt + S dW (t)
dZ = dt + dW (t)
S 0 and S 0 as S 0+ .
dS = S dt + S dW (t)
dZ = dt + dW (t)
S 0 and S 0 as S 0+ .
First equation makes a suitable mathematical model for a
stock price S 0, in second equation Z could go negative.
dS = S dt + S dW (t)
dZ = dt + dW (t)
S 0 and S 0 as S 0+ .
First equation makes a suitable mathematical model for a
stock price S 0, in second equation Z could go negative.
Second equation can be integrated, first cannot.
dS = S dt + S dW (t)
dZ = dt + dW (t)
S 0 and S 0 as S 0+ .
First equation makes a suitable mathematical model for a
stock price S 0, in second equation Z could go negative.
Second equation can be integrated, first cannot.
The two equations are not equivalent because the chain
rule does not apply to functions of stochastic quantities.
f 00 (x0 )
f (x) = f (x0 ) + f 0 (x0 )(x x0 ) + (x x0 )2 (1)
2!
f (n) (x0 ) f (n+1) ()
+ + (x x0 )n + (x x0 )n+1
n! (n + 1)!
1
f (1) = f (0) + f 0 (0) + f 00 (0) + R3 . (2)
2
Using the multivariable chain rule for derivatives we have, upon
differentiating f (x) and setting x = 0,
We have made use of the fact that Fyz = Fzy for this function
under the smoothness assumptions. The remainder term R3
contains only third order partial derivatives of F evaluated
somewhere on the line connecting the points (y0 , z0 ) and
(y0 + h, z0 + k ). Thus if we substitute Eqs. (3) and (4) into (2)
we obtain
1
Y = FX X + Ft t + FXX (X )2 + FXt X t
2
1
+ Ftt (t)2 + R3
2
1
= FX (at + b dW (t)) + Ft t + FXX (at + b dW (t))2
2
1
+ FXt (at + b dW (t))t + Ftt (t)2 + R3 .
2
1
Y FX (a dt + b dW (t)) + Ft dt + FXX b2 (dW (t))2 .
2!
Using the relationship (dW (t))2 = dt
1
Y FX (a dt + b dW (t)) + Ft dt + FXX b2 dt. (7)
2!
Example
If Z = ln S and
dS = S dt + S dW (t),
find the stochastic process followed by Z .
Example
If Z = ln S and
dS = S dt + S dW (t),
find the stochastic process followed by Z .
If Z = ln S then
1 1 2 2 1 1
dZ = S +0+ S 2 dt + S dW (t)
S 2 S S
2
= dt + dW (t)
2
Example
If S = eZ and
dZ = dt + dW (t),
find the stochastic process followed by S.
Example
If S = eZ and
dZ = dt + dW (t),
find the stochastic process followed by S.
If S = eZ then
h i
Z 1 2 h Zi
dS = e +0+ e dt + eZ dW (t)
2
2
= + S dt + S dW (t)
2
dZ = dt + dW (t).
Hence Z t
Z (t) = Z (0) + t + dW ( )
0
and Rt
dW ( )
S(t) = S(0)et+ 0 .
Hence Z t
Z (t) = Z (0) + t + dW ( )
0
and Rt
dW ( )
S(t) = S(0)et+ 0 .
The mean and variance of S(t) are
2 /2)t
E [S(t)] = S(0)e(+
2 )t
2
Var (S(t)) = (S(0))2 e(2+ e t 1 .