apaPriceSim.ARMA22(IntialPrice, nSims, nPaths, dt, mu, sigma, AR1, AR2, MA1, MA2)
Excel
=apaPriceSim.ARMA22(IntialPrice, nSims, nPaths, dt, mu, sigma, AR1, AR2, MA1, MA2)Result
Simulates prices which follow an ARMA(2,2) process. Each row contains an observation, each column a price path.
Syntax
IntialPrice: initial price, e.g. 100.
nSims: number of observations to simulate
nPaths: number of price paths to simulate
dt: time step between two observations, e.g. 1/12 for monthly, 1 for annual and 1/250 for daily prices
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
Remarks
The continuous price returns are expected to follow an ARMA(2,2) process.
