ASE Logo

Time Series Analysis and Forecasting

Faculty of Cybernetics, Statistics and Economic Informatics | Bucharest University of Economic Studies, Romania

IDA Logo

Course Overview

Course

Time Series Analysis and Forecasting

Bucharest University of Economic Studies

Duration

Lectures: 2 hours/week

Seminars: 2 hours/week

Prerequisites

Statistics, Probability Theory

Linear Algebra, Python Programming

Assessment

Final Exam: 70%

Projects & Assignments: 30%

Learning Objectives

By the end of this course, you will be able to:

Key Formulas

Decomposition

Additive: $X_t = T_t + S_t + \varepsilon_t$

Multiplicative: $X_t = T_t \times S_t \times \varepsilon_t$

Stationarity

$\mathbb{E}[X_t] = \mu$ (constant)

$\text{Var}(X_t) = \sigma^2$ (constant)

$\text{Cov}(X_t, X_{t+h}) = \gamma(h)$

AR(p) Model

$X_t = c + \sum_{i=1}^{p}\phi_i X_{t-i} + \varepsilon_t$

Stationary if roots outside unit circle

MA(q) Model

$X_t = \mu + \sum_{j=1}^{q}\theta_j\varepsilon_{t-j} + \varepsilon_t$

Always stationary

ARIMA(p,d,q)

$\phi(L)(1-L)^d X_t = \theta(L)\varepsilon_t$

$d$ = differencing order

SARIMA

$(p,d,q) \times (P,D,Q)_s$

Seasonal + non-seasonal ARIMA

VAR(p) Model

$\mathbf{Y}_t = \mathbf{c} + \sum_{i=1}^{p}\mathbf{A}_i\mathbf{Y}_{t-i} + \boldsymbol{\varepsilon}_t$

Multivariate AR extension

Granger Causality

$X \rightarrow Y$: past $X$ predicts $Y$

$H_0$: lagged $X$ coefficients = 0

GARCH(1,1)

$\sigma_t^2 = \omega + \alpha \varepsilon_{t-1}^2 + \beta \sigma_{t-1}^2$

Volatility clustering model

Value at Risk

$\text{VaR}_\alpha = \mu + z_\alpha \cdot \sigma_t$

Risk measure at confidence $\alpha$

Cointegration

$Y_t = \beta X_t + u_t$, $u_t \sim I(0)$

Long-run equilibrium relationship

Model Selection

AIC $= -2\log L + 2k$

BIC $= -2\log L + k\log n$

Forecast Metrics

RMSE $= \sqrt{\frac{1}{n}\sum(y_t - \hat{y}_t)^2}$

MAPE $= \frac{100}{n}\sum|\frac{y_t - \hat{y}_t}{y_t}|$

Prophet Model

$y(t) = g(t) + s(t) + h(t) + \varepsilon_t$

Trend + Seasonality + Holidays

TBATS

Trigonometric + Box-Cox + ARMA

Multiple seasonality via Fourier

Course Chapters

Chapter 0: Fundamentals

  • What is a Time Series?
  • Time Series Decomposition
  • Exponential Smoothing Methods
  • Forecast Evaluation
  • Modeling Seasonality
  • Handling Trend and Seasonality

Chapter 1: Stochastic Processes & Stationarity

  • Stochastic Processes
  • Stationarity (Strict & Weak)
  • White Noise and Random Walk
  • Autocorrelation Functions (ACF/PACF)
  • Lag Operator and Differencing
  • Testing for Stationarity (ADF, KPSS)

Chapter 2: ARMA Models

  • Autoregressive (AR) Models
  • Moving Average (MA) Models
  • ARMA Model Identification
  • Parameter Estimation
  • Model Diagnostics
  • Forecasting with ARMA

Chapter 3: ARIMA Models

  • Non-Stationarity & Unit Roots
  • Differencing & Integration
  • ARIMA(p,d,q) Models
  • Unit Root Tests (ADF, KPSS)
  • Box-Jenkins Methodology
  • Forecasting with ARIMA

