📊 Overview
An AI forecast can look precise while missing the effects of stockouts, promotions, price changes, or seasonality in your Amazon sales history. Before using one to set a purchase order or inventory plan, test how its predictions would have performed on data it did not see and compare them with a simple baseline. This guide shows you how to prepare the comparison, read the errors, and decide what the forecast can safely support.
🎯 Define What the Forecast Must Predict
A forecast is only testable when its target and time period are clear. “Forecast sales” could mean units ordered, gross sales, or expected demand. Those measures answer different questions, so choose the one that matches the decision you need to make.
Match the target to the decision
If you are planning replenishment, forecast units for each SKU or ASIN over the time it takes to receive and make inventory sellable. If you are planning cash needs, revenue may matter more, but revenue can change when price, discounts, or product mix change even if unit demand does not.
For an Amazon sales-history starting point, export the relevant product and date data from Business Reports. Keep the unit and sales measures separate. If you also use your own records for refunds, advertising, or inventory, document how those figures are defined before combining them.
Choose the forecast horizon
Set the period you need to plan for before testing. A forecast used for a short replenishment cycle should not be judged as though it were meant to predict a much longer period. Keep the time unit consistent throughout the test: for example, compare daily predictions with daily actuals or weekly predictions with weekly actuals.
Decide whether you want to forecast observed sales or underlying demand. Sales history can understate demand when an item was unavailable, suppressed, or otherwise not purchasable. Mark those periods rather than treating every low-sales period as evidence that shoppers wanted fewer units.
🧪 Backtest the Forecast Without Giving It the Answers
Backtesting means recreating a forecast using only information that would have been available at the time, then comparing the prediction with what happened afterward. It is a practical check on whether the method could have helped with a real decision.
1. Prepare a clean time series
Put each product’s sales history in chronological order, with one row per chosen time period. Check for missing dates, duplicate rows, changed SKU or ASIN mappings, and inconsistent units. Keep a note of periods affected by stockouts, promotions, price changes, listing problems, or unusual events.
Do not silently fill missing sales with zero. A missing record and a period with no sales mean different things. Resolve the gap from a reliable source or mark it as missing so it does not distort the test.
2. Set aside historical test periods
Choose past forecast start dates and hide the actual results that followed each start date. For each start date, give the forecasting method only the history available up to that point. Ask it to predict the same horizon you plan to use in your business.
Repeat this across different parts of your history, including periods with different demand patterns when you have them. This rolling test helps reveal whether the forecast works only in one stretch of data. Do not use future actuals, later promotions, or later stock information as inputs for an earlier prediction.
3. Compare against a simple baseline
A complicated forecast is not useful just because it produces more detail. Compare it with a straightforward method, such as carrying forward the recent average or using the corresponding prior seasonal period when that comparison is relevant and available.
Apply the same test dates and forecast horizon to both methods. If the AI forecast does not improve on a simple baseline across the periods that matter to your decision, do not treat its extra precision as evidence of better performance.
4. Record predictions before revealing actuals
Save each forecast with its start date, target period, product, assumptions, and method. Then join those saved predictions to actual results. This prevents you from adjusting the forecast after seeing what happened and accidentally making the test look better than it was.
📐 Read Forecast Errors in Context
No single score tells you whether a forecast is safe to use. Review the size of the errors, whether the method tends to overpredict or underpredict, and where those errors occur.
Use error measures that answer different questions
- Mean absolute error (MAE) is the average absolute difference between predicted and actual units. It is easy to interpret in units, but larger-volume products can dominate a combined score.
- Weighted absolute percentage error (WAPE) divides the total absolute error by total actual units. It gives a relative view across products, but becomes unhelpful when total actual units are zero or very small. Do not calculate it across a period with no actual sales and interpret the result as a normal percentage.
- Forecast bias shows whether predictions are generally above or below actuals. Calculate signed error consistently, such as predicted units minus actual units. Positive values then indicate overprediction; negative values indicate underprediction.
Keep a product-level view as well as any portfolio summary. A strong aggregate score can hide a poor forecast for a high-margin product, a new item, or an ASIN whose stock position is sensitive to small errors.
Separate model error from unusual conditions
Review errors alongside your notes about availability, price, promotions, and listing conditions. A forecast that misses a period with a major promotion may be responding to an input it was never given. That does not make the miss irrelevant: it means you need to decide whether the event is likely to recur and whether you can provide that information in future forecasts.
Do not erase inconvenient periods just to improve a score. Report results both with and without clearly identified exceptional periods, explain why the views differ, and use the version that best matches the decision ahead.
Treat stockouts as censored demand
When inventory runs out, recorded sales show what you sold, not necessarily what shoppers would have bought if the item had remained available. Flag those periods. If you cannot estimate missed demand from reliable records, avoid presenting a precise adjustment as fact; test more than one reasonable assumption and show how much the forecast changes.
🧰 Use AI to Explain and Challenge the Results
A spreadsheet can calculate errors consistently, while an AI assistant can help organize assumptions and point out patterns to investigate. Tools and their file-handling, analysis, and data-connection features change, so confirm current capabilities in the vendor’s own documentation. Do not assume an assistant has access to your Seller Central data unless you have verified the connection and exactly what it can read.
Give the assistant a constrained task
Share only the fields needed for the analysis, such as product identifier, period, actual units, predicted units, and event flags. Avoid including buyer or order-level details. A prompt can ask the assistant to interpret a prepared comparison without asking it to invent missing data:
“Analyze this table of historical forecast tests. The columns are product, forecast start period, target period, actual units, predicted units, and event flags. Use only the values in the table. Summarize where predictions over- or under-shot, compare the AI forecast with the baseline by product and period, and identify patterns that need investigation. Do not fill missing values or infer causes from correlation alone. Return a table of findings with the supporting rows or calculations, followed by a list of assumptions I should verify. If the data cannot support a conclusion, say so.”
Use the assistant’s output as a set of questions to check, not as proof. Verify calculations in your spreadsheet, confirm that the rows it cites exist, and inspect unusual periods against your records before changing an order quantity.
Turn results into a bounded decision
If the forecast performs better than the baseline for the products and periods you care about, use it as one input to planning—not as an automatic purchase instruction. Consider supplier lead time, existing inventory, open purchase orders, cash limits, and the cost of running short versus holding excess stock.
If performance is uneven, limit use to the products or conditions where the test supports it. Keep a note of the forecast version, inputs, and decision so you can compare later results with the assumptions you used. Re-run the test when the product, sales pattern, or forecasting method changes materially.
❓ FAQs
How much sales history do I need to test an AI forecast?
There is no universal amount that guarantees a useful test. You need enough history to create several realistic forecast start points and include the demand patterns relevant to your decision. If the product is new or its history is short, treat the test as limited evidence and avoid presenting the result as dependable.
Should I use revenue or units to validate a forecast?
Use the measure that matches the decision. Units are usually more direct for replenishment; revenue is useful for sales planning but can shift with price and product mix. You can evaluate both, but do not combine them into one score without a clear reason.
What if the AI forecast is accurate overall but misses one SKU badly?
Inspect that SKU separately. A portfolio average can hide a product-level error that matters for availability or cash flow. Check its data, stockouts, and event history, then decide whether the forecast should be used for that SKU at all.