Which values of a time series stand out? (conspicuous values, outliers in time series)
In brief
Statable subtracts the pattern of the series (trend and season) and shows which values deviate strongly from the rest. Conspicuous does not mean wrong, only "does not fit the pattern".
How it works in Statable
- "New analysis", card "How does a value develop over time?" (technical term: time series), name the columns (series without gaps), calculate.
- In the block "Conspicuous values" choose the "Threshold" (3, 3.5 or 4) and press "Search conspicuous values". For values above 0 "Scale" → "Log scale" also works.
- Look at the marked points in the chart "Time series with conspicuous values" and the table: point in time, value, expected, remainder and z.
Reading the result
- The table gives for each conspicuous value the point in time, the value, the expected value and the remainder: how far the value is from the pattern. On the log scale it says "Deviation in %".
- z measures the deviation in units of the spread of the remainders. A value is conspicuous when its z (ignoring the sign) is above the threshold. A z of 5 deviates more than one of 3.6. The sign shows whether the value lies above or below the pattern.
- The second table "Conspicuous values: method" shows how many values were checked, the spread of the remainders and how many values are conspicuous. If it is more than one in ten, the pattern probably fits the series badly, and the list says little about single values.
- If no value is conspicuous, it says so. That only means: no value stands out at this threshold, not that the series is free of errors.
With a season the pattern is removed with a robust decomposition (STL), without a season with an automatically chosen ARIMA model. The remainder is divided by a robust spread (1.4826 times MAD); a value is conspicuous when its z value is above the threshold.
What is often misunderstood
- A conspicuous value is not an error. Check: typing error? A special event at that time? Statable does not change the data.
- The threshold is a convention: even a series without real outliers can show single values. The method is simple and not a detection after Chen and Liu; it names no kind of disturbance.
- Without a season a strong outlier can hide others. If an event acts from a certain time on, "Did the measure work?" fits better.
Reporting the result
Report: the method (with season the STL decomposition, without season an ARIMA model), the threshold for the robust z value (residual divided by 1.4826 times MAD; Statable offers 3, 3.5 and 4), the number of time points, number and time points of the reported values with value and z value and what was done with them. Leys et al. (2013, Journal of Experimental Social Psychology 49, 764-766) recommend 2.5 as a rule of thumb; 3 is stricter and reports fewer values. Also: conspicuous means "does not fit the pattern", not "wrong"; an explanation by content (strike, measurement error, event) belongs with it.
The series (… time points) was cleaned of [trend and season (STL decomposition)/an ARIMA model (…)]; values with a robust z value (residual divided by 1.4826 · MAD) above … counted as conspicuous. … values stood out: … (time …, value …, z = …). The values [stayed in the series/were handled by …].