The random walk model is a basic model that describes stock prices as a sum of multiple random IID variables, where IID stands for “Independent and identically distributed”.
Independent means the variables do not depend on each other. For instance, if each variable represents the result of the toss of a fair coin, the probability of getting a head or tail for the current toss does not depend on the previous toss.
Identically distributed means the variables follow the same probability distribution (e.g. they all follow a normal distribution).
In the sections below, we’ll first consider a random walk model that consists of multiple standardized random IID variables, before generalizing the model to non-standardized IID variables.
Using Standardized Random IID variables
A standardized random IID variable is a random variable that has the following properties:
Mean = 0
Variance = 1
Correlation = 0
In other words,
E[zt]
= Mean
= 0
E[zt2]
= E[zt2] − (E[zt])2 (here, we are subtracting 0 since E[zt] = 0)
= Variance
= 1
E[ztzt’]
= E[zt].E[zt’] (cos zt and zt’ are independent)
= 0
Important Values If zt ~ iid(0, 1) E[zt] = 0 E[zt2] = 1 E[ztzt’] = 0 |
Now, consider a random walk model that consists of a sum of these random IID variables. That is,
ST = z1 + z2 + z3 + …. + zT
E[ST]
= E[z1] + E[z2] + …. E[zT] (because expectation is a linear operator)
= 0
Var[ST]
= E[ST2] − E[ST]2
= E[ST2] − 02
= E[(z1 + z2 + …. zT)2]
= (sum of E[zt2] for t from 0 to T) + 2*(sum of E[ztzt’] for t < t’)
= (sum of 1 from 0 to T) + 0
= T ———————- (1)
Solution of Model If ST = z1 + z2 + z3 + …. + zT where z ~ iid(0,1) E[ST] = 0 Var[ST] = T |
Generalized Random Walk Model
Let’s generalize the model by introducing two constant parameters so that the mean and variance is no longer 0 and 1
Let rt = σ*zt + μ, where σ measures risk and μ measures return.
E[rt]
= E[σ*zt + μ]
= E[σ*zt] + E[μ]
= σ*E[zt] + E[μ]
= μ
Variance
= E[(rt − μ)2]
= E[(σ*zt + μ − μ)2]
= E[(σ*zt)2]
= σ2*E[zt2]
= σ2
Variance
= E[rt2] − (E[rt])2
= E[rt2] − μ2
Therefore, E[rt2] = μ2 + σ2
Covariance
= E[(rt − μ)(rt’ − μ)], where t not equals t’
= E[σ*zt * σ*zt’]
= σ2 * E[ztzt’]
= 0
Covariance
= E[(rt − μ)(rt’ − μ)]
= E[rtrt’] − μ*E[rt] − μ*E[rt’] + μ2
= E[rtrt’] − μ2
= 0
Therefore, E[rtrt’] = μ2
Important Values If rt = σ*zt + μ where z ~ iid(0,1) E[rt] = μ E[rt2] = μ2 + σ2 E[rtrt’] = μ2 |
Let’s consider a generalized random walk model where XT = r1 + r2 + …. rT
Mean
= E[XT]
= E[r1] + E[r2] + … + E[rT]
= T*μ
Variance
= E[XT2] − E[XT]2
= E[(r1 + r2 + …. rT)2] − T2μ2
= (sum of E[rt2] for t from 0 to T) + 2*(sum of E[rtrt’] for t < t’) − T2μ2
= T*(σ2 + μ2) + T(T−1)μ2 − T2μ2 (because there are TC2 E[rtrt’] terms)
= T*σ2
Or
Variance
= E[(XT − T*μ)2]
= E[(r1 − μ + r2 − μ + … + rT − μ)2]
= E[(σ*z1 + σ*z2 + … + σ*zT)2]
= σ2*E[(z1 + z2 + …. + zT)2] (refer to (1) above)
= T*σ2
Solution of Model If XT = r1 + r2 + …. rT Mean = T*μ Variance = T*σ2 |
Leave a Reply