Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tbats]

The TBATS model is a time series model for series exhibiting multiple complex seasonalities.

1
vote
1answer
92 views

Transform a non-stationary time series to perform ARIMA

I have a time series (TS) of daily Particulate Matter (PM) data for 6 years. My PM data are not normally distributed. The result of the KPSS test returns p-value of 0.01 and t-statistic of 1.53 ...
1
vote
1answer
26 views

TBATS decompostion and how to distinguish “real” sesonality

I am doing exploratory data analisis with TBATS decomposition, to get understand better seasonal patterns behind number of booking. One of my coworkers proposed that there is two weekly seasonality, ...
1
vote
1answer
77 views

Model for forecasting daily page views of a web page in R

I have to forecast daily page views of a web portal. We have the daily page views of the data for the last 2 years. We have to forecast for next 90 days. I am using a multi-seasonal (with season ...
5
votes
3answers
168 views

Forecasting hourly time series [closed]

I have the following time series: Data is aviable here data The time series represent an hourly eletricity load. It starts at 2018-09-13 19:00:00 and end at 2018-12-23 15:00:00. I want to predict ...
2
votes
1answer
207 views

Daily data, R forecasts only yield straight line?

I've tried ets, tbats, and arima - I can't seem to get anything but a straight line out of this. Example I tried: ...
0
votes
0answers
61 views

Multivariate Multiple TIme series

In Bats, we can handle multiple seasonalities In ARIMA, we can handle multivariate problems. Is there is any method/package to handle both Multivariate Multiple Seasonalities?
1
vote
1answer
202 views

What is ARMA error in time series?

I heard a term "ARMA ERROR" in BATS and TBATS. How it helps in time series forecasting.
0
votes
1answer
201 views

Using TBATS model to determine if a customer is seasonal

I am working on a project to determine seasonal customers in the customer database. The company sells email marketing. So our customers are people who send emails to their customers (either with ...
1
vote
1answer
447 views

tbats() model not capturing seasonality (weekly data)

I have below 4 years of weekly data which has complex seasonality of varying seasonal length. I have assigned the first 160 data points as training and the rest as test with frequency=52. It seems ...
0
votes
2answers
213 views

TBATS Decomposition with High Residuals

I have an msts time series, hourly data of electricity prices that have daily, weekly and yearly seasonality. I am decomposing the data using TBATS. Data I am using covers 365 days. Residuals have ...
3
votes
1answer
661 views

How forecast weekly sales?

I'm working on a forecasting weekly sales by category. I want to make sure I'm doing it correctly. ...
0
votes
0answers
216 views

Why is TBATS smoothing out the forecast when given data with multiple seasonality?

We use the TBATS model for the multiple seasonal data that we have. The data has a weekday season and an hour season, that is, Monday 7 PM is different from Sunday ...
1
vote
1answer
154 views

R tbats returning incorrect “observed”

Why are the "observed" numbers returned by tbats.components so different from the actual numbers? I'd think they should be the same. Data and R code follow: ...
0
votes
1answer
307 views

TBATS Analysis done- how can I use the results to forecast? [closed]

This is a follow up to my question here. I've spent some time refining my data at work, and after deciding to go with the TBATS model, I'd like to generate a forecast value. Here's my code so far: <...
1
vote
1answer
502 views

Data Analysis having weekly and yearly seasonality

I have 2 years of daily data of demand of some product. I can observe daily as well as yearly seasonality. I did run decompose method(frequency = 365) to separate data into trend, seasonal and random ...
0
votes
1answer
428 views

Multiple seasonal time-series : interpret tbats.components() function results in R

I'm using the TBATS model of the forecast package with Google Analytics data, to forecast web trafic containing multiseasonal effects (...
1
vote
1answer
3k views

Evaluating tbats multiseasonal time series (R forecast package) [closed]

I'm using the TBATS model of the forecast package (version 8.0) with Google Analytics data, to forecast web trafic containing ...
1
vote
0answers
419 views

Improving forecasting output using tbat's method

is tbats method the best model to use for my example ? for a weekly seasonality ? i want the predicted data to be like the initial data but that's not the result obtained so here's my data and the ...
0
votes
0answers
399 views

How does TBATS work?

How Does TBATS Work? Or let me know where to find a good high level description of how TBATS fits a model to complex seasonal data. For example data that has a year, month, day, hour seasonal pattern?...
3
votes
1answer
433 views

How to find multiple seasonal periods from ACF plot?

Sorry of a similar question has been asked before but I did not get my answer. I have some TV viewership (which I can not provide, I am sorry) that I am pretty sure has 3 periodicities: daily, ...
1
vote
1answer
249 views

AIC and likelihood statistics from tbats (forecast-package in R)

What I know now is that smaller AIC values and larger likelihood values indicate better fit. I am trying to compare two models fitted to the same data. Model 2 should fit the data better, but not ...
0
votes
1answer
750 views

tbats forecasts negative values

I am forecasting monthly data with tbats. I want to forecast only positive or null data. However, using the log transformation ...
3
votes
1answer
331 views

Selecting Box-Cox parameter in TBATS function in R

I am struggling to manually select the Box-Cox transformation in my TBATS function. I have a time series with multiple seasonality called belpex. I have tried the ...
5
votes
1answer
348 views

What is the difference between ARMA+Fourier and TBATS model?

I am just wondering that, in terms of the multi-seasonal time series forecast, what is the difference between using auto.arima find the ARMA order, then fit ...
11
votes
1answer
10k views

How to interpret TBATS model results and model diagnostics

I have got a half hourly demand data, which is a multi-seasonal time series. I used tbats in forecast package in R, and got ...
1
vote
0answers
73 views

Strong fluctuations in level component after TBATS

I have 2 time series sampled at a weekly level spanning a period from the start of 2010 until the present. Initially I had used a TBATS model with the frequency of the time series set to ...
1
vote
1answer
711 views

Decomposing a multi seasonal time series using tbats in R

Can I decompose a time series with multiple seasonalities (an msts object) using tbats (in the ...
3
votes
0answers
271 views

How to detect a relatively small level shift(leakage) in an hourly water flux time series in an area?

Background I'm working on a project which aims to use the history data about a water flux to detect whether there is a leakage happened. The data is hourly collected and among about 4 months. I've ...
4
votes
2answers
1k views

Daily timeseries forecasting, with weekly and annual seasonality

My aim is to forecast the daily number of registrations in two different channels. Weekly seasonality is quite strong. Especially the difference between the weekends and the rest of the week is big. ...
2
votes
1answer
3k views

Work with results of tbats decomposition

I made a time series decomposition with tbats. There is weekly and yearly seasonality in the data (and maybe also monthly - not really important for the question) ...
5
votes
1answer
2k views

Decomposition of daily time series (several years) with multiple seasonal patterns

i have a daily time series of several years. Graph & CSV-file So far i could figure out with an based on an acf graph and this method: timeSeriesObj = ts(x,start=c(1999,1,1),frequency=7) fit ...
1
vote
2answers
291 views

Cross-validating the tbats/bats function in forecast

Is there a way to cross validate the tbats/bats function in the forecast package in R? I have been trying to get CV weighted parameters which then I can pass to a function for revised estimates. ...
0
votes
0answers
214 views

Improving forecasting output obtained from Winter, ARIMA and TBATS method

I am trying to forecast commodity price for next year. I have collected and plotted monthly average prices from last 10 years.Plot has been attached. I used Holt's-Winter method on prices till 2014 ...
23
votes
3answers
46k views

Daily Time Series Analysis

I am trying to do time series analysis and am new to this field. I have daily count of an event from 2006-2009 and I want to fit a time series model to it. Here is the progress that I have made: <...
4
votes
2answers
879 views

TBATS: why set seasonal periods?

While trying to estimate the level, trend, and seasonal components with the TBATS model (forecast pkg in R), I notice that the ...
1
vote
1answer
1k views

forecast::tbats() gives missing value error for zeros

I used tbats to find the best fit model to a 3 years of daily data. It could not find a model and showed the following error: ...
2
votes
1answer
316 views

How to compute RMSE for TBATS

Some forecasting models in R give error terms as their output. But for TBATS, I couldnt find out that how I can see what the RMSE for my data set is. Is there any specific command that I have to use ...
3
votes
0answers
141 views

Verification of assumptions in TBATS model

I have a question about using BATS/TBATS models implemented in the forecast package for R. In De Liv­era, Hyndman & Snyder (2011) the models are used without any following analysis. Is it OK to ...
3
votes
2answers
659 views

Increasing the accuracy of tbats() forecasts by factoring for correlations between different time-series?

This question builds on my previous question Forecasting Hourly Time Series based on previous weeks and same period in previous year/s. My project is to forecast the number of ~400 different types of ...
2
votes
1answer
306 views

Regression with TBATS error?

I'm working on a time series model which includes multiple seasonal components (daily and weekly). I believe the best way to approach this would be BATS/TBATS model, however I have a concern if I can ...
2
votes
1answer
221 views

Frequency for tbats function in R

I have 3 complete years + 4 weeks of weekly time series data. One of the years is a leap year. Should I calculate its frequency by $(365\times 2+366)/(3\times 7)$?
2
votes
1answer
3k views

tbats model for multiplicative seasonality

In De Liv­era, Hyndman & Snyder (2011), a TBATS model (exponential smoothing state space model with Box-Cox transformation, ARMA errors, trend and seasonal components) for additive seasonality has ...
4
votes
1answer
902 views

tbats and bats giving errors

I am using tbats and bats functions and must be doing something wrong. I am using the following command for standard Holt-...
11
votes
1answer
11k views

Interpreting time series decomposition using TBATS from R forecast package

I would like to decompose the following time series data into seasonal, trend, and residual componenets. The data is an hourly Cooling Energy Profile from a commercial building: ...
7
votes
2answers
1k views

Simulate forecast sample paths from tbats model

Using the excellent forecast package by Rob Hyndman, I came across the need to not only have prediction intervals, but to simulate a number of future paths, given past observations of a time series ...
1
vote
1answer
179 views

TBATS requires positive data after differencing - forecast package R

I need to difference the series once to get a stationary series but then cannot run the tbats function because my differenced series has negative values. Does anyone know of any way of handling with ...
3
votes
2answers
1k views

Handling forecast mean with complex seasonality

I'm using a time-series model to do weekly forecasts on the number of incoming calls to a company. This variable has a weekly 'in-month' pattern and a monthly 'in year' pattern, and i have data from ...