I want to simulate stock price paths with different stochastic processes. I started with the famous geometric brownian motion. I simulated the values with the following formula:
Ri=Si+1−SiSi=μΔt+σφ√Δt
with:
μ= sample mean
σ= sample volatility
Δt= 1 (1 day)
φ= normally distributed random number
I used a short way of simulating: Simulate normally distributed random numbers with sample mean and sample standard deviation.
Multiplicate this with the stock price, this gives the price increment.
Calculate Sum of price increment and stock price and this gives the simulated stock price value. (This methodology can be found here)
So I thought I understood this, but now I found the following formula, which is also the geometric brownian motion:
St=S0exp[(μ−σ22)t+σWt]
I do not understand the difference? What does the second formula says in comparison to the first? Should I have taken the second one? How should I simulate with the second formula?
Answer
The way you do it in the first place is a discretization of the Geometric Brownian Motion (GBM) process. This method is most useful when you want to compute the path between S0 and St, i.e. you want to know all the intermediary points Si for 0≤i≤t.
The second equation is a closed form solution for the GBM given S0. A simple mathematical proof showed that, if you know the initial point S0 (which is a in your equation), then the value of the process at time t is given by your equation (which contains Wt, so St is still random). However, this method will not tell you anything about the path.
As mentioned in the comments below, you can also use the close form to simulate each step of the paths.
No comments:
Post a Comment