Implementation AR, MA and ARMA model