0/70 completed
Core Statistical Model Interactive

Time Series Models

Forecast future values based on temporal patterns. Essential for player performance trends, form analysis, and seasonal adjustments.

๐Ÿ“ˆ Time Series Components

Trend

Long-term direction (improving, declining)

๐Ÿ“ˆ

Seasonality

Regular patterns (home/away, rest days)

๐Ÿ”„

Autocorrelation

Dependence on past values (momentum)

๐Ÿ”—

Noise

Random variation (game-to-game variance)

ใ€ฐ๏ธ

Component Settings

Trend Strength 0.3
-1 1
Seasonal Amplitude 5
0 10
AR(1) Coefficient 0.7
0 0.95
Noise Level 3
1 8

Display Options

Forecast Horizon 10
1 20

๐Ÿ“Š Series Statistics

Mean 26.8
Std Dev 6.66
AR(1) Effect Strong momentum

Player Points Over Season

Blue shaded area shows forecast period. Green dashed = exponential smoothing forecast.

Autocorrelation Function (ACF)

Interpretation: High ACF at lag 1 = momentum (hot/cold streaks). ACF at lag 7 = weekly pattern. AR coefficient of 0.7 shows strong game-to-game dependence.

๐Ÿ“š Common Time Series Models

ARIMA

AutoRegressive Integrated Moving Average. Captures autocorrelation and handles non-stationarity.

ARIMA(p, d, q)
  • p = AR order (past values)
  • d = Differencing order
  • q = MA order (past errors)

Exponential Smoothing

Weight recent observations more heavily. Simple but effective for short-term forecasts.

ลท_t = ฮฑy_t + (1-ฮฑ)ลท_(t-1)
  • ฮฑ = smoothing parameter
  • Higher ฮฑ = more reactive
  • Lower ฮฑ = smoother trend

Prophet / State Space

Modern approaches handling trend changes, holidays, and missing data automatically.

  • โ€ข Facebook Prophet for quick forecasts
  • โ€ข State space for flexible modeling
  • โ€ข Good for irregular schedules

๐Ÿ€ Sports Pricing Applications

Player Form Analysis

  • โ†’ Recent form weighting (last 5 games vs season avg)
  • โ†’ Hot streak detection (high AR coefficient)
  • โ†’ Mean reversion after outlier games

Seasonal Adjustments

  • โ†’ Back-to-back game fatigue patterns
  • โ†’ Home/away regular patterns
  • โ†’ All-Star break effects, playoff intensity

R Code Equivalent

# Time series analysis for player projections
library(forecast)
library(dplyr)

# Player game log as time series
player_ts <- ts(player_games$points, frequency = 7)  # Weekly pattern

# Decompose into components
decomposed <- decompose(player_ts)
plot(decomposed)

# Fit ARIMA model
arima_fit <- auto.arima(player_ts)
summary(arima_fit)

# Forecast next 10 games
forecast_result <- forecast(arima_fit, h = 10)
plot(forecast_result)

# Exponential smoothing alternative
ets_fit <- ets(player_ts)
ets_forecast <- forecast(ets_fit, h = 10)

# Check ACF for momentum
acf(player_ts, main = "ACF - Player Points")

โœ… Key Takeaways

  • โ€ข Decompose series: trend + seasonal + residual
  • โ€ข High AR(1) = momentum (recent games matter more)
  • โ€ข ARIMA for formal modeling, ETS for quick forecasts
  • โ€ข Recent form โ‰  true ability (regression to mean)
  • โ€ข Account for schedule effects (rest, travel)
  • โ€ข Cross-validate on out-of-sample games

Pricing Models & Frameworks Tutorial

Built for mastery ยท Interactive learning