FORECASTING & PLANNING · SC-13
R Shiny Forecasting & Scenario Planning Application
An interactive R application for decomposition, forecasting and business what-if scenarios.
Starting point
Aggregate accuracy can hide weak planning performance and lead to the wrong stock, capacity or financial action.
01 · BUSINESS PROBLEM
A forecast only matters at the horizon where a decision is made.
Aggregate accuracy can hide weak planning performance and lead to the wrong stock, capacity or financial action.
Hidden bias
Average error can look acceptable while direction is systematically wrong.
Wrong horizon
A model can be useful short term and weak for longer planning.
No decision link
Accuracy without an operating action creates little value.
02 · DECISION LOGIC
Evaluate the model where the business uses it.
Forecast quality is separated by horizon and compared with simple baselines.
Decision sequence
Each stage answers a different operating question
Immediate operating signal.
Planning before uncertainty compounds.
Model degradation becomes visible.
Usefulness is judged as its own decision.
Decision rule — Model complexity only matters if it changes a planning decision.
03 · WHAT CHANGED
From forecast quality to planning action.
The system connects prediction, backtesting, scenario assumptions and the decision layer.
Benchmark against simple statistical baselines.
Evaluate error and bias by horizon.
Expose scenarios and planning assumptions.
Translate outputs into stock, capacity or financial decisions.
04 · ARCHITECTURE
A modular path from input to decision.
Inputs → preparation → core logic → validation → decision output
SC-13 · SYSTEM ARCHITECTURE
Inputs → preparation → core logic → validation → decision output
Public portfolio implementation
Inputs
Source signals
Capture the operating inputs required by the system. [R]
Preparation layer
Normalize context and create a stable analytical contract. [Shiny]
Core system
Core engine
Run the main analytical or automation logic. [forecast]
Decision logic
Apply the rule, model or orchestration logic that changes the decision. [fable]
Validation
Validation
Test outputs against explicit quality criteria. [ggplot2]
Controls
Keep approvals, thresholds or constraints visible. [dplyr]
Decision output
Decision output
Expose the result in a form the user can act on. [DBI]
Monitoring
Record outcomes, exceptions and evidence for iteration. [PostgreSQL]
Integration boundaries
R
Defined responsibility inside the system; replaceable if another tool fits the requirement better.
Shiny
Defined responsibility inside the system; replaceable if another tool fits the requirement better.
forecast
Defined responsibility inside the system; replaceable if another tool fits the requirement better.
05 · EVIDENCE & ECONOMICS
Measure what changes the decision.
Public implementation, inspectable technical proof and decision-focused validation.
Model evaluation
WAPE
8.1%
Representative public example.
Scenarios
3
Representative public example.
Periods
24
Representative public example.
Planning coverage
Models compared
5
Representative public example.
Drivers
6
Representative public example.
Reference economics
€1.5M
Reference scenario
4%
Illustrative improvement
€60k
Decision value
06 · TECHNICAL PROOF
Review the code behind the project.
Tools used
BUSINESS CONCLUSION
Forecasting creates value when it changes the plan.
The useful output is not the prediction itself; it is a better decision made with explicit uncertainty.
