In the recent years, there has been a growing interest in identifying anomalous structure within multivariate data sequences. We consider problem of detecting collective anomalies, corresponding to intervals where one, or more, sequences behaves anomalously. first develop test for single anomaly that power simultaneously detect anomalies are either rare, is affecting few sequences, common. then...