# How to make ARIMA or SARIMA syntax with outlier effect? [closed]

I have a SARIMA model with outliers effect:

MO6=outliers(c("TC","TC","TC","AO","LS","LS"),c(14,36,37,68,91,111))
xreg=outliers.effects(MO6,length(dataTrans),pars=pars)
fitMO6=arima(dataTrans,order=c(0,1,1),seasonal=list(order=c(0,1,1),period=12),method="ML",include.mean=FALSE,xreg=xreg)
summary(fitMO6)
printstatarima(fitMO6)
tsdiag(fitMO6)
acfstat(resid(fitMO6))
jarque.bera.test(resid(fitMO6))
ArchTest(resid(fitMO6))


How to do modeling based forecasting??

## closed as unclear what you're asking by whuber♦Jul 1 '18 at 16:24

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Before proceeding to forecasting , I would delete all non-significant coefficients and add any additional arima structure identified from the residuals from the model and then check on constancy of model parameters and error variance over time. – IrishStat May 24 '18 at 16:00
• please provide more information what you are trying to do, and possibly what you are doing. Nicer formatting (see the style guide/fomatting help guide) would help as well. – cherub May 24 '18 at 16:00
• I want to make forecast for 15 values,, how to write arima forecasting syntax with outliers???? I try to use: – Indri Fauzi Lestari May 25 '18 at 3:34
• You may be interested in this answer. – javlacalle May 25 '18 at 10:29