Skip to content

🧠 Case Study — Basic Forecasting: Walmart, Amazon, Thế Giới Di Động

Trong buổi học này, chúng ta đã nắm Forecasting fundamentals — time series components, methods (Naïve, SMA, ETS, Holt-Winters), evaluation metrics (MAE, MAPE, RMSE). Bây giờ hãy xem 3 công ty áp dụng forecasting như thế nào — từ Walmart dự báo demand cho 11,000+ stores, Amazon forecast inventory cho next-day delivery, và Thế Giới Di Động forecast khuyến mãi cho 2,000+ cửa hàng.


Case Study 1: Walmart — Demand Forecasting cho 11,000+ Stores

Bối cảnh

Walmart (2025): retailer lớn nhất thế giới — $648B revenue, 11,500+ stores tại 19 quốc gia, 2.1 triệu nhân viên. Mỗi store trung bình bán 120,000+ SKUs. Mỗi ngày, Walmart cần quyết định: nhập bao nhiêu, của mặt hàng nào, vào store nào?

Quy mô forecast problem: 11,500 stores × 120,000 SKUs = 1.38 tỷ forecast points mỗi tuần. Đây là bài toán forecasting lớn nhất thế giới — không ai làm bằng Excel!

Thách thức:

  • Weather sensitivity: Mưa → bán nhiều dù, áo mưa; nắng → bán kem, nước giải khát. Walmart cần forecast weather impact cho từng store, từng ngày
  • Promotion effect: 10,000+ promotions đồng thời — mỗi promotion thay đổi demand pattern
  • Holiday spikes: Thanksgiving, Christmas, Super Bowl — demand tăng 300-500% một số categories
  • Local factors: Store ở Miami ≠ store ở Minneapolis — demographics, income, preferences khác nhau

Hệ thống Forecasting

Phase 1: Traditional Statistical Methods (2000-2015)

Walmart ban đầu dùng Holt-Winters Exponential Smoothing — phương pháp chính cho demand forecasting:

ComponentMethodParameters
Base demandHolt-Winters (additive)α = 0.15, β = 0.02, γ = 0.10
Seasonal adjustmentMultiplicative seasonal factors52 weekly factors
Promotion upliftRegression adjustmentPromotion type × discount depth
Weather adjustmentManual rulesTemperature thresholds per category

Quy trình forecast:

1. Historical data: 3 năm weekly sales per store-SKU
2. Holt-Winters decompose: trend + seasonality
3. Seasonal factors: 52 tuần, tính multiplicative index
4. Promotion calendar: overlay promotion uplift factors
5. Weather: adjust ±5-15% based on forecast temperature
6. Final demand = HW_forecast × seasonal_factor × promo_uplift × weather_adj

Accuracy (Phase 1):

MetricValueContext
Overall MAPE22%Across all store-SKU combinations
Top 1000 SKUs MAPE12%High-volume, stable items
Long-tail SKUs MAPE45%Low-volume, intermittent demand
Promotion periods MAPE35%Demand spikes hard to predict
Holiday weeks MAPE28%Extreme spikes, variable patterns

Vấn đề: MAPE 22% overall ≈ $3.5 billion/năm excess inventory cost. CFO nói: "1% improvement in forecast accuracy = $150M savings."

Phase 2: Enhanced Statistical + External Data (2015-2022)

Walmart thêm external signals vào Holt-Winters baseline:

SignalData SourceImpact
WeatherThe Weather Company (IBM)Temperature, precipitation → ±10-20% demand shift
EventsLocal event calendarsConcerts, sports games → foot traffic
Economic indicatorsBureau of Labor StatisticsUnemployment rate, consumer confidence
Competitor pricingWeb scraping + market dataPrice matching → demand shift
Social mediaTwitter/X trendsViral products → sudden demand spikes

New accuracy targets:

MetricPhase 1Phase 2Improvement
Overall MAPE22%14%-36%
Top 1000 SKUs12%7%-42%
Promotion MAPE35%18%-49%
Holiday MAPE28%15%-46%

Financial impact: MAPE giảm 8 percentage points → $1.2B/năm savings từ giảm excess inventory + giảm stockouts.

Key Forecasting Insight: Walmart's "1-1-1 Rule"

