«Какой метод лучший?» — самый частый вопрос новичка. Честный ответ: лучшего нет, есть подходящий к вашим данным. В этом уроке — карта из пяти простых вопросов. Отвечаете кнопками и получаете метод, формулу в Excel и предупреждение, где он может подвести.
"Which method is best?" is the most common beginner question. The honest answer: there is no best one, only the one that fits your data. This lesson gives you a map of five simple questions. Answer with buttons and get a method, an Excel formula and a warning about where it can let you down.
Метод прогноза — как обувь. Кроссовки отличные, но не для свадьбы и не для гор. Так и с методами: Holt–Winters прекрасен для лимонада с летним пиком и бесполезен для новинки, которая продаётся второй месяц. Поэтому сначала смотрим на данные, а потом выбираем метод.
A forecasting method is like shoes. Trainers are great, but not for a wedding or the mountains. Same with methods: Holt–Winters is excellent for lemonade with a summer peak and useless for a product in its second month. So we look at the data first, then pick the method.
Чтобы увидеть сезон, нужно хотя бы два полных года.
To see a season you need at least two full years.
Если продажи бывают не каждый месяц, обычные методы ошибаются.
If sales do not happen every month, ordinary methods go wrong.
От этого зависит, какую ступеньку лестницы методов брать.
This decides which step of the method ladder to take.
Акции, цены, погода — их методы рядов не видят, их добавляют отдельно.
Promos, prices, weather — time-series methods cannot see them; they are added separately.
Подумайте о любом своём товаре — или возьмите лимонад из прошлого урока — и нажимайте ответы.
Think of any product of yours — or take the lemonade from the previous lesson — and click the answers.
Шесть товаров «Долины напитков», по 24 месяца продаж (у новинки — сколько есть). Посмотрите на картинку и выберите, с чего начать.
Six "Valley Beverages" products, 24 months of sales each (the new one has what it has). Look at the picture and pick where to start.
MA — базовый вариант без сезона.
ES — быстрее реагирует на перемены.
ETS / Holt–Winters — лучшая стартовая точка, если есть сезон.
MA — the basic option without season.
ES — reacts faster to change.
ETS / Holt–Winters — the best starting point when there is a season.
Внешние факторы: цены, акции, погода, праздники.
Отдельная регрессия на эти факторы.
Машинное обучение поверх базовой линии.
External drivers: prices, promos, weather, holidays.
A separate regression on those drivers.
Machine learning on top of the baseline.
Учёные по прогнозированию много лет проводят открытые соревнования: всем участникам дают одни и те же ряды и сравнивают ошибки. Самое известное — серия M (по фамилии организатора, профессора Спироса Макридакиса).
Forecasting researchers have run open competitions for years: every participant gets the same series and errors are compared. The best known is the M series (after the organiser, Professor Spyros Makridakis).
А «чистое» машинное обучение, которое училось на каждом ряде отдельно, в M4 проиграло простым статистическим методам. Вывод для новичка: начинайте с простого, а сложное берите, только если оно на ваших данных честно лучше.
Meanwhile "pure" machine learning trained on each series separately lost to simple statistical methods in M4. Takeaway for a beginner: start simple, and take the complex option only if it is honestly better on your data.
Источники: Makridakis, Spiliotis, Assimakopoulos, «The M4 Competition: 100,000 time series and 61 forecasting methods», International Journal of Forecasting, 2020; обзор «Forecasting: theory and practice», International Journal of Forecasting, 2022 (arXiv:2012.03854). Цифры округлены.
Sources: Makridakis, Spiliotis, Assimakopoulos, "The M4 Competition: 100,000 time series and 61 forecasting methods", International Journal of Forecasting, 2020; review "Forecasting: theory and practice", International Journal of Forecasting, 2022 (arXiv:2012.03854). Figures are rounded.
Три случая из работы планера в компании-производителе напитков. Названия изменены.
Three cases from a planner's work at a beverage manufacturer. Names are changed.
Берите «как год назад» — это нормальный результат, а не провал. Карта даёт стартовый метод, а решает проверка на ваших данных. Заодно посмотрите историю: часто сложный метод проигрывает из-за неочищенных акций или дефицита.
Take "same as last year" — that is a normal result, not a failure. The map gives a starting method; the test on your data decides. Also look at the history: a complex method often loses because of uncleaned promos or stock-outs.
Считает Excel или система планирования. ИИ-помощник вроде Claude или ChatGPT может написать формулу или код. А планер отвечает на вопросы карты, чистит историю, сравнивает с «как год назад», смотрит прогноз на графике и отвечает за цифру. Программа подбирает настройки метода по данным сама, но на чём учиться, как проверять и что делать с результатом — решает человек.
Excel or the planning system calculates. An AI assistant such as Claude or ChatGPT can write the formula or code. The planner answers the map's questions, cleans the history, compares with "same as last year", looks at the forecast on a chart and owns the number. The software fits the method's settings from the data by itself, but what to learn from, how to test and what to do with the result is decided by a person.
Нет. Скользящее среднее, сглаживание и Holt–Winters считаются в Excel: последний — одной функцией ПРЕДСКАЗ.ETS (FORECAST.ETS). Python понадобится, когда товаров сотни и методов несколько.
No. The moving average, smoothing and Holt–Winters run in Excel: the last one with a single function, FORECAST.ETS. You will need Python when products number in the hundreds and you compare several methods.
Для старта — да, если он обыгрывает «как год назад» на крупных товарах. Но новинкам, редким позициям и сезонным хитам почти всегда нужны свои методы — пройдите карту хотя бы для каждой группы товаров.
For a start, yes, if it beats "same as last year" on the big products. But launches, rare items and seasonal hits almost always need their own methods — run the map at least once per product group.
Карта подсказывает, с чего начать. В полном курсе вы пройдёте каждую её ветку руками — в Excel и на учебной «Долине напитков» с настоящими ловушками:
The map tells you where to start. In the full course you will walk every branch by hand — in Excel and on the "Valley Beverages" training set with real traps: