Closed osman-gencyurek closed 2 months ago
First, this is not reproducible. I don't have period_vec
or DataTrain
objects. Please provide a reproducible example. You don't have to share the real data. Just simulate something of the same structure.
Second, start
and end
should be either single numbers or vectors of two numbers. See the help file for ts()
. So I don't know what this code is doing.
With high-frequency sub-daily data, it is much easier to use the tsibble
data structure with the fable
package for forecasting. The forecast
package uses ts
objects, which works fine for low frequency data such as monthly or quarterly observations, but the ts
data structure is not really designed for high frequency observations.
I have a minutely data to forecast. I defined my ts similar as I defined for hourly data (which is working) as below:
How I define ts for hourly data (which is working):
How I define ts for minutely data (which I have the error for auto.arima):
then I try to run auto.arima like below:
then I get following error:
Could you please help me to solve this please?