1
$\begingroup$

I'm working on a time series data in python, which has sales at a day level. As expected, there a few peaks at holidays and long weekends. I would like to add a new binary class variable "Holiday" '1/0'. The values of the new variable change from year to year as the holiday calendar changes

I would like to use this new variable in my time series sales forecast to improve the prediction.

How do I approach this problem? What are some relevant resources?

$\endgroup$

1 Answer 1

0
$\begingroup$

Not sure exactly what kind of model you want to use to predict the time series, but one method of doing it might be to use a SARIMA model with exogenous dependent variables.

See Jason Brownlee's blog post titled 11 Classical Time Series Forecasting Methods in Python (Cheat Sheet) for some more details.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.