analytics_anomalies
Identify days with statistically abnormal click volumes using z-score analysis. Flags spikes and drops beyond the threshold, providing mean and standard deviation for baseline.
Instructions
Detect days with statistically abnormal click volumes using z-score analysis.
A day is flagged as a spike or drop when abs(z_score) > threshold (default 2.5).
Returns mean_daily_clicks, std_daily_clicks, and the list of anomalous days with their z-score.
Use days=90 or more for meaningful baseline statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| site | Yes | ||
| threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |