Time Series Analysis Tools
Understand decomposition, stationarity tests, ACF/PACF analysis, and resampling for time series data.
Time Series Analysis Tools
Before building a forecast model, you need to understand your data. These tools help you break down, test, and prepare your time series data.
Decomposition
What it does: Breaks your time series into three components:
- Trend -- The long-term direction (going up, down, or flat)
- Seasonality -- Repeating patterns (weekly, monthly, yearly cycles)
- Residual -- What remains after removing trend and seasonality (random noise)
- Go to Time Series > Decomposition
- Select your dataset and time/value columns
- Choose decomposition type:
- Set the seasonal period (e.g., 12 for monthly data with yearly cycles)
- Click Decompose to see the three components plotted separately
Stationarity Testing
What it does: Checks whether your data's statistical properties (mean, variance) stay constant over time. Most forecasting algorithms require stationary data.
ADF Test (Augmented Dickey-Fuller)
| Result | Meaning |
|---|---|
| p-value < 0.05 | Data IS stationary (good for modeling) |
| p-value >= 0.05 | Data is NOT stationary (needs differencing) |
KPSS Test
| Result | Meaning |
|---|---|
| p-value < 0.05 | Data is NOT stationary |
| p-value >= 0.05 | Data IS stationary |
- Go to Time Series > Stationarity
- Select your time series
- Run both ADF and KPSS tests
- If not stationary, try differencing (subtracting each value from the previous one)
ACF and PACF Analysis
ACF (Autocorrelation Function): Shows how each value relates to ALL previous values at different lag distances.
PACF (Partial Autocorrelation Function): Shows how each value relates DIRECTLY to previous values, removing indirect effects.
Why it matters:
- ACF helps identify the MA (Moving Average) order for ARIMA
- PACF helps identify the AR (AutoRegressive) order for ARIMA
- Bars extending beyond the blue confidence bands are "significant"
- ACF that slowly decays suggests a trend (needs differencing)
- PACF that cuts off after lag K suggests AR(K) model
- Go to Time Series > ACF/PACF
- Select your time series
- Set maximum lags (e.g., 40)
- View both charts side by side
- Count significant lags to determine ARIMA parameters
Resampling
What it does: Changes the time frequency of your data. For example:
- Daily data to weekly or monthly
- Hourly data to daily
- Minute data to hourly
| Method | Use When |
|---|---|
| Mean | You want the average value per period |
| Sum | You want totals (e.g., monthly sales from daily sales) |
| Min/Max | You want extremes per period |
| First/Last | You want the opening or closing value |
| Count | You want how many observations per period |
- Go to Time Series > Resampling
- Select your dataset and time column
- Choose the target frequency (hourly, daily, weekly, monthly, quarterly, yearly)
- Select aggregation method for each value column
- Click Resample to create the resampled dataset
What's Next?
Once you understand your data:
- [Time Series Algorithms](/analytics/user-manuals/ts-all/ts-algorithms-forecast) -- Choose and configure the right model
- [Time Series Overview](/analytics/user-manuals/ts-all/ts-overview) -- Review the full workflow
Related Articles
Time Series Overview: What It Is and How to Use It
A beginner-friendly guide to time series data: what it is, key concepts like trend and seasonality, the full workflow, choosing algorithms, and real-world examples.
Time Series Algorithms and Forecasting
A complete guide to all 7+ time series algorithms: SES, Holt, Holt-Winters, ARIMA, Prophet, LSTM, VAR — when to use each, pros and cons, and how to generate forecasts.
Was this helpful?