Winsorization in Warehouse Native
Apply winsorization in Statsig Warehouse Native to cap extreme metric values at chosen percentiles, stabilizing experiment scorecards against outliers.
Winsorization caps a metric's extreme unit-level values at a percentile . It reduces noise from outliers, such as logging errors or bad actors, without dropping any units. Statsig computes from all non-zero, non-null unit-level values of the metric, aggregated from rows or events, and sets every value beyond to the value at . For Statsig Cloud defaults, refer to Winsorization.
In Warehouse Native, you configure winsorization per metric and choose an upper bound, a lower bound, or both. For ratio metrics, you set bounds separately for the numerator and the denominator.

Statsig applies winsorization to all Warehouse Native metric types except participation, funnel, percentile, and retention metrics.
Metric capping
Metric capping sets a maximum value for a metric. Use it instead of winsorization when you know the business maximum, such as a maximum purchase amount per day. You define the cap for each unit type configured for the metric, and Statsig adjusts any value above the cap down to the cap.
For example, if purchases greater than $10,000 per day shouldn't skew analysis, Statsig adjusts any transaction above that amount down to $10,000. Metric capping supports event count and aggregation (sum) metric types.
Was this helpful?
For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.