Estimates the autoregressive-moving average (ARMA) model of a univariate or multivariate (vector) time series according to the method you specify. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • c2ddbl.png Xt

    Xt specifies the multivariate (vector) time series. Each column of the 2D array represents a vector at certain time.

  • cnclst.png ARMA order

    ARMA order specifies the orders of the autoregressive-moving average model.

  • ci32.png AR

    AR specifies the AR order of the autoregressive-moving average model. The value of AR must be equal to or greater than 0. The value of AR cannot be zero if the value of MA is zero. The default is 4.

  • ci32.png MA

    MA specifies the MA order of the autoregressive-moving average model. The value of MA must be equal to or greater than 0. The value of MA cannot be zero if the value of AR is zero. The default is 3.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • i1dcclst.png AR coefficients

    AR coefficients returns the estimated AR coefficients of the vector autoregressive-moving average model.

  • i2ddbl.png

    is the estimated AR coefficients of the vector ARMA model.

  • i1dcclst.png MA coefficients

    MA coefficients returns the estimated MA coefficients of the vector autoregressive-moving average model.

  • i2ddbl.png

    is the estimated MA coefficients of the vector ARMA model.

  • i2ddbl.png noise

    noise returns the estimated multivariate white noise series of the vector autoregressive-moving average model. Each column of the 2D array is a vector at certain time.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • TSA ARMA Modeling Details

    This VI estimates the autoregressive (AR) model according to the following equation:

    Xt + a1Xt-1 + ,…, + aNaXt-Na = et + b1et-1 + ,…, + bNbet-Nb

    where Na is the AR order, Nb is the MA order, Xt is a univariate or multivariate (vector) time series, and et is a Gaussian white noise series with a mean of zero.

    For univariate time series, AR coefficients is a 1D array [1, a1, a2,…, aNa], where each coefficient ai is a real number. MA coefficients is a 1D array [1, b1, b2,…, bNb], where each coefficient bi also is a real number.

    For multivariate time series, AR coefficients is a 1D array [I, a1, a2,…, aNa], where each coefficient ai is a 2D array cluster. MA coefficients is a 1D array [I, b1, b2,…, bNb], where each coefficient bi also is a 2D array cluster.

    The minimum length requirement for the input time series differs for each method you use:

    • Yule-Walker method: minimum length >= AR order + MA order
    • High-Order AR method: minimum length >= 5 x MA order
    • Polynomial method: minimum length >= 5 x (AR order + MA order)

    Examples

    Refer to the following VIs for examples of using the TSA ARMA Modeling VI:

    • Engine Knocking Monitor VI: labview\examples\Time Series Analysis\TSAApplications
    • ARMA Prediction VI: labview\examples\Time Series Analysis\TSAGettingStarted
    • ARMA Model Estimation VI: labview\examples\Time Series Analysis\TSAGettingStarted