I want to test for efficacy of an intervention. I have pre- and post-intervention data and I used auto.arima to find the best fit for the two data sets.
I'm stuck in the actual use of these models now. What do I do with the auto.arima fit? Can I graph it and test for statistically significant differences in the coefficients? If so, how do I graph it?
This is what I have right now ( specified from auto.arima)
myPreFit<-arima(myPre,order=c(0,1,0))
myPostFit<-arima(myPost,order=c(1,0,1))
forecast::auto.arimaon that model, and then test the dummy coefficient. $\endgroup$forecast()will help determine the difference between the models. $\endgroup$forecastbut the packageforecastbecauseforecast::auto.arimais used to refer to functionauto.arimafrom packageforecast. $\endgroup$