I am trying to find out if there is any functions or add-ons to STATA which support anomaly detection on STATA on time-series data.
The data of have is daily frequency counts and there is a both a collective and contextual nature to their anomaly pattern.
Essentially, simple distance measures won't suffice since sometimes a zero is anomalous and sometimes it is not depending on the overall pattern of the data. Likewise sometimes a value of 50 is anomalous when it isn't precedded by a 20 and followed by a 70 but otherwise is. From my reading I am looking to use collective and contextual anomaly methods.
Anyone have any experience with this in either stata or elsewhere?
The data of have is daily frequency counts and there is a both a collective and contextual nature to their anomaly pattern.
Essentially, simple distance measures won't suffice since sometimes a zero is anomalous and sometimes it is not depending on the overall pattern of the data. Likewise sometimes a value of 50 is anomalous when it isn't precedded by a 20 and followed by a 70 but otherwise is. From my reading I am looking to use collective and contextual anomaly methods.
Anyone have any experience with this in either stata or elsewhere?
Comment