Chapter 4: SARIMA Models

  • Seasonality in Time Series
  • Seasonal Decomposition
  • Seasonal Differencing
  • SARIMA$(p,d,q) \times (P,D,Q)_s$
  • Airline Model
  • Seasonal Forecasting

Chapter 5: Volatility Models ARCH/GARCH

  • Stylized Facts of Financial Returns
  • Volatility Clustering & Heteroskedasticity
  • ARCH Model (Engle, 1982)
  • GARCH, IGARCH, EWMA, CGARCH, FIGARCH
  • Asymmetric Models: EGARCH, GJR-GARCH, TGARCH, APARCH
  • Markov-Switching GARCH
  • Volatility Forecasting, Value at Risk & Expected Shortfall

Chapter 5b: Multivariate GARCH Models

  • Multivariate Volatility Modeling
  • VECH and BEKK Models
  • DCC-GARCH (Dynamic Conditional Correlation)
  • CCC-GARCH (Constant Conditional Correlation)
  • Portfolio Risk & Hedging Applications

Chapter 6: VAR Models & Granger Causality

  • Vector Autoregression (VAR)
  • Granger Causality Testing
  • Impulse Response Functions
  • Forecast Error Variance Decomposition
  • VAR Diagnostics & Forecasting
  • Structural VAR (SVAR) Introduction

Chapter 7: Cointegration & VECM

  • Spurious Regression Problem
  • Cointegration Concept
  • Engle-Granger Two-Step Method
  • Johansen Cointegration Test
  • Vector Error Correction Model (VECM)
  • VECM Estimation & Interpretation

Chapter 8: Modern Extensions

  • ARFIMA Models & Long Memory
  • Hurst Exponent & Fractional Differencing
  • Machine Learning for Time Series
  • Random Forest with Lag Features
  • LSTM Networks for Sequential Data
  • Time Series Cross-Validation

Chapter 9: Prophet & TBATS

  • Multiple Seasonality Challenge
  • TBATS: Trigonometric Seasonality
  • Fourier Terms & Box-Cox Transform
  • Prophet: Decomposable Models
  • Trend Changepoints & Holidays
  • Forecasting with Uncertainty

Chapter 10: Review

  • Complete Analysis Workflow
  • Case Study: Bitcoin (ARIMA-GARCH Volatility)
  • Case Study: Sunspots (11-Year Cycle, SARIMA)
  • Case Study: US Unemployment (Structural Breaks)
  • Model Selection Decision Guide
  • Forecast Evaluation Metrics

Chapter 11: LLMs and Foundation Models

  • Transformer Architecture and Self-Attention
  • Foundation Models: Chronos, TimesFM, TimeGPT, Lag-Llama, Moirai
  • Tokenization Strategies: Patching, Quantization
  • Zero-Shot vs Fine-Tuning
  • Use Cases: EUR/RON, Energy, Volatility
  • Benchmarks, Limitations, and Future Directions

Chapter 12: Spectral Analysis

  • Fourier Analysis and the Discrete Fourier Transform
  • Periodogram and Spectral Density Function
  • Spectral Estimation: Multitaper, Welch, Blackman-Tukey
  • Cross-Spectral Analysis: Coherence, Phase, Gain
  • Band-Pass Filters: Baxter-King, Christiano-Fitzgerald, HP
  • Wavelet Analysis and Scalograms

Chapter 13: LPPL Models for Bubble Detection

  • Financial Bubbles and Critical Phenomena
  • Log-Periodic Power Law (LPPL) Model Derivation
  • Crash Hazard Rate and Phase Transitions
  • LPPL Estimation: Slaving and Differential Evolution
  • Lomb–Scargle Confidence Indicator
  • Case Studies: Dot-com, Bitcoin, Shanghai, Oil, COVID

Interactive Quizzes

Please log in with your GitHub account to access the quizzes.

Resources

Recommended Textbooks

Online Resources

Contact Information

Instructor

Prof. dr. Daniel Traian Pele

Department of Statistics and Econometrics

Email

danpele@ase.ro

Office Hours: by appointment via email

Location

Bucharest University of Economic Studies

Faculty of Cybernetics, Statistics and Economic Informatics