Home   >   User Resources   >   Online Help   >   apaReturns.Simulate.GBM
 

 

Function index Version 3.0.0

apaReturns.Simulate.GBM(nSims, nPaths, dt, mu, sigma)

Excel=apaReturns.Simulate.GBM(nSims, nPaths, dt, mu, sigma)

Result

Simulates returns which follow a geometric Brownian motion. See apaPriceSim.GBM for details.

Syntax

nSims: number of observations to simulate

nPaths: number of paths to simulate

dt: time step dt, e.g. 1/12 for monthly frequency

mu: expected mean of the noise term, e.g. zero for no drift.

sigma: volatility of noise term