facebook / facebook/prophet

non-uniform lead/lag effect of holidays in Prophet

Open
#2,177 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

![thanksgiving](https://user-images.githubusercontent.com/26806535/169730669-95379700-a22d-45fc-9c6c-3c4209a5409a.png)
Hi,
Section 3 of the [paper](https://peerj.com/preprints/3190/) explained how the effect of holidays can be modeled. The process is very similar to tuning the parameters in a regression for nominal values (non-ordinal categorical values using hot-encoder).
Consider a holiday such as Thanksgiving and assume our goal is to predict flight ticket sales. Intuitively, people want to be with their family on Thanksgiving day. Therefore, we expect a gradual increase in sales up to the day before thanksgiving (a very exaggerated figure is attached.) How *Prophet* can take that into consideration? In other words, when the effect of a holiday is non-uniformly distributed before and after the actual date, but not on that date, how should we approach the problem using *Prophet*?
Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.