Walmart phát hiện rule of thumb:

  • 1% improvement in forecast accuracy
  • = 1% reduction in safety stock
  • = ~$150M savings per year

"Forecast accuracy không phải academic exercise — mỗi percentage point = hàng trăm triệu dollars," — Greg Smith, VP Supply Chain Analytics.

Lessons Learned

  1. Simple methods work surprisingly well: Holt-Winters cho MAPE 12% trên top SKUs — competitive với complex ML models
  2. External data matters: Weather alone improved forecast accuracy 3-5% cho weather-sensitive categories
  3. Decompose before forecast: Walmart LUÔN decompose trước — hiểu trend vs season vs promotion effect
  4. Forecast granularity matters: Store-level forecast chính xác hơn regional forecast → rồi allocate
  5. Forecast error ≠ symmetric: Over-forecasting (excess inventory) cost khác under-forecasting (stockout) cost → loss function asymmetric

Case Study 2: Amazon — Inventory Forecasting cho Next-Day Delivery

Bối cảnh

Amazon (2025): e-commerce + cloud giant — $638B revenue, 400M+ products, 200+ fulfillment centers (FCs) tại 21 quốc gia. Next-day delivery (và same-day delivery tại nhiều thành phố) là competitive advantage #1 — nhưng yêu cầu inventory đúng product, đúng FC, đúng thời điểm.

Thách thức forecasting:

  • 400M+ products = forecast cho mỗi ASIN (Amazon Standard Identification Number)
  • 200+ FCs = forecast per ASIN per FC (not just total)
  • Lead time varies: Seller ở China = 3 tuần, seller local = 2 ngày → forecast horizon khác nhau
  • Long tail: 80% products bán < 10 units/tuần → intermittent demand, traditional methods fail

Hệ thống Forecasting

Multi-Tier Forecasting System

Amazon không dùng 1 model — dùng ensemble of models cho từng product tier:

TierProductsVolumeMethodMAPE
Tier 1: Fast moversTop 5% ASINs60% revenueHolt-Winters + Deep Learning5-8%
Tier 2: RegularNext 20%25% revenueETS (auto-selected) + Regression12-18%
Tier 3: Slow moversNext 35%10% revenueCroston's method (intermittent)25-35%
Tier 4: Long tailBottom 40%5% revenueSafety stock rules, no forecastN/A

Forecast Process cho Next-Day Delivery

AMAZON FORECASTING PIPELINE
━━━━━━━━━━━━━━━━━━━━━━━━━━

Step 1: DEMAND FORECAST (what will customers buy?)
├── Per ASIN: daily demand forecast, 90-day horizon
├── Method: Holt-Winters (baseline) + event uplift + promo calendar
├── Output: point forecast + prediction intervals (P10, P50, P90)
└── Update frequency: DAILY

Step 2: INVENTORY POSITIONING (where should inventory be?)
├── Model: demand forecast × service level target
├── Constraint: FC capacity, inbound lead time
├── Output: reorder points + reorder quantities per FC
└── Safety stock = f(forecast error, lead time, service level)

Step 3: INBOUND PLANNING (when to order from suppliers?)
├── Lead time: 2 days (local) to 30 days (overseas)
├── Forecast horizon must exceed lead time!
├── Order quantity: EOQ adjusted for forecast + PI
└── Output: PO (Purchase Order) per supplier per week

Step 4: PLACEMENT (which FC gets what?)
├── Customer demand by region → allocate to nearest FCs
├── Transportation cost optimization
├── Output: transfer orders between FCs
└── Goal: 95%+ items within 1-day delivery radius

Forecast Accuracy Impact

ScenarioForecast ErrorBusiness Impact
Perfect forecast0%Optimal inventory, zero waste
Over-forecast 10%+10%$2.8B excess inventory annually; storage costs
Under-forecast 10%-10%15% orders delayed → customer churn → ~$4.5B revenue risk
Amazon actual~8% MAPE (Tier 1)Balance: 98.5% in-stock rate, minimal excess

Key metric: Amazon targets 98.5% in-stock rate cho Tier 1 products — nghĩa là 98.5% thời gian, customer thấy "In Stock" khi search. Đạt mức này cần forecast MAPE < 10%.

Prediction Intervals — Critical cho Amazon

Amazon KHÔNG dùng point forecast cho inventory decisions — dùng quantile forecasts:

QuantileMeaningUsage
P1010% chance demand ≤ valueMinimum order for slow categories
P50Median forecastStandard replenishment
P7575% chance demand ≤ valueFast movers, low stockout tolerance
P9090% chance demand ≤ valueCritical items (Prime, Subscribe & Save)
P9999% chance demand ≤ valueUltra-critical (pandemic essentials)

"We don't forecast demand. We forecast the DISTRIBUTION of demand." — Werner Vogels, CTO Amazon.

Prime Day — Stress Test cho Forecasting

Amazon Prime Day 2025:

  • 48-hour event, deals across all categories
  • Demand tăng 300-1000% tùy category
  • Forecast challenge: lần đầu tiên cho many deals → no historical pattern

Approach:

  1. Baseline demand (Holt-Winters): normal week forecast
  2. Promotion uplift: similar deals last year → regression predict uplift
  3. Category-level adjustment: Electronics +500%, Fashion +300%, Grocery +150%
  4. FC pre-positioning: 3 tuần trước Prime Day → ship inventory to optimal FCs
  5. Dynamic re-forecasting: giữa Prime Day, update forecast mỗi 6 giờ

Result Prime Day 2025:

MetricTargetActual
In-stock rate97%98.2%
Demand forecast MAPE<20%14.5%
Next-day delivery rate85%88%
Excess inventory post-Prime Day<$500M$380M

Lessons Learned

  1. Tiered approach: Không cần 1 method cho tất cả — Holt-Winters cho fast movers, Croston cho slow movers
  2. Quantile forecasts > Point forecasts: Inventory decisions cần distribution, không chỉ mean
  3. Daily re-forecasting: Forecast decay nhanh — daily update giữ accuracy cao
  4. Pre-positioning critical: Forecast đúng nhưng inventory sai chỗ = vẫn late delivery
  5. Under-forecast costlier than over-forecast: Stockout → lost customer > Excess → storage cost

Case Study 3: Thế Giới Di Động — Demand Forecasting cho Khuyến Mãi

Bối cảnh

Thế Giới Di Động (MWG) (2025): chuỗi bán lẻ điện tử + tiêu dùng lớn nhất Việt Nam — revenue ~120,000 tỷ VND, 2,100+ cửa hàng (Thế Giới Di Động + Điện Máy Xanh + Bách Hóa Xanh). 50,000+ SKUs electronics, 15,000+ SKUs grocery.

Thách thức forecasting:

  • Khuyến mãi liên tục: TGDĐ chạy 50+ promotions/tháng — flash sale, bundle deal, seasonal campaign
  • New product launches: iPhone mới, Samsung Galaxy mới — không có historical data
  • Kênh online + offline: Demand shift giữa online và physical store khó predict
  • Regional difference: Demand TP.HCM ≠ Hà Nội ≠ Đà Nẵng

Hệ thống Forecasting

Trước 2023: "Gut Feeling" + Excel

AspectDetail
MethodCategory managers estimate demand dựa kinh nghiệm
ToolExcel spreadsheet, copy paste từ năm trước
AccuracyMAPE 32-45% (categories)
ProblemThừa hàng → giảm giá sâu; Thiếu hàng → mất doanh số
Cost~800 tỷ VND/năm excess inventory write-down

2023-2025: Data-Driven Forecasting System

TGDĐ build forecasting system theo 3 layers:

Layer 1: Baseline Demand (Holt-Winters)

Data: 3 năm weekly sales per store-category
Method: Holt-Winters (multiplicative seasonality)
Granularity: Store × Category × Week
Update: Weekly automated pipeline
Accuracy: MAPE 15% (baseline, no promotion)

Layer 2: Promotion Uplift Model

Historical promotions: 2,000+ past campaigns
Features:
  - Discount depth (10%, 20%, 30%, 50%)
  - Promotion type (flash sale, bundle, trade-in)
  - Duration (1 day, 3 days, 7 days)
  - Channel (online only, offline only, omni)
  - Category
  - Day of week, month

Model: Regression → predicted uplift multiplier
Output: demand_promo = baseline × uplift_multiplier

Layer 3: New Product Launch

