I have a time series dataset with 7 independent variables. I have created a multi-linear regression(MLR) using 3 of these independent variables and two lagged variables. When I checked for the normality of the residuals using the Shapiro-Wilk test in R, p>5% (thus confirming normality).
Then, the residuals of the MLR are modeled using ARIMA (no xreg since this is for residuals only).
My problem is,
- can I forecast MLR and ARIMA separately and add them to check the test set? ( I did that, the test MAPE is really high)
- Please kindly tell me how to do this "Regression with ARIMA errors" without auto.arima function in R
auto.arima()would be my go-to function. Can you explain why you don't want to use it, and what you can use? Can you useauto.arima()to get a model form, then feed this model intoarima()to fit the actual parameters? Or are you constrained not to use R at all (and if so, what can you use?)? – Stephan Kolassa Jul 02 '23 at 18:33auto.arimato understand how it decides on whether to use a seasonal model or not, and how it determines the order of integration. After that, you can use a similar stepwise approach to find a good model per the AICc, by fitting multiple models usingarima(). – Stephan Kolassa Jul 03 '23 at 06:31