A Study on Outlier Detection for Temporal Data