Add time series analysis