Skip to content
aj-geddes avatar

Time Series Analysis

Walk through time series decomposition, stationarity testing, ARIMA, and exponential smoothing forecasts in Python code.

CCM score
37 of 100
skills.sh installs
620
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the workflow from decomposition and differencing to ARIMA, SARIMA, and exponential smoothing forecasts
  • Includes runnable statsmodels and pandas examples for ADF tests, ACF/PACF plots, and forecast metrics
  • Provides MAE, RMSE, and MAPE functions to check forecast accuracy against held-out values
  • Designed for analysts who need trend, seasonality, and autocorrelation diagnostics before building forecasting models

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'Time Series Analysis' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Time Series Analysis

Overview

Time series analysis examines data points collected over time to identify patterns, trends, and seasonality for forecasting and understanding temporal dynamics.

When to Use

  • Forecasting future values based on historical trends
  • Detecting seasonality and cyclical patterns in data
  • Analyzing trends over time in sales, stock prices, or website traffic
  • Understanding autocorrelation and temporal dependencies
  • Making time-based predictions with confidence intervals
  • Decomposing data into trend, seasonal, and residual components

Core Components

  • Trend: Long-term directional movement
  • Seasonality: Repeating patterns at fixed intervals
  • Cyclicity: Long-term oscillations (non-fixed periods)
  • Stationarity: Constant mean, variance over time
  • Autocorrelation: Correlation with past values

Key Techniques

  • Decomposition: Separating trend, seasonal, residual components
  • Differencing: Making data stationary
  • ARIMA: AutoRegressive Integrated Moving Average models
  • Exponential Smoothing: Weighted average of past values
  • SARIMA: Seasonal ARIMA models

Implementation with Python

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Similar to Time Series Analysis

More Data Science & Analytics