facebook / facebook/prophet

What is the best way to handle events that normally happen at the end of each month?

Open
#1,932 1 comment 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

I have a time series where starting from the 28th of each month, the situation might change dramatically. There is a sharp increase on the 28th and then a sharp decrease in the next few days (29-31) as opposed to the values prior to 28th.

I have tried using monthly seasonality with a period of 30.5 and different values for Fourier order, but that didn't help. Adding custom regressors such as `is_28th` or `is_end_of_month` didn't work either. It seems that the model just doesn't take this information into consideration even though there is daily data for almost three years.

What else is possible in such cases?

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.