6 November 2026International edition
Vol. I · No.
6 November 2026
AI IN FASHION
DAILY
The daily briefing on AI in the fashion business
Where fashion meets artificial intelligence.
Merchandising & Buying · Stories

How to set up a control group for testing AI merchandising tools

Designing a valid A/B test requires careful selection of control stores or SKUs, clear success metrics such as sell-through and margin, and proper test duration with statistical rigour.

Two white t-shirts with floral appliques and bags
Photo: Raymond Yeung / Unsplash

KEY TAKEAWAYS Summary by the editors

  1. Match control and test groups on historical sales performance, footfall, demographics and assortment to isolate the AI tool's impact.
  2. Primary metrics should include sell-through rate, gross margin and markdown rate measured over a complete selling season.
  3. A minimum test duration of 8 to 12 weeks is typically needed to account for seasonal variations and achieve statistical significance.
  4. Set a significance threshold of 95 per cent confidence and calculate required sample size before launching the test to avoid inconclusive results.

Testing AI-powered merchandising and allocation tools requires a rigorous control group design to separate genuine performance gains from seasonal noise or market shifts. The foundation of a valid A/B test lies in selecting comparable control stores or SKUs, defining measurable success metrics such as sell-through rate, gross margin and markdown percentage, and running the test long enough to reach statistical significance. Without these elements, retailers risk deploying costly technology based on unreliable data.

How do you select control stores or SKUs?

The control group must mirror the test group as closely as possible on all variables except the AI intervention. For store-level tests, match locations on historical sales volume, customer demographics, footfall, store size and existing assortment. If testing allocation at SKU level, group products by category, price point, seasonality and past sell-through performance.

Randomisation strengthens the design but is not always practical in retail. When random assignment is impossible, use stratified sampling to ensure balanced representation across regions, store formats or product types. Document any systematic differences between groups at the outset, as these will inform the interpretation of results.

Sample size matters. Underpowered tests waste time and resources. Statistical power calculations, which require an estimate of expected effect size and baseline variability, determine the minimum number of stores or SKUs needed in each group. Many retailers underestimate this step and launch tests that cannot detect realistic improvements.

What metrics should you track?

Success metrics must align with business objectives and capture the full commercial impact of the AI tool. The most common primary metrics for merchandising and allocation tests are:

  • Sell-through rate: units sold divided by units received, typically measured at the end of a season or fixed period. This indicates whether the AI improved inventory productivity.
  • Gross margin: revenue minus cost of goods sold, expressed as a percentage of revenue. AI tools that optimise allocation should protect or increase margin by reducing stockouts and overstocks.
  • Markdown rate: the percentage of inventory sold at a discount. Lower markdown rates suggest better initial allocation and demand forecasting.
  • Stockout rate: the frequency with which a SKU is unavailable when a customer seeks it. Stockouts represent lost revenue and harm customer experience.
  • Inventory turnover: cost of goods sold divided by average inventory value. Faster turnover frees working capital and reduces holding costs.

Track metrics at the same granularity as the test design. If the test assigns stores to control or treatment groups, measure metrics at store level. If it assigns SKUs, aggregate results by SKU. Avoid mixing levels, as this introduces statistical dependencies that complicate analysis.

Secondary metrics provide context. Sales revenue, units sold and average transaction value help diagnose whether margin gains come from higher prices or better full-price sell-through. Customer satisfaction scores, if available, can reveal whether AI-driven allocation affects the shopping experience.

How long should the test run?

Test duration must be long enough to smooth out weekly volatility and capture a representative trading period. For fashion merchandising, a minimum of 8 to 12 weeks is typical, though a full season is preferable. Shorter tests risk conflating the AI effect with promotional calendars, weather shocks or other transient factors.

Align the test window with the product lifecycle. Testing allocation for spring-summer merchandise over a winter period will yield misleading results. If testing allocation tools that learn over time, allow a ramp-up period before measurement begins, so the algorithm can stabilise.

Consider external events. Major holidays, economic disruptions or supply chain interruptions can distort results. If such events occur during the test, either extend the test period or adjust the analysis to account for the shock.

What statistical significance threshold should you use?

A 95 per cent confidence level is the industry standard for A/B tests, meaning there is less than a 5 per cent probability that an observed difference is due to chance. Some organisations accept 90 per cent confidence for exploratory tests, but this increases the risk of false positives.

Define the significance threshold and minimum detectable effect size before the test begins. Changing these parameters after seeing the results invalidates the statistical framework and introduces bias. Preregistering the test design, including hypotheses and analysis plan, reduces the temptation to manipulate criteria.

Use two-tailed tests unless there is a strong directional hypothesis. A two-tailed test checks whether the AI tool performs better or worse than the control, guarding against harmful deployments. One-tailed tests, which only assess improvement, can miss negative effects.

How do you analyse and interpret the results?

Once the test concludes, compare the primary metrics between control and treatment groups using appropriate statistical tests. For continuous metrics like sell-through rate or margin, a t-test or regression model is common. For count data such as stockouts, consider a chi-squared test or Poisson regression.

Check for confounding factors. If the test and control groups diverged in ways unrelated to the AI tool, such as receiving different promotional support or experiencing unequal supply disruptions, adjust the analysis or acknowledge the limitation. Difference-in-differences methods can help control for pre-existing trends.

Practical significance matters as much as statistical significance. A 0.5 percentage point increase in sell-through may be statistically significant but commercially irrelevant if it does not cover the cost of the AI tool. Calculate the return on investment by translating metric improvements into revenue or margin gains, then subtract the technology and implementation costs.

What are common pitfalls to avoid?

Many retailers launch tests without sufficient planning and encounter avoidable problems. One frequent mistake is failing to isolate the AI intervention. If the test group also receives extra training, different assortments or additional labour, any performance difference cannot be attributed to the AI alone.

Another pitfall is stopping tests early when results look favourable. Early stopping inflates the risk of false positives because random variation can produce encouraging signals that disappear over longer periods. Commit to the planned test duration regardless of interim results.

Data quality issues undermine even well-designed tests. Ensure that sales, inventory and markdown data are accurate and consistently recorded across control and treatment groups. Incomplete or delayed data feeds can create artificial differences that mimic AI effects.

Finally, resist the temptation to test too many variables at once. Factorial designs that test multiple tools or settings simultaneously require much larger sample sizes and complicate interpretation. Start with a simple, focused test of one tool or feature, then iterate.

Frequently asked questions

How many stores do I need in a control group?

The required sample size depends on baseline variability and the minimum effect you want to detect. Power calculations typically suggest at least 20 to 30 stores per group for a well-powered test, though this varies by context. Consult a statistician to determine the appropriate number for your specific situation.

Can I use historical data as a control instead of a concurrent control group?

Historical comparisons are weaker than concurrent control groups because they cannot account for market changes, seasonality shifts or other time-varying factors. If a concurrent control is impractical, use a difference-in-differences approach with matched historical periods and adjust for known trends.

What if my test results are not statistically significant?

Non-significant results mean you cannot confidently conclude the AI tool had an effect. This may indicate the tool does not work, the test was underpowered, or the effect size is smaller than anticipated. Do not deploy the tool based on inconclusive evidence. Consider redesigning the test with a larger sample or longer duration.

Stories