I have a df with a sales column and another column (Base/Promo) coding 1 or 0. I'd like to create a baseline forecast. So I have to exclude/ignore the promotional sales. By doing this there will be multiple gaps in my time-series... Is there a method to forecast baseline sales based on sales data with promotional weeks included?
Here is a reproducible df:
df <- data.frame(Sales =c(50,75,450,56,65,790,45,59,49,63,750,65,49,57,695,834,76,58,69,71,540,830,43),
Non-Promo/Promo=c(0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0,1,1,0))
df
I hope you can help with this problem, as I'm out of ideas. Many thanks!!!