Microsoft Learn

Time Series Analysis Concepts

Time series analysis is a statistical method that deals with time-ordered observations or measurements. It involves analyzing time series data to extract meaningful statistics and other characteristics of the data. The primary goal is to understand the underlying structure of the data, identify patterns, and potentially forecast future values.

What is Time Series Data?

Time series data is a sequence of data points collected, recorded, or observed over time. These data points are typically recorded at successive, equally spaced points in time. Examples include:

Components of a Time Series

A typical time series can be decomposed into several components:

Key Goals of Time Series Analysis

Common Time Series Models in SQL Server Analysis Services

SQL Server Analysis Services (SSAS) provides algorithms and tools to perform time series analysis. The primary algorithm used is the ARIMA (AutoRegressive Integrated Moving Average) model.

ARIMA Models

ARIMA models are powerful statistical methods for time series forecasting. They are defined by three parameters (p, d, q):

SSAS implements the ARIMA algorithm to model and forecast time series data, automatically selecting the best ARIMA parameters for your data.

Note: Time series analysis is particularly useful for understanding trends, seasonality, and making predictions in business scenarios like sales forecasting, inventory management, and financial planning.

Steps in Time Series Analysis with SSAS

  1. Data Preparation: Ensure your data is correctly formatted with a time dimension and a measure to be analyzed.
  2. Model Training: Use the SSAS mining wizard to create a time series mining structure and train the ARIMA model on your historical data.
  3. Model Evaluation: Assess the accuracy and performance of the trained model.
  4. Forecasting: Use the trained model to predict future values.

Further Exploration