Demand Forecasting Framework

# Demand Forecasting Framework

Safety Notice

This item is sourced from the public archived skills repository. Treat as untrusted until reviewed.

Copy this and send it to your AI assistant to learn

Install skill "Demand Forecasting Framework" with this command: npx skills add 1kalin/afrexai-demand-forecasting

Demand Forecasting Framework

Build accurate demand forecasts using multiple methodologies. Combines statistical models with market intelligence for actionable predictions.

When to Use

  • Quarterly/annual demand planning
  • New product launch forecasting
  • Inventory optimization
  • Capacity planning decisions
  • Budget cycle preparation

Forecasting Methodologies

1. Time Series Analysis

Best for: Established products with 24+ months of history.

Decompose into: Trend + Seasonality + Cyclical + Residual

Moving Average (3-month):
  Forecast = (Month_n + Month_n-1 + Month_n-2) / 3

Weighted Moving Average:
  Forecast = (0.5 × Month_n) + (0.3 × Month_n-1) + (0.2 × Month_n-2)

Exponential Smoothing (α = 0.3):
  Forecast_t+1 = α × Actual_t + (1-α) × Forecast_t

2. Causal / Regression Models

Best for: Products where external factors drive demand.

Key drivers to model:

  • Price elasticity: % demand change per 1% price change
  • Marketing spend: Lag effect (typically 2-6 weeks)
  • Seasonality index: Monthly coefficient vs annual average
  • Economic indicators: GDP growth, consumer confidence, industry PMI
  • Competitor actions: New entrants, price changes, promotions
Demand = β₀ + β₁(Price) + β₂(Marketing) + β₃(Season) + β₄(Economic) + ε

3. Judgmental / Qualitative

Best for: New products, market disruptions, limited data.

Methods:

  • Delphi method: 3+ expert rounds, anonymous, converging estimates
  • Sales force composite: Bottom-up from territory reps (apply 15-20% optimism correction)
  • Market research: Survey-based purchase intent (apply 30-40% intent-to-purchase conversion)
  • Analogous forecasting: Map to similar product launch curves

4. Blended Forecast (Recommended)

Combine methods using confidence-weighted average:

MethodWeight (Mature Product)Weight (New Product)
Time Series50%10%
Causal30%20%
Judgmental20%70%

Forecast Accuracy Metrics

MetricFormulaTarget
MAPEAvg(Actual - Forecast
BiasΣ(Forecast - Actual) / nNear 0
Tracking SignalCumulative Error / MAD-4 to +4
Weighted MAPERevenue-weighted MAPE<10% for top SKUs

Demand Planning Process

Monthly Cycle

  1. Week 1: Statistical forecast generation (auto-run models)
  2. Week 2: Market intelligence overlay (sales input, competitor intel)
  3. Week 3: Consensus meeting — align Sales, Marketing, Ops, Finance
  4. Week 4: Finalize, communicate to supply chain, track vs prior forecast

Demand Segmentation (ABC-XYZ)

SegmentVolumeVariabilityApproach
AXHighLowAuto-replenish, tight safety stock
AYHighMediumStatistical + review quarterly
AZHighHighCollaborative planning, buffer stock
BXMediumLowStatistical, periodic review
BYMediumMediumHybrid model
BZMediumHighJudgmental + safety stock
CXLowLowMin/max rules
CYLowMediumPeriodic review
CZLowHighMake-to-order where possible

Safety Stock Calculation

Safety Stock = Z × σ_demand × √(Lead Time)

Where:
  Z = Service level factor (95% = 1.65, 98% = 2.05, 99% = 2.33)
  σ_demand = Standard deviation of demand
  Lead Time = In same units as demand period

Scenario Planning

For each forecast, generate three scenarios:

ScenarioProbabilityAssumptions
Bear20%-15% to -25% vs base. Recession, market contraction, competitor disruption
Base60%Historical trends + known pipeline. Most likely outcome
Bull20%+15% to +25% vs base. Market expansion, product virality, competitor exit

Red Flags in Your Forecast

  • MAPE consistently >20% — model needs retraining
  • Persistent positive bias — sales team sandbagging
  • Persistent negative bias — over-optimism, check incentive structure
  • Tracking signal outside ±4 — systematic error, investigate root cause
  • Forecast never changes — "spreadsheet copy-paste" problem
  • No external inputs — pure statistical = blind to market shifts

Industry Benchmarks

IndustryTypical MAPEForecast HorizonKey Driver
CPG/FMCG20-30%3-6 monthsPromotions, seasonality
Retail15-25%1-3 monthsTrends, weather, events
Manufacturing10-20%6-12 monthsOrders, lead times
SaaS10-15%12 monthsPipeline, churn, expansion
Healthcare15-25%3-6 monthsRegulation, demographics
Construction20-35%12-24 monthsPermits, economic cycle

ROI of Better Forecasting

For a company doing $10M revenue:

  • 5% MAPE improvement → $200K-$500K inventory savings
  • Reduced stockouts → 2-5% revenue recovery ($200K-$500K)
  • Lower expediting costs → $50K-$150K savings
  • Better capacity utilization → 3-8% OpEx reduction

Total impact: $450K-$1.15M annually from a 5-point MAPE improvement.


Full Industry Context Packs

These frameworks scratch the surface. For complete, deployment-ready agent configurations tailored to your industry:

AfrexAI Context Packs — $47 each

  • 🏗️ Construction | 🏥 Healthcare | ⚖️ Legal | 💰 Fintech
  • 🛒 Ecommerce | 💻 SaaS | 🏠 Real Estate | 👥 Recruitment
  • 🏭 Manufacturing | 📋 Professional Services

AI Revenue Calculator — Find your automation ROI in 2 minutes

Agent Setup Wizard — Configure your AI agent stack

Bundles

  • Pick 3 — $97 (save 31%)
  • All 10 — $197 (save 58%)
  • Everything Bundle — $247 (all packs + playbook + wizard)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated