Tag: R
-
I Gave an AI Agent the Reorder Button: It Rebuilt the Bullwhip in 250 Days
An AI agent with the reorder button hit ~100% fill rate and looked like a star. Then I measured what it dumped on its suppliers.
-
Why VAR Beat Google’s TimesFM — and How to Build One in R
A peer-reviewed 2025 study put Google’s TimesFM foundation model head-to-head with vector autoregression on real hospital data. Spoiler: the 1980s econometric model won. Here’s what VAR is, why it works for supply chain, and how to build one in R.
-
Global Forecasting with XGBoost in R: A Walmart Weekly Walkthrough
A hands-on walkthrough of global XGBoost forecasting in R with tidymodels and modeltime, applied to the Walmart weekly sales dataset. What the feature importance reveals, when ML earns its complexity, and when ETS or SNAIVE quietly wins.
-
I Ran 6 Models on Real Demand Data — Here’s How I Picked the Winner
Six forecasting models, one real demand series, one honest horse race. Here’s the model that won — and the metric that made the choice unambiguous.
-
Is Your Forecast Any Good? The Forecaster’s Toolbox
Four acronyms decide whether you trust a forecast: MAE, MAPE, RMSE, MASE. Here is when each one lies to you — and the one benchmark that catches them all.
-
Three Equations From the Navy in 1957: Why Holt-Winters Still Runs Your Forecast Engine
Holt-Winters wasn’t born in a statistics lecture — it was written for the U.S. Navy in 1957 to solve an inventory problem. Nearly seven decades later, three recursive equations still beat most of the software sitting on top of your ERP.
-
Taking the Engine Apart: Time Series Decomposition for Supply Chain Forecasters
Every time series is a cocktail of trend, seasonality, and noise. Decomposition is how you separate the ingredients — and once you can see each one, choosing the right forecast model stops being a guessing game.
-
Your Line Chart Is Hiding 8 Patterns: How to Find Them with fpp3
Four datasets. Identical statistics. Completely different shapes. If you’re not plotting your demand data before forecasting it, you’re flying blind — and fpp3 gives you the visual toolkit to see what your spreadsheet hides.