No historical data → dùng "similar product" method:
  - iPhone 17 forecast ← benchmark from iPhone 16, 15 launch patterns
  - Samsung Galaxy S27 ← Galaxy S26, S25 patterns
  - Adjustment: market sentiment, pre-order data, Google Trends

Accuracy: MAPE 20-25% (acceptable for new launches)

Case: iPhone 16 Launch — Tháng 9/2024

Thách thức: TGDĐ cần forecast demand cho iPhone 16 series — không có historical data cho exact product. Phải quyết định nhập bao nhiêu unit cho 2,100+ cửa hàng trước launch date 2 tháng.

Forecasting approach:

StepMethodInputOutput
1. BenchmarkiPhone 15 launch dataWeek 1-12 sales pattern iPhone 15Baseline launch curve
2. Adjust for marketGoogle Trends, pre-order signalsSearch volume +22% vs iPhone 15 launchUplift factor: 1.18
3. Price sensitivityiPhone 16 pricing vs iPhone 15iPhone 16 Pro: +$100 vs 15 ProDownward adjustment: 0.92
4. Holt-Winters refitiPhone 15 actual + adjustments12-week forecastPoint forecast per store
5. Prediction intervalBootstrap simulation1000 simulationsP25, P50, P75 per week

Forecast vs Actual — iPhone 16 (tuần 1-8):

WeekForecast (P50)ActualErrorCumulative Error
Week 185,00092,000-7.6%-7.6%
Week 262,00058,000+6.9%-1.2%
Week 345,00043,000+4.7%+0.6%
Week 438,00040,000-5.0%-0.8%
Week 532,00031,000+3.2%+0.1%
Week 628,00027,500+1.8%+0.5%
Week 725,00026,000-3.8%-0.3%
Week 822,00021,500+2.3%+0.1%

Overall MAPE (8 tuần): 4.4% — outstanding cho new product launch!

Key insight: Sai lệch Week 1 là lớn nhất (-7.6%) vì hype effect khó predict. Nhưng cumulative error tự correct — forecast và actual converge từ Week 3. TGDĐ đã nhập theo P75 forecast cho Week 1-2 (để tránh stockout hype phase), rồi switch sang P50 từ Week 3.

Impact tổng thể

MetricBefore (2022)After (2025)Change
Overall forecast MAPE38%14%-63%
Promotion forecast MAPE45%18%-60%
New product launch MAPE55%22%-60%
Excess inventory cost800 tỷ VND320 tỷ VND-60%
Stockout rate12%4.5%-63%
Inventory turnover6.2x8.8x+42%

Saved: ~480 tỷ VND/năm — ROI của forecast system = 50x cost of building it.

Lessons Learned

  1. Promotion là yếu tố khó forecast nhất: Baseline demand MAPE 15%, nhưng có promotion → MAPE 35-45% (old system). Cần riêng 1 layer cho promotion uplift.
  2. New product launch = analog forecasting: Không có historical data → dùng "most similar product" as proxy. Adjust cho market signals.
  3. Granularity trade-off: National forecast accurate nhưng useless cho store ordering. Store-level forecast noisy nhưng actionable. TGDĐ chọn: forecast ở regional × category, rồi allocate xuống store.
  4. Forecast là team sport: DA build model, Category Manager adjust dựa market intel, Store Manager adjust dựa local knowledge. Final forecast = model + expert + local.
  5. Start simple, improve iteratively: TGDĐ bắt đầu bằng Holt-Winters (3 tháng để deploy), rồi thêm promotion layer (6 tháng), rồi new product module (12 tháng). Không cần perfect system ngày 1.

Tổng kết — 3 bài học chung

Bài họcWalmartAmazonTGDĐ
Simple methods = strong baselineHolt-Winters MAPE 12% (top SKUs)ETS cho fast moversHW baseline MAPE 15%
Prediction intervals essentialSafety stock = f(forecast error)P10/P50/P90 quantilesP25/P50/P75 cho inventory
Continuous re-forecastingWeekly updateDaily updateWeekly update
Combine model + domain expertiseWeather + events overlayPrime Day manual adjustmentCategory Manager adjustment
Forecast accuracy = money1% accuracy = $150M saved98.5% in-stock target480 tỷ VND saved/năm