GBM(N, t0, T, x0, theta, sigma, output = FALSE)
t0
(x0 > 0
).theta is the constant interest rateand
and theta * X(t) :drift coefficient
).sigma is volatility of risky activities
and sigma * X(t):diffusion coefficient
).output = TRUE
write a output
to an Excel 2007.theta * X(t) :drift coefficient
and sigma * X(t) : diffusion coefficient
, W(t)
is Wiener process, the discretization dt = (T-t0)/N
.
sigma > 0
, the parameter theta
is interpreted as the constant interest rate and sigma
as the volatility of risky activities.
The explicit solution is : log-normal
.GBMF
Flow of Geometric Brownian Motion, PEBS
Parametric Estimation of Model Black-Scholes, snssde
Simulation Numerical Solution of SDE.## Black-Scholes Models
## dX(t) = 4 * X(t) * dt + 2 * X(t) *dW(t)
GBM(N=1000,T=1,t0=0,x0=1,theta=4,sigma=2)
Run the code above in your browser using DataLab