VoseTimeMA2 | Vose Software

VoseTimeMA2

See also: Time series in ModelRisk; Fitting in ModelRisk;Univariate Time Series Fit

VoseTimeMA2(Mu, Sigma, B, Z0, Z_1, Log Return, Initial Value)

 

 

 

Array function that models a Moving Average time series model of order 2.

  • Mu - mean log return;

  • Sigma - standard deviation of log returns;

  • B1 - moving average parameter;

  • B2 - second moving average parameter;

  • Z0 - movement at period 0;

  • Z_1 - movement at period -1;

  • Log Return - an optional parameter. Function generates log returns if set to TRUE, or variable values if set to FALSE or omitted;

  • Initial Value - starting value (at time zero). The generated time series values will continue on from this value. Should only be provided if the Log Return parameter is set to FALSE or omitted.

As the ModelRisk Time Series functions typically take a lot of parameters, we recommend for these in particular to use the Time Series window.

Equations

where:

 - a sample from a Normal(0,1)

- if   is the value of the variable at time t, then is the log return defined as

- log return mean

- conditional log return standard deviation

b1 - 1 lag moving average factor

b2 - 2 lags moving average factor

VoseFunctions for this time series

VoseTimeMA2 - generates an array of random values from this time series.

VoseTimeMA2Fit - generates an array of random values from this time series fitted to data.

VoseTimeMA2FitP - returns the parameters of this time series fitted to data.

 

Navigation