Stockout censored demand statistics for replenishment forecasts https://nextorderhq.com/guides/stockout-censored-demand-replenishment-statistics/ ## Quick answer Stockout censored demand statistics show that correcting sales history can reduce forecast error overall without helping every product group. In version 5 of the FreshRetailNet benchmark, released in June 2026, a TFT model's WAPE fell from 31.75% on raw sales to 29.02% after TimesNet demand recovery. That is 2.73 percentage points, or 8.60% relative improvement. For the lower sales group, the same comparison worsened from 37.04% to 37.33% (FreshRetailNet authors, original calculations (https://arxiv.org/abs/2505.16319v5), Jun 2026). For a merchant placing replenishment orders, recorded sales can understate demand when stock was unavailable. Correcting that history is a plausible remedy, but the correction can introduce a different bias. The useful comparison therefore includes both error magnitude and its direction, with a separate check for slow sellers. The benchmark offers concrete examples of this tradeoff rather than a measured inventory saving for another store. ## Key Takeaways Overall WAPE improved by 2.73 percentage points, not 2.73% relative. Dividing the improvement by 31.75% gives an 8.60% relative reduction in error (FreshRetailNet authors, original calculation (https://arxiv.org/abs/2505.16319v5), Jun 2026). Higher sales products benefited more in the displayed comparison. TFT WAPE moved from 27.95% to 23.03%, a 17.60% relative reduction (FreshRetailNet authors, original calculation (https://arxiv.org/abs/2505.16319v5), Jun 2026). The lower sales counterexample remains important. TimesNet recovery raised lower sales TFT WAPE by 0.29 points and changed signed bias from negative 1.72% to positive 7.78% (FreshRetailNet authors (https://arxiv.org/abs/2505.16319v5), Jun 2026). ## What does stockout censoring do to a sales history? When an item is unavailable, observed sales stop recording what additional shoppers would have bought. A model trained on those sales can learn availability limits as though they were low demand. Figure description: Stockout censored demand statistics from 2024 fresh retail observations reported Jun 2026: TFT raw versus TimesNet recovered input improves overall and higher sales WAPE, while lower sales WAPE worsens from 37.04% to 37.33% and bias rises to positive 7.78%. Figure 1: Forecast error and bias move differently across groups. The lower sales group warns against treating demand recovery as a universal improvement. Source: FreshRetailNet, Table 3 TFT columns (https://arxiv.org/abs/2505.16319v5), Jun 2026. Original analysis of the cited public source. Source periods and limits accompany the finding. ### Why are zero sales not enough to diagnose a stockout? Zero sales can mean no demand, an unavailable item, a closed selling period or a product outside its active assortment. The right correction depends on knowing which condition occurred. Without availability history, replacing every zero with estimated demand can invent sales opportunities that never existed. FreshRetailNet includes hourly stock status alongside sales. Its contribution is the ability to study censoring with a more specific availability signal. The original public release describes 50,000 store product series across 898 stores and 18 cities. Those are series and locations in one retailer's fresh product context, not a cross merchant benchmark (FreshRetailNet authors (https://arxiv.org/abs/2505.16319v5), Jun 2026). ### What is the role of demand recovery? It estimates the missing demand during unavailability before the downstream forecast is trained. The recovered values are model outputs. They are not observed purchases and should remain distinct from the original sales records. That distinction is essential for replenishment. A merchant needs to know whether a higher order recommendation comes from measured demand, a stockout correction or a deliberately chosen service buffer. Combining them into one undocumented number makes an unexpected overstock difficult to diagnose. ## How large is the overall improvement after correcting the units? The reported TFT table gives an absolute WAPE decrease of 2.73 points. The paper's headline percentage wording should be read alongside those table values to avoid confusing absolute and relative changes. ### How does the relative calculation work? Subtract 29.02 from 31.75 to obtain 2.73 percentage points. Divide 2.73 by 31.75 to obtain 0.085984, or 8.60%. The two figures describe the same improvement with different denominators. Neither says demand itself increased 8.60%. Neither measures a matching reduction in inventory, stockouts or lost profit. Forecast error is one input to an operating decision whose cost also depends on margins, perishability and the consequences of a missed sale. ### Did the bias correction overshoot? For all series, the raw TFT WPE was negative 7.37%. TimesNet recovery moved it to positive 2.58%; iTransformer recovery moved it to positive 0.57%. The corresponding WAPEs were 29.02% and 29.26%. The method with lower aggregate absolute error therefore did not have the smaller aggregate signed bias (FreshRetailNet authors (https://arxiv.org/abs/2505.16319v5), Jun 2026). This creates a real choice. Consistent overprediction can be costly for a perishable product even when average absolute error is lower. A forecast evaluation should retain both measures and connect them to the decision's asymmetric costs. ## Why is the lower sales group a useful failure case? It shows that a convincing aggregate improvement can coexist with a deterioration in the segment where replenishment is already difficult. Pooling all products would hide that result. ### What changed for lower sales items? With TimesNet recovery, lower sales TFT WAPE increased from 37.04% to 37.33%, while WPE moved from negative 1.72% to positive 7.78%. iTransformer recovery left WAPE at 37.04% at the reported precision and moved WPE to positive 0.17% (FreshRetailNet authors (https://arxiv.org/abs/2505.16319v5), Jun 2026). That does not establish iTransformer as a universal choice for slow sellers. It establishes that the method, segment and error objective matter. Another forecast model or a different category can change the tradeoff. ### How should a merchant validate a correction? Preserve original sales and availability, fit recovery only with information available at the time and compare forecasts on later periods. Inspect low volume, promoted and frequently unavailable items separately. A correction that uses future information can appear accurate while failing the actual ordering decision. Evaluate the resulting policy against stock availability, waste and contribution with realistic lead times. The inventory record accuracy study (https://nextorderhq.com/guides/retail-inventory-accuracy-statistics/) concerns physical stock records, while SKU forecast aggregation statistics (https://nextorderhq.com/guides/sku-replenishment-forecast-aggregation-statistics/) concern the level where forecasts are scored. Both are distinct from demand censoring. ## What kind of forecast error did demand recovery actually remove? WAPE measures total absolute error, while WPE preserves its sign. With the same actual-demand denominator and the paper's sign convention, positive error equals (WAPE + WPE) / 2 and negative error equals (WAPE − WPE) / 2. The Table 3 TFT results therefore allow an aggregate decomposition without reconstructing individual forecasts. (FreshRetailNet v5, original calculations (https://arxiv.org/abs/2505.16319v5), Nov 2026) For raw sales input, the reported metrics imply 12.19 positive-error units and 19.56 negative-error units per 100 actual units. With TimesNet recovery, they imply 15.80 positive-error units and 13.22 negative-error units. Thus the lower WAPE combines 6.34 fewer underforecast-error units with 3.61 more overforecast-error units per 100 actual units. These are our calculations from rounded aggregate metrics, not counts of individual stockouts or excess units held. (FreshRetailNet v5, original calculations (https://arxiv.org/abs/2505.16319v5), Nov 2026) Figure description: A lower WAPE can combine less underforecasting with more overforecasting. Figure 2: A lower WAPE can combine less underforecasting with more overforecasting. Source: FreshRetailNet v5, original calculations (https://arxiv.org/abs/2505.16319v5), Nov 2026. Original analysis of the cited public source. Source periods and limits accompany the finding. That decomposition matters when the two errors have different costs. In a simplified linear-loss scenario, TimesNet's change in cost relative to raw input is 3.61 times the per-unit overforecast penalty minus 6.34 times the per-unit underforecast penalty. The recovery input is preferred on these point metrics when the underforecast penalty exceeds approximately 0.569 times the overforecast penalty. This is a conditional break-even calculation, not an estimated inventory profit effect. For products that spoil quickly, excess supply can be expensive. For a product with a high lost-sale cost, underforecasting can be expensive instead. Neither cost is supplied by an accuracy percentage alone. Real ordering decisions also involve pack sizes, lead times, service targets, substitutions and constraints that this one-period linear scenario leaves out. The decomposition must use matching metrics and populations. It would be invalid to combine overall WAPE with a lower-sales group's WPE, or to average group percentages without their denominator weights. Rounded source metrics also limit the precision of the reconstructed components. They do not provide an uncertainty interval for the economic threshold. The paper evaluates forecasts during operational periods without stockouts because latent demand during a stockout is not directly observed. That evaluation choice remains important: recovered demand is a model estimate, and error algebra does not turn it into observed sales that a merchant definitely lost. Use the benchmark to separate bias, total error and decision cost, then validate the actual replenishment policy on the products and constraints it will serve. ## Methodology and Sources We transcribed Table 3's TFT results for raw sales, TimesNet recovery and iTransformer recovery across overall, lower sales and higher sales groups. We calculated absolute and relative WAPE changes and kept signed WPE separate. The benchmark uses 2024 fresh retail observations; the table values here come from version 5 dated June 18, 2026. We did not rerun the training pipeline, recover actual unobserved customer demand or measure an inventory policy. The original paper and producer release define the benchmark's recovery and evaluation protocol. Its normalized sales data and one retailer setting do not provide current merchant revenue, unit margins or service levels. ## Glossary Censoring: Missing demand because sales could not occur during unavailability. Latent demand: Demand that is not directly observed in sales. Recovery: Estimating the missing portion before forecasting. TFT: Temporal Fusion Transformer, the downstream forecast model selected here. WAPE: Weighted absolute percentage error, a magnitude measure. WPE: Weighted percentage error, a signed bias measure in the source. Percentage point: An absolute difference between percentages. Relative improvement: The improvement divided by the original error. Recalculate error and bias changes The CSV preserves each sales group and recovery input, with the original error measures and clearly labeled derived differences. ## Sources Wang and colleagues: FreshRetailNet 50 K, version 5 dated June 18, 2026 (https://arxiv.org/abs/2505.16319v5) Dingdong Inc: Public FreshRetailNet 50 K data release (https://huggingface.co/datasets/Dingdong-Inc/FreshRetailNet-50K) Inspect the calculations and source distinctions Download the inputs and formulas behind this comparison. Run the calculations Use the original public dataset where required. The file includes the formulas and any worked sensitivity inputs.