Time Series Analysis Using R Training Course

Duration 10 days 18 modules · 65 contact hours
Level Intermediate Certificate on completion
Who attends Data Analyst, Business Intelligence Analyst and others
Fee from USD 2,200 KSh 190,000 for Kenyan organisations
Where 52 cities + online See dates by city
Next start 16 Nov 2026 Course code SD-DS-070

Before you join: Participants should be comfortable working with tabular datasets and interpreting basic descriptive statistics such as averages, variation and charts.

Dates & prices

Two start dates a month in every city, and live online on weekdays or weekends. Fees are per participant; classroom fees include tuition, materials, lunch and refreshments, and the certificate.

Suggest a date or city

Showing the next six months. Later dates, other cities and private deliveries for your team are available on request.

Course overview

Organisations use time series to plan cash requirements, anticipate customer demand, schedule staff, manage inventory, monitor service volumes and detect changes in operational performance. Yet many forecasts are built from spreadsheets, single averages or untested assumptions. Analysts need a disciplined way to prepare indexed data, identify seasonal and trend patterns, select suitable models, test forecast accuracy and explain results to decision-makers.

This course teaches participants to analyse and forecast time-dependent data using R and RStudio. Participants work with tsibble data structures, tidy data preparation, exploratory time plots, decomposition, autocorrelation analysis, exponential smoothing, ARIMA, seasonal ARIMA, regression with time-series errors and forecast reconciliation. The course also covers intervention analysis, outlier treatment, missing observations, rolling-origin evaluation, prediction intervals and model monitoring. Participants learn when a simple benchmark is preferable to a complex model and how to defend model choices with accuracy evidence.

Teaching combines short technical briefings with guided R coding, realistic datasets, group interpretation sessions and structured model reviews. Cases can be adapted for banking transaction volumes, public-service demand, retail sales, energy consumption, manufacturing output or NGO programme indicators. Participants build a reproducible forecasting workflow during the course and leave with an R-based analysis containing cleaned data, diagnostic plots, candidate models, accuracy comparisons, forecast outputs and a management-ready interpretation.

The course is suited to analysts, economists, planners, data scientists and technical specialists who already work with business or operational data and need reliable forecasts rather than one-off descriptive reports. It is particularly useful where data has recurring seasonality, calendar effects, changing demand patterns or decisions that depend on forecast ranges.

What you will be able to do

  • Prepare indexed time-series datasets in R using tsibble and tidyverse workflows
  • Diagnose trend, seasonality, autocorrelation, outliers and structural breaks from time plots
  • Construct benchmark, exponential smoothing, ARIMA and seasonal ARIMA forecasting models
  • Select forecasting models using residual diagnostics, information criteria and rolling-origin accuracy tests
  • Build dynamic regression models with external predictors and time-series error structures
  • Generate point forecasts and prediction intervals for operational and financial planning decisions
  • Reconcile forecasts across hierarchical and grouped time-series structures
  • Present a reproducible R forecasting analysis with model rationale and management recommendations

Benefits of attending

For you

  • Produce defensible forecasts instead of relying on spreadsheet trend extrapolation
  • Diagnose seasonal, calendar and structural effects in business data
  • Compare competing forecasting models using measurable accuracy evidence
  • Write reusable R scripts for recurring forecasting and reporting cycles
  • Explain forecast uncertainty clearly to managers and non-technical stakeholders

For your organisation

  • Improves demand, volume and financial planning through tested forecast methods
  • Reduces manual forecasting effort with reproducible R workflows
  • Makes forecast assumptions, model choices and accuracy results auditable
  • Identifies forecast risk through prediction intervals and residual monitoring
  • Creates a consistent method for forecasting across teams and business units

Course modules

18 modules over 10 days

Participants can establish a reproducible R workflow for indexed time-series analysis.

  • RStudio projects, scripts, packages, and reproducible directory structures
  • Importing CSV, Excel, and database extracts with readr and readxl
  • Date-time parsing with lubridate, time zones, and calendar conventions
  • tsibble index validation, key variables, and interval regularity checks
  • Plotting raw series with ggplot2 line charts and faceted views
  • Writing parameterised Quarto reports for repeatable analytical outputs

Participants can prepare clean, consistently indexed data for forecasting models.

  • Identifying duplicate timestamps, missing periods, and conflicting source records
  • Treating missing observations through interpolation, imputation, and documented assumptions
  • Aggregating transaction data into daily, weekly, monthly, and quarterly series
  • Creating calendar variables for weekdays, holidays, month-end, and trading days
  • Detecting extreme values using time plots, boxplots, and residual screening
  • Documenting source lineage, transformations, and forecast-ready data definitions

Participants can identify the main temporal features that determine model choice.

  • Distinguishing level, trend, seasonality, cycles, and irregular variation
  • Seasonal subseries plots reveal within-year patterns and changing seasonal strength
  • Lag plots expose serial dependence and nonlinear temporal relationships
  • Heatmaps display demand concentration by weekday, week, or month
  • Comparing related series through indexed values and aligned time plots
  • Framing forecast questions with horizon, frequency, decision, and error costs

Participants can decompose time series and interpret trend and seasonal components.

  • Classical additive and multiplicative decomposition for stable seasonal patterns
  • STL decomposition using LOESS smoothing and adjustable seasonal windows
  • Interpreting seasonally adjusted series for policy and management reporting
  • Seasonal strength measures guide model specification and data transformation
  • Comparing additive versus multiplicative seasonality through residual behaviour
  • Extracting trend and seasonal components from fable decomposition models

Participants can create benchmark forecasts and evaluate forecast error appropriately.

  • Mean, naïve, seasonal naïve, and drift forecasting benchmarks
  • Training, test, and validation periods chosen without future-data leakage
  • MAE, RMSE, MAPE, MASE, and RMSSE accuracy measures
  • Selecting accuracy metrics according to scale, zeros, and decision costs
  • Residual forecast errors compared across horizons and seasonal periods
  • Benchmark results establish minimum performance standards for candidate models

Participants can use autocorrelation evidence to assess series dependence and stationarity.

  • Autocorrelation function plots identify persistence at successive time lags
  • Partial autocorrelation supports autoregressive order identification
  • White-noise residuals and their implications for forecast adequacy
  • Stationarity assessed through level behaviour, differencing, and unit-root tests
  • Applying first differences and seasonal differences to nonstationary series
  • Interpreting ADF and KPSS tests alongside graphical diagnostic evidence

Participants can fit and interpret exponential smoothing models for different demand patterns.

  • Simple exponential smoothing for level-only short-horizon forecasting
  • Holt linear trend method with damped trend alternatives
  • Holt-Winters additive seasonality for stable seasonal variation
  • Multiplicative error, trend, and seasonality ETS model components
  • Automatic ETS selection using information criteria and residual diagnostics
  • Comparing ETS forecasts against seasonal naïve benchmark performance

Participants can specify and fit non-seasonal ARIMA models in R.

  • AR, MA, and ARMA processes represented through lag operators
  • ARIMA p, d, q notation and differencing requirements
  • Reading ACF and PACF patterns for tentative order selection
  • Fitting ARIMA models with fable and forecast package functions
  • AICc and BIC comparisons across plausible model specifications
  • Interpreting autoregressive and moving-average coefficients without overclaiming causality

Participants can build seasonal ARIMA models for recurring calendar patterns.

  • Seasonal ARIMA P, D, Q notation at defined seasonal frequencies
  • Seasonal differencing removes repeating annual, monthly, or weekly patterns
  • Seasonal ACF spikes identify candidate moving-average seasonal terms
  • Fitting SARIMA models for monthly sales and weekly service volumes
  • Checking overdifferencing through ACF behaviour and forecast instability
  • Comparing seasonal ARIMA models with ETS and seasonal naïve forecasts

