Question 1
Topic: 7.0 Finding Insights Using Analytics
Skill tested: Use moving-window analytics to compare current metrics with a historical weekly pattern.
A subscription platform sees a strong, predictable weekly cycle in completed renewals. The operations team wants a detector that identifies when the current hourly renewal count is materially below the count at the same time one week earlier. They want the comparison to follow the weekly pattern as it moves through time, rather than compare against a fixed threshold or a simple average across all hours. The metric is available as a time series, and the detector should evaluate the difference between the current value and its weekly-shifted value. Which analytics approach best meets this requirement?
A one-week lag comparison aligns each current datapoint with the value at the same time in the prior weekly cycle. Subtracting the lagged value from the current value produces a deviation that can be evaluated for unusually low renewals while preserving the recurring hourly pattern. A 24-hour moving average can blur the cycle and compares different hours. A seven-day sum is not comparable to an hourly count, and a fixed threshold based on an overall weekly average ignores the strong time-of-week variation described.