Prophet Forecasting with Holiday Effects
Prophet with holiday effects adds an indicator regressor for each holiday and each day in its window to Prophet's trend and seasonality model, so that the forecast and the estimated effect of every holiday or event are obtained together.
휴일 효과를 넣은 Prophet 은 휴일마다, 그리고 그 앞뒤 기간의 날마다 지시 회귀변수를 Prophet 의 추세·계절 모형에 더해, 예측과 각 휴일·행사의 효과를 함께 추정하는 방법입니다.
Sales jump on public holidays and promotion days; how large is each holiday's effect, including the day after, and how should next year's forecast account for them?
공휴일과 판촉일에 매출이 뛰는데, 다음 날까지 포함해 휴일마다 효과가 얼마나 되고 내년 예측에는 어떻게 반영해야 하나요?
Give the holiday dates (past and future), optionally with a window of days before and after, or a country's national calendar. Prophet fits one coefficient per holiday and day offset with a shrinkage prior, so each effect is read off in outcome units and future holidays enter the forecast automatically.
When to use Prophet Forecasting with Holiday Effects
- Daily or weekly series with known holidays, promotions or special events.
- You want the size of each holiday's effect, including days around it.
- Future holiday dates are known and should shape the forecast.
When to use something else
- There are no special dates to model: use Prophet Forecasting Model.
- You need a classical model with standard errors for event effects: use SARIMAX Model.
- The series is monthly with regular seasonality only: use Exponential Smoothing (Holt-Winters).
Assumptions and requirements
- Each holiday has the same effect every time it occurs (per day offset).
- Effects add to the trend (additive mode) or scale it (multiplicative mode).
- Holiday dates are complete for the history and for the forecast period.
What the analysis reports
- Effect of every holiday and day offset and its number of occurrences
- Forecasts with prediction intervals
- In-sample RMSE and MAE and the residual Ljung-Box check
- Number of changepoints and seasonal components used
How to report it
A Prophet model with [value] holidays was fitted to [value] observations; the largest effect was [value] for [holiday] (day offset [value]), with in-sample RMSE = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with Prophet, SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. Prophet·SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Prophet Forecasting with Holiday Effects on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.