TimeSeriesHelper<T>

Helpers & Utilities · AiDotNet.Helpers

Provides helper methods for time series analysis and forecasting.

How It Works

For Beginners: Time series analysis is a technique used to analyze data points collected over time to identify patterns and predict future values. This is commonly used for forecasting trends like stock prices, weather patterns, or sales data.

Methods

Method Summary
T CalculateAutoCorrelation(Vector<T> y, int lag) Calculates the autocorrelation of a time series at a specific lag.
Vector<T> CalculateARResiduals(Vector<T> y, Vector<T> arCoefficients) Calculates the residuals (errors) of an Autoregressive (AR) model.
Vector<T> CalculateMultipleAutoCorrelation(Vector<T> y, int maxLag) Calculates the autocorrelation function (ACF) of a time series for lags 0 through maxLag.
Vector<T> DifferenceSeries(Vector<T> y, int d) Computes the differences between consecutive values in a time series.
Vector<T> EstimateARCoefficients(Vector<T> y, int p, MatrixDecompositionType decompositionType) Estimates the coefficients for an Autoregressive (AR) model.
Vector<T> EstimateMACoefficients(Vector<T> residuals, int q) Estimates the coefficients for a Moving Average (MA) model.