I am trying to forecast 90 different Items and different purchase date, the example of the dataset is as below
ret <- data.frame(Item_Name =
c('Red bottle','Red Bottle','Red Bottle','Red Bottle', 'Green Mouse', 'Green Mouse','Green Mouse','Yellow Spoon','Yellow Spoon','Yellow Spoon','Yellow Spoon'),
Date_purchased = c(as.Date("2016/08/27"),as.Date("2016/08/29"),as.Date("2016/07/31"),as.Date("2016/08/02"),as.Date("2016/08/15"), as.Date("2016/08/18"), as.Date("2016/08/22"),as.Date("2016/08/25"),as.Date("2016/09/10"),as.Date("2016/09/13"),as.Date("2016/09/19") ),
purchase = c(5,5,3, 7, 9, 8,4,2,5,6,4))
How can i obtain forecast value for each of the items using Holt Winter with this kind of dataframe using R? or should i transform the structure of the dataset to obtain each of the items forecasted? One of the bottleneck i found is that the table did not provide "Zero" quantity for certain dates.