Participants can assess forecast models using residual tests and selection evidence.

  • Residual time plots reveal unmodelled patterns, breaks, and variance changes
  • Ljung-Box tests assess remaining autocorrelation in forecast residuals
  • Histogram and Q-Q plots assess distributional assumptions for intervals
  • Checking residual mean, variance, independence, and extreme observations
  • Selecting parsimonious models that meet accuracy and diagnostic requirements
  • Recording model decisions in a transparent forecast selection log

Participants can communicate forecast uncertainty and develop planning scenarios.

  • Point forecasts, prediction intervals, and confidence intervals distinguished
  • Producing 80 percent and 95 percent forecast intervals
  • Interval width interpreted against planning tolerances and service targets
  • Scenario forecasts based on alternative assumptions about future drivers
  • Fan charts communicate uncertainty across multiple forecast horizons
  • Escalation thresholds defined when realised values breach forecast intervals

Participants can model external predictors while accounting for time-series errors.

  • Dynamic regression combines explanatory variables with autocorrelated error processes
  • Creating lagged predictors for promotions, prices, weather, and policy changes
  • Distributed lag models capture delayed effects of external drivers
  • Testing predictor availability at the required forecast horizon
  • Regression with ARIMA errors fitted using ARIMAX specifications
  • Separating explanatory relationships from operational forecasting requirements

Participants can account for exceptional events and changes in time-series behaviour.

  • Pulse interventions represent one-off disruptions, closures, and system failures
  • Step interventions model permanent policy, tariff, or process changes
  • Ramp functions capture gradual implementation and phased demand shifts
  • Change-point analysis identifies structural breaks in level or trend
  • Outlier treatment preserves auditability and avoids deleting material events
  • Post-intervention forecasts distinguish temporary shocks from persistent changes

Participants can address forecasting problems with more than one seasonal pattern.

  • Daily data with weekly and annual seasonal patterns
  • Hourly demand series with intraday, weekly, and holiday effects
  • Fourier terms represent long seasonal cycles within regression models
  • STL-based forecasting handles complex recurring seasonal structures
  • Aggregation choices balance forecast usefulness against high-frequency noise
  • Comparing daily operational forecasts with monthly planning forecast requirements

Participants can produce coherent forecasts across organisational reporting hierarchies.

  • Hierarchical series structures for products, regions, branches, and channels
  • Bottom-up forecasting aggregates detailed forecasts into organisational totals
  • Top-down allocation distributes aggregate forecasts using historical proportions
  • MinT reconciliation produces coherent forecasts across all hierarchy levels
  • Grouped time series manage overlapping product and geographic classifications
  • Reconciling forecasts supports consistent budget and operational planning reports

Participants can establish ongoing forecast validation and model monitoring procedures.

  • Rolling-origin cross-validation simulates repeated real forecast decisions
  • Expanding and sliding windows test model stability over time
  • Forecast bias monitored through mean error and tracking signals
  • Accuracy dashboards compare models, horizons, segments, and forecast vintages
  • Refit schedules account for new data and changing seasonal behaviour
  • Model retirement criteria address persistent degradation and structural change

Participants can package forecasting results into usable reports for decision-makers.

  • Quarto reporting combines code, plots, assumptions, and forecast tables
  • Forecast narratives distinguish observed facts, model outputs, and judgement
  • Decision tables translate forecast ranges into staffing and inventory actions
  • Version control principles support reviewable forecasting scripts and assumptions
  • Model cards record data scope, limitations, accuracy, and ownership
  • Presenting forecast uncertainty without misleading precision or technical jargon

Participants can build, review and present a complete R-based forecasting analysis for a defined business problem.

  • Define a decision-focused forecast question, horizon, metric, and stakeholder
  • Prepare indexed data and document transformations, exclusions, and assumptions
  • Diagnose temporal patterns using plots, decomposition, and autocorrelation evidence
  • Fit benchmark, ETS, ARIMA, and regression-based candidate forecasting models
  • Select a model through diagnostics, rolling-origin accuracy, and practical constraints
  • Generate forecast intervals, scenarios, management visuals, and recommended actions
  • Review peer analyses against a structured forecasting quality checklist

Exercises and examples are adapted to each cohort's sectors and roles.

What you take back to work

  1. R time-series project template
  2. Forecast data preparation checklist
  3. Model selection and diagnostics log
  4. Rolling-origin validation script
  5. Forecast uncertainty communication template
  6. Capstone forecasting analysis report

Who should attend

  • Data Analyst — needs defensible forecasts from operational and business data
  • Business Intelligence Analyst — converts reporting series into forward-looking planning evidence
  • Financial Analyst — forecasts revenues, cash flows, transaction volumes and expenditure patterns
  • Demand Planner — improves demand, inventory and capacity forecasts using tested models
  • Economist or Statistician — applies modern R forecasting workflows to indexed data
  • Data Scientist — adds interpretable statistical forecasting methods to predictive modelling work

Skills and tools covered

Time-series preparationForecast model selectionARIMA modellingForecast accuracy testingPrediction interval analysisR reporting

Tools and standards

R, RStudio, tidyverse, fable

How the course runs

Training methodology

The course uses short instructor briefings followed by guided R implementation, case analysis and peer model reviews. Participants inspect real time-series patterns, prepare datasets, fit competing models and interpret diagnostics before selecting a forecasting approach. Group work focuses on explaining forecast results to operational and financial stakeholders rather than reporting model output alone. Simulated planning scenarios test how forecast intervals affect staffing, inventory, budget or service-capacity decisions. Each participant develops an application plan using a dataset and forecasting problem relevant to their role.

Requirements and prerequisites

Participants should be comfortable working with tabular datasets and interpreting basic descriptive statistics such as averages, variation and charts. Prior experience writing simple R scripts, importing data and using data frames is expected. Familiarity with regression is useful, particularly the ideas of predictors, residuals and model fit. Participants do not need prior experience with time-series models, ARIMA notation, advanced calculus or machine learning. The course explains the statistical reasoning needed for forecasting before applying it in R.

A typical training day

08:30 – 10:30First session
10:30 – 10:45Refreshment break
10:45 – 12:30Second session
12:30 – 13:30Lunch and networking
13:30 – 15:00Third session
15:00 – 15:15Refreshment break
15:15 – 16:30Workshop and daily review

Live online deliveries follow the same structure in East Africa Time, with shorter screen blocks and longer breaks.

What the fee includes

  • Instruction by a practitioner facilitator
  • Full course workbook and materials
  • Exercise files, templates and case studies
  • Refreshments and lunch on classroom deliveries
  • Certificate of completion
  • Post-course application plan

Frequently asked questions

Participants should be able to work with datasets in R and understand basic descriptive statistics. Previous time-series, ARIMA or advanced mathematics experience is not required.

Bring a laptop capable of running R and RStudio, plus any approved datasets you may wish to consider for your application plan. Installation guidance can be provided before the course.

It is designed for analysts, planners, economists, financial analysts and data professionals who need to forecast recurring business or operational measures. It is not aimed at participants with no experience of R or structured data analysis.

This course focuses on statistical time-series methods that are interpretable, testable and practical for recurring planning decisions. It covers benchmarks, ETS, ARIMA, dynamic regression, forecast intervals and hierarchical reconciliation rather than neural networks or general supervised learning.

Participants can adapt the R workflow to sales, cash receipts, call volumes, transactions, inventory demand, staffing requirements or programme indicators. The templates support repeatable monthly, weekly or daily forecasting cycles.

The first week establishes data preparation, exploratory analysis, benchmarks, ETS and ARIMA modelling. The second week covers regression drivers, interventions, multiple seasonalities, reconciliation, monitoring, reporting and the final capstone analysis.

Questions about this course?

Ask about dates, fees, group bookings or running it for your team. Our training team replies by email.