Public excerpt
Locked
Enough history for seasonality? Breaks to cut? Then seasonal-naive and drift benchmarks, an ETS model, rolling-origin backtest with MASE, intervals from real backtest errors, and a forecast table with low / central / high plus the events that would invalidate it…
About this prompt
Forecasts a business time series (sales, tickets, sign-ups) the careful way: diagnosis of trend, seasonality and breaks, naive benchmarks the model must beat, a rolling-origin backtest, and 80% / 95% prediction intervals instead of a single number. DeepSeek reasons through each modelling choice; all numbers come from the Python or Excel code it writes, never from mental arithmetic.
Example output
STEP 1 — Diagnosis
Weekly orders, 150 weeks → 2.9 yearly cycles, enough for yearly seasonality. A tracking change in week 2023-W14 creates a level shift: train on data from 2023-W14 onwards, or add a step dummy.
STEP 4 — Backtest (output of the code below, 13-week horizon, 8 origins)
| Method | MAE | MASE |
| Seasonal naive | printed by code | printed by code |
| Drift | … | … |
| ETS (A,Ad,A) | … | … |
Rule: keep ETS only if it beats seasonal naive on both MAE and MASE across the 8 origins.
```python
from statsmodels.tsa.holtwinters import ExponentialSmoothing
model = ExponentialSmoothing(train, trend="add", damped_trend=True,
seasonal="add", seasonal_periods=52).fit()
```
STEP 7 — Communication
Central forecast with an 80% range; the Black Friday campaign is assumed to match last year's. Re-forecast if two consecutive weeks fall outside the 80% band…
Details
- Model
- DeepSeek
- Prompt language
- English
- Who it's for
- Analysts, operations planners, finance and small business owners who need a defensible forecast
- Length
- ~558 tokens (estimate)
- Delivered as
- Prompt text, shown online after purchase
- Category
- Data & Analytics
Reviews
No reviews yet. Only buyers of this prompt can leave one.