TSA Vector Exponential Average (Array) VI
- Updated2024-07-30
- 4 minute(s) read
Performs exponential average on a univariate or multivariate (vector) time series. This VI returns a smoothed time series. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
Xt
—
Xt specifies the multivariate (vector) time series. Each column of the 2D array represents a vector at certain time.
exponential type
—
exponential type specifies the type of exponential average. Each element of the array is one selection for one channel.
exponential factors
—
exponential factors specifies the weighting factors for exponential smoothing. Each element of the array represents one selection for one channel.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
season period
—
season period specifies the length of the seasonal pattern in the input time series. Each element of the array represents one selection for one channel. This option is available only when exponential type is Triple.
season type
—
season type specifies the way in which this VI models the seasonality. Each element of the array represents one selection for one channel. This option is available only when exponential type is Triple.
Xt averaged
—
Xt averaged returns the averaged multivariate (vector) time series. Each column of the 2D array represents a vector at certain time.
error out
—
error out contains error information. This output provides standard error out functionality. |
TSA Exponential Average Details
This VI uses the exponential weighting scheme to produce a smoothed time series. This VI computes the averaged values by assigning exponentially decreasing weights to the old values in the original time series according to the following equation:
Xa(i) = aXt(i-1) + a(1-a)Xt(i-2) + a(1-a)²Xt(i-3) +…
where a is the level weight for level cumulant Xa, Xa is the averaged time series, and Xt is the original time series.
Examples
Refer to the Exponential Smoothing VI in the labview\examples\Time Series Analysis\TSAGettingStarted directory for an example of using the TSA Exponential Average VI.
Xt
—
exponential type
—
exponential factors
—
level
—
error in (no error)
—
season period
—
Xt averaged
—
error out
—