$ 0 0 Not sure what you're trying to do - but have you tried the built in automatic ARMA forecasting (which also does arma model selection)?