Closed englianhu closed 5 years ago
Can you please share the data so we can easily reproduce the problem.
The sample dataset above is smp.zip where the completed dataset is https://github.com/scibrokes/real-time-fxcm/blob/master/data/USDJPY/data_tm1.rds.
smp
has four columns. tbats()
requires a univariate time series. It is turning them into a single time series, and then producing forecasts.
Use multi_seasons(smp[,1])
.
@mitchelloharawild . Perhaps add a check in tbats()
to issue an error in this case.
By refer to https://dzone.com/articles/seasonal-periods, I try to model a seasonal model.
Dataset:
Function:
Modelling:
I noticed that the datetime is not accurate.