Questions tagged [holtwinters]

Holt-winters smoothing is one of the simplest form of exponential smoothing

128 questions
0
votes
3 answers

Batch forecasting using HoltWinters forecast

I'm using Rob Hyndman's batch forecasting approach to forecast for multiple columns in a dataframe. My code is as follows: require(forecast) zips <- read.csv(file.choose(), header = T) zips <- zips[,-c(1,2)] ns <- ncol(zips) zips <- ts(zips,…
0
votes
1 answer

r looping through different columns from excel file to do Holt Winter forecast & create results (Forecast, Plots) in separate excel sheets

I have this excel file (Refer leftmost image) which has two columns – column A has period values from Jan 2005 – Dec 2014, Column B contains weightage values for AA15. I want to do Holt Winters forecast (next 24 months) for AA15 column and create an…
user2453309
  • 25
  • 1
  • 1
  • 5
0
votes
2 answers

parameters out of range: ets, optim

I have written a code in R which adds weighting and runs additive holt-winters to forecast. However for some of my data it gives the error: Error in etsmodel(y, errortype[i], trendtype[j], seasontype[k], damped[l], : Parameters out of range Can…
0
votes
1 answer

Minimizing three variables in python using scipy

I need help on minimizing function in python using three variable constraints. I have posted the code which is giving me error. If you would like I can post the entire code to to show the mathematical calculation.: # the time-series data. coeff =…
Nina
  • 13
  • 6
-1
votes
1 answer

Forecasting in R using Holt's Linear model

I am trying to forecast data with a downward trend. I understand that Holt's linear model might be the better way to do it, but am unsure how I can implement it in R. The data is as follows: day saleRep 1 1 1001.104 2 11 1000.944 3 21…
Ry123
  • 64
  • 1
  • 5
-1
votes
2 answers

Holt-Winters Timeseries forecasting with statsmodels

I just following a post here to tryout my first prediction with the sample dataset below. I was expecting a prediction graph like Expected, but I got the graph like the attached here.got this my sample code is import pandas as pd import numpy as…
user8781522
  • 71
  • 3
  • 11
-1
votes
2 answers

How to do daily forecast

I conduct time series by day for SALES. I have dataset with data by day. (format 01.11.2015-29.11.2015). Here the example: dput DAY STORE ART SALES 01.11.2015 1534 343533 62.5000 01.11.2015 25039 20490 686.4480 01.11.2015 …
psysky
  • 3,037
  • 5
  • 28
  • 64
-2
votes
1 answer

Modeling with time series data in R

While working in R, I came to know that SES:-The simple exponential smoothing function, which takes into account random fluctuations of data but it does not take into account any trend or seasonality. Then Holt's model which takes into account of…
1 2 3
8
9