powered by
MartExp(N, t0, T, sigma, output = FALSE)
sigma is volatility
output = TRUE
output
W(t)
X(t) = W(t)^2 - t
Y(t) = exp( integral(f(s)dW(s),0,t)- 0.5 * integral(f(s)^2 ds,0,t) )
## Exponential Martingales Process MartExp(N=1000,t0=0,T=1,sigma=2)
Run the code above in your browser using DataLab