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

 

Function index Version 3.0.0

apaReturns.Simulate.ARMA22(nSims, nPaths, dt, mu, sigma, AR1, AR2, MA1, MA2)

Excel=apaReturns.Simulate.ARMA22(nSims, nPaths, dt, mu, sigma, AR1, AR2, MA1, MA2)

Result

Simulates returns which follow an ARMA(2,2) process. See apaPriceSim.ARMA22 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 the noise term

AR1: the first autoregressive coefficient

AR2: the second autoregressive coefficient

MA1: the first moving average coefficient

MA2: the second moving average coefficient