Forecast function is used in the prediction, but Error in TS (x) is always reported: ‘TS’ object must have one or more observations this Error
The solution is to import the State package and use the ARIMA function inside state instead of using the ARima function directly
Something like this…
The solution is to import the State package and use the ARIMA function inside state instead of using the ARima function directly
Something like this…