Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [exponential-smoothing]

A basic forecasting technique for time series data, optionally including trend and/or seasonality, but (usually) excluding causal influences.

Filter by
Sorted by
Tagged with
1
vote
0answers
70 views

Does smoothed data work better for time series forecasting with LSTMs?

I am training a 3-layer LSTM on time series data ($10^6$ training samples) to predict the next point in the time series, where there is no seasonality and the time series has been made stationary (...
0
votes
1answer
360 views

simple exponential smoothing - Ljung-Box test - residual

While reading this page on time series I found this sentence: The Ljung-Box test showed that there is little evidence of non-zero autocorrelations in the in-sample forecast errors, and the ...
2
votes
1answer
27 views

time series forecasting - predicting the next 24 hours

I have much the same problem as predict-the-next-24-hours, I have several years of hourly data of demand, and I would like to predict the next 24 hours. Ignoring the multi-seasonality issues - is it ...
2
votes
3answers
456 views

Can simple exponential forecasting be used for a non stationary series?

I have a non stationary series with trend and seasonal components. I want to use simple exponential smoothing ONLY for forecasting. Does the series need to converted to stationary before using SES? If ...
0
votes
1answer
21 views

why is the level equation in the holt winters triple exponential model different from the other two?

the double exponential model is so simple: level: $s_t = \alpha x_t + (1-\alpha)(s_{t-1}+b_{t-1})$ trend: $b_t = \beta (s_t - s_{t-1}) + (1-\beta)b_{t-1}$ both intuitively weigh the new information ...
0
votes
1answer
1k views

How to select between Holt Winters Model and ARIMA

I need to do sales forecasting.My historical data shows stationary pattern & present of trend,Seasonality & cyclic pattern. I would like to check with you that how to select between Holt ...
1
vote
0answers
18 views

Incorporate recent drop in number of units sold in a forecast using exponential smoothing

I'm trying to generate a one-year forecast for the number of units sold by a retail company. I'm using monthly data from 2017 and 2018. The forecast is for 2019, and I'm using the data from the months ...
10
votes
4answers
19k views

R time-series forecasting with neural network, auto.arima and ets

I've heard a bit about using neural networks to forecast time series. How can I compare, which method for forecasting my time-series (daily retail data) is better: auto.arima(x), ets(x) or nnetar(x)....
6
votes
4answers
1k views

Choice of time-series model for store sales prediction

I have a data set of weekly sales for a range of stores (all belonging to one company). I am trying to predict weekly/monthly use of several ingredients in the individual stores. The choice for what ...
0
votes
0answers
13 views

Is Box-Jenkins approach to time-series prediction and forecasting similar to Unobserved Components models approach?

How I understand the Box-Jenkins Method in a nut-shell is that a time-series model has signals that can be identified by weighting its own past lagged values, or weighting its owned past errors or ...
0
votes
2answers
179 views

Will ARIMAX or exponential smoothing forecast a short time series better?

The objective requires to predict GROSS NPA for 6 months and provided with 2 years of data i.e., around 24 observations. So, which of the method will provide better forecast?
1
vote
0answers
36 views

What are the differences between two different EWMA estimator?

Someone just showed me a different way of recursively estimating EWMA based on the exponential sum. The estimator has two different recursions: one for the sum and another for the weight. $$ \alpha=e^...
0
votes
0answers
250 views

Statistical demand forecasting

How is batch demand forecasting done in retail like in Walmart where number of products to forecast are very large in number and products are short lived i.e have less than 36 months of historical ...
0
votes
1answer
1k views

Anomaly detection using exponential weighted moving average

I would like to detect anomaly using exponential weighted moving average. I don't have series of data points. All I have is EMA(t-1) and the data point of the current time(t) DP(t). From these data, ...
1
vote
1answer
407 views

How to handle multiple periods in data when using Triple Exponential Smoothing (Holt-Winters method)?

Let's say I've got the the following time series (duration = 2.5 years) grouped by hour: ...
0
votes
1answer
237 views

How to align two seasonal time series

I am trying to decompose a time series using Holt Winters method and use it for forecast. I am trying to do this for weekly data of last 25-26 months. The challenge is that the dates of the seasonal ...
4
votes
3answers
9k views

Forecast daily data with weekly and monthly seasonality using exponential smoothing

I have to forecast data that exhibits dual seasonality. For example, the first day of the week can show seasonality and also the first week of the month can show seasonality. I am planning to use ...
3
votes
1answer
206 views

Dealing with extreme shocks like global recession in time series

I'm following Rob Hyndman's forecasting otext to practice on some financial data for fun and I am having difficulties in trying to properly deal with large shocks similar to the 2008 recession. My ...
0
votes
0answers
16 views

Hyperparameter-free method for Moving Average/ Exponential smoothing?

I want to find hyperparameter-free method for Moving Average/ Exponential smoothing. Is there any related paper or python code? S(t)= alpha * F(t) + (1-alpha) * S(t-1) Any methods can avoid the ...
0
votes
0answers
38 views

Question about the weighting factor of Exponential Weighted Moving Average (EWMA/EMA)

Hiii, I have one question about the weighting factor of EMA. As I learned, Exponential Weighted Moving Average has a weighting factor, Lamda, and its formula is: S(t) = Lamda * Y(t) + (1-Lamda) * S(...
3
votes
1answer
300 views

R - Holt-Winters - irregular frequency

I originally posted this on Stack Overflow, and it was suggested that this question would be better suited for CV: With reference to the HoltWinters function in R, how does one deal with time ...
1
vote
2answers
42 views

How do I compare time series forecast models? (ARIMA vs HoltWinter)

I'm working on a toy problem to try and get a better understanding for time series forecasting. I have a sample data set, which I'll include, that shows daily e-commerce sales from 2015 through Feb, ...
0
votes
0answers
34 views

Closest ARIMA models to Holt-Winter's Mixed Model and Time Series Decomposition Models

Can you please tell which ARIMA model will be closest to Holt-Winter's mixed model and Time Series Decomposition (additive/multiplicative) models And that ARIMA model maybe used in replacement of the ...
0
votes
0answers
28 views

How to get a forecast equation for $\hat{y}$ using ETS state space model

The ets(AAA) state space model (Rob Hyndman's handbook) is as below State equation is \begin{equation} Y_t = L_{t-1} + b_{t-1} + S_{t - m} + \varepsilon_t \end{equation} The measurement equations ...
0
votes
1answer
37 views

Search for optimal alpha in EWMA

All literature about finding the best alpha for a EWMA points to use RMSE to measure the fit between the EWMA and the signal. As alpha increases, the series get less and less smoothed out, and as a ...
0
votes
1answer
94 views

Holt-winters method, outlier day of week

Hopefully this isn't too off topic. I've just received test results and disagree with some explanations of a question. The TA and I can't seem to resolve our differences and I'm starting to think ...
0
votes
0answers
13 views

What is the best calculation method to account for individual change, volatility, observation windows and time decays in time series data? ARIMA, ETS?

I am looking at applying a theoretical best calculation method to some particular time series (ts) data. Ideally the calculation method would encompass relative change in individual ts, volatility of ...
1
vote
0answers
919 views

Prediction intervals exponential smoothing statsmodels

I've been reading through Forecasting: Principles and Practice. I am working through the exponential smoothing section attempting to model my own data with python instead of R. I am confused about how ...
6
votes
5answers
14k views

What do the “coefficients” in R's HoltWinters function represent?

I'm using the HoltWinters function in R and I'm trying to understand what the "coefficients" represent in the object that is returned by that function. They don't seem to match in any obvious way the ...
2
votes
3answers
311 views

Positive smoothing with the fda-package (Functional data analysis)

In the book Functional Data Analysis with R (Ramsay&Silverman) there is described the possibility to do the "positive smoothing" if it’s needed instead of the "normal smoothing". In the books ...
0
votes
0answers
82 views

How to forecast individual customer's spend (for millions of customers)?

Which forecasting model fits better to forecast the customers spend in the next upcoming visit? We have millions of customers, so ARIMA or any other time series modeling for each of the customers is ...
1
vote
1answer
68 views

method for predicting a curve

I have data on several curves. the data is of the form: curve_id x y and there are many x/y pairs for each curve and x is limited to some known range. overall, the curves look quite similar in ...
0
votes
0answers
35 views

When we are proving why ARIMA(0,1,1) is equal to simple exponential smoothing, why can we considered theta to be equal to (1-alpha)

I know this is a very basic question, but its not clarified within my lectures. Essentially when you have ARIMA(0,1,1) You can simplify the theta 1 term in order to obtain SES via stating its (1-...
0
votes
0answers
26 views

Historical average with exponential smoothing model [duplicate]

This topic similar with this one R Time Series Analysis forecast result always remains same But I perfrom exponential smoothing model in R. ...
0
votes
0answers
62 views

Derivation of Brown's High Order Exponential Smoothing Equations

Can anyone help me to find how the local slope ($\hat{a}_1(t)$) and acceleration ($\hat{a}_2(t)$) equations in Brown's high order (3rd in this case) exponential smoothing is derived? I can easily ...
0
votes
0answers
29 views

How to tune an exponential smothing function pon implicit feedback collaborative filtering recommenders

I am developing a recommender based on implicit feedback. The feedback is mainly the time someone spends on a product in a day. Then I transform this feedback to a rating matrix in order to implement ...
1
vote
1answer
101 views

Understanding Intuition for ETS Damping Selection via AIC/BIC

I'm trying to understand how ETS selects whether to use a damped model via information criteria (I'm not sure which of AIC, AICc or BIC are used). I have a time series and I'm comparing two ETS ...
0
votes
0answers
26 views

Get forecast after modelling on differenced series

I'm trying to apply exponential smoothing methods for a forecasting exercise in R. Since the data has seasonality component, I differenced and got a time series that is stationary. I tried to perform ...
2
votes
3answers
368 views

Negative Forecast using Holt-Winters

I tried to use Holt-Winters for forecasting, but it gives me negative values, but since these are demand quantities they cannot be negative. ...
1
vote
0answers
104 views

Intuition about Exponential Smoothing parameters?

If I use Triple Exponential Smoothing with Additive Seasonality and let a statistical program optimize alpha, beta and gamma for me, is there something I can conclude about my data based on the ...
5
votes
1answer
278 views

Robust alternative to exponential smoothing?

Despite being easy to calculate and understand, exponential smoothing is excessively affected by outliers and thus performs poorly when the data has a non-Gaussian probability distribution, such as a ...
0
votes
1answer
41 views

Can I say Holt-Winters Method is an example of interpolation?

I believe it fits under the definition from wiki: In the mathematical field of numerical analysis, interpolation is a method of constructing new data points within the range of a discrete set of ...
9
votes
3answers
12k views

Use Holt-Winters or ARIMA?

My question is around the conceptual difference between Holt-Winters and ARIMA. As far as I understand, Holt-Winters is a special case of ARIMA. But when is one algorithm preferred over the other? ...
2
votes
0answers
3k views

How to derive the variance of a weighted moving average?

I have a problem understanding a piece of a paper. Greatly appreciate any hint or help. It says: A sensor records $Z(i)$ at intervals of 1 second and calculates background values $U(i)$ using ...
16
votes
3answers
16k views

ETS() function, how to avoid forecast not in line with historical data?

I am working on an alogorithm in R to automatize a monthly forecast calculation. I am using, among others, the ets() function from the forecast package to calculate forecast. It is working very well. ...
0
votes
1answer
721 views

What are the prerequisites before running Holt Winters Model?

I just read Demand-Driven Forecasting: A Structured Approach to Forecasting(Wiley and SAS Business Series) and have a few doubts in Holt-Winters Model: 1) Unlike OLS Regression Modeling technique or ...
2
votes
1answer
2k views

Why multiplicative Holt-Winters requires strictly positive data points?

I've seen that multiplicative Holt-Winters requires strictly positive data points. I was wondering why it does not allow zero values?
2
votes
1answer
254 views

What exactly is the exponential smoothing model?

I see the term "exponential smoothing" model used a lot in different applications but I never understood what exactly it is. Is it just a MA(1) model? Or is it any moving average model, meaning it ...
2
votes
0answers
36 views

Exponential forecasting with non-constant variance

I want to use exponential forecasting to detect outliers, but my data are means of samples of different sizes. The series was formed by taking the average, every five minutes, of measurements ...