Time series and forecasting with IDA