real_or_sampling
Detect whether a metric change is due to sample size fluctuation. Use before reporting conversion, error, or click-through rate changes to avoid false conclusions.
Instructions
Did the metric move, or did the sample size underneath it move? Run this before reporting any RATE as a change — conversion rates, error rates and click-through all shift when the denominator shifts, for reasons that have nothing to do with the thing being measured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | the metric's history, oldest first | |
| sample_sizes | Yes | the denominator behind each reading, same order and length |