Estimates the stationarity of a univariate time series by examining the mean and variance values of the subsequences. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • ci32.png number of segments

    number of segments specifies the number of subsequences into which this VI divides the input time series. The default is 100.

  • c1ddbl.png Xt

    Xt specifies the univariate time series.

  • cdbl.png confidence level (%)

    confidence level specifies the level of confidence as a percentage this VI uses to compute the confidence limits of specified statistics value.

  • cerrcodeclst.png error in (no error)

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

  • icclst.png stationary

    stationary returns information about the stationarity of the univariate time series.

  • ibool.png mean?

    mean? returns TRUE if the univariate time series is stationary based on the mean values of the subsequences.

  • ibool.png variance?

    variance? returns TRUE if the univariate time series is stationary based on the variance values of the subsequences.

  • i1ddbl.png mean of segments

    mean of segments returns the mean value of each subsequence.

  • i1ddbl.png variance of segments

    variance of segments returns the variance value of each subsequence.

  • ierrcodeclst.png error out

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

  • TSA Stationarity Test Details

    This VI performs stationarity estimation on a univariate time series by testing the inversion number according to the following steps:

    1. Divides a time series Xt into l subsequences. The mean value of each subsequence forms a time series m1, m2,…ml. The standard deviation value of each subsequence forms a time series s1, s2,…sl.

    2. Computes the sum Sm (Ss) of inversion number for the time series m1, m2,…, ml (s1, s2,…, sl).

    If Xt is stationary, the statistical value emes satisfies the normal distribution with a mean value of 0 and a standard deviation value of 1.

    and

    Where mA is the theoretical mean value of Sm or Ss, which equals , and sA is the theoretical standard deviation value of Sm or Ss, which equals the following equation:

    Given the confidence level a:

    • If em<Na/2(0, 1), this time series is mean stationary.
    • If es<Na/2(0, 1), this time series is variance stationary.

    Examples

    Refer to the Series Statistical Analysis VI in the labview\examples\Time Series Analysis\TSAGettingStarted directory for an example of using the TSA Stationarity Test VI.