Description Usage Arguments Value
View source: R/geometric_Brownian_motion.R
Simulates a stochastic realization of geometric Brownian motion The geometric Brownian motion is often taken as the standard model of stocks and other financial instruments. It is also one of the building blocks of the Black-Scholes option pricing model.
1 | geometric_Brownian_motion(T, dt, mu, sigma, Y0)
|
T |
total time |
dt |
time step |
mu |
mean |
sigma |
standard deviation of the stochastic term, over 1 time unit |
Y0 |
initial value |
The time and the process realization vectors
1 - The time vector t.
2 - Tbe process realization Y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.