Computes the standard deviation, variance, and coefficients of variation values of a univariate or multivariate (vector) time series. 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.

  • cu16.png weighting

    weighting specifies which type of standard deviation and variance values to calculate. Options include Sample and Population. The default is Sample (N-1).

  • cerrcodeclst.png error in (no error)

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

  • i1ddbl.png standard deviation

    standard deviation returns the vector standard deviation value of the multivariate (vector) time series.

  • i1ddbl.png variance

    variance returns the vector variance value of the multivariate (vector) time series.

  • i1ddbl.png coefficients of variation (%)

    coefficients of variation returns the vector coefficients of variation value of the multivariate (vector) time series.

  • ierrcodeclst.png error out

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

  • TSA Deviation and Variance Details

    This VI calculates the standard deviation and variance values according to the following equations:

    where m is the arithmetic mean, s² is variance, s is standard deviation, n is the number of time series Xt. w = n when weighting is set to Population and w = (n-1) when weighting is set to Sample.

    This VI calculates the coefficients of variation according to the following equation:

    Examples

    Refer to the following VIs for examples of using the TSA Deviation and Variance VI:

    • Engine Knocking Monitor VI: labview\examples\Time Series Analysis\TSAApplications
    • Power Line Monitor VI: labview\examples\Time Series Analysis\TSAApplications
    • ARMA Prediction VI: labview\examples\Time Series Analysis\TSAGettingStarted
    • Series Statistical Analysis VI: labview\examples\Time Series Analysis\TSAGettingStarted