Theta Methods
Decomposition-based forecasting. Known for winning the M3 forecasting competition.
| Model | Description |
|---|---|
Theta | Classic Theta method |
AutoTheta | Automatic Theta with optimized parameters |
OptimizedTheta | Theta with optimized decomposition parameters |
DynamicTheta | Theta with time-varying parameters |
DynamicOptimizedTheta | Dynamic + optimized Theta |
Showing 5 of 5
Theta
Classic Theta method that decomposes series into two theta lines and extrapolates.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasonal_period | INTEGER | auto | Seasonal period |
Example
SELECT * FROM anofox_fcst_ts_forecast(
'sales_data',
'date',
'sales',
'Theta',
14,
MAP{}
);
Best for: Short-term forecasts, simple + fast, competition-winning accuracy.
AutoTheta
Automatic Theta method with optimized parameters.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasonal_period | INTEGER | auto | Seasonal period |
Example
SELECT * FROM anofox_fcst_ts_forecast(
'sales_data',
'date',
'sales',
'AutoTheta',
14,
MAP{}
);
Best for: Short-term forecasts with automatic optimization.
OptimizedTheta
Theta method with optimized decomposition parameters.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasonal_period | INTEGER | auto | Seasonal period |
Example
SELECT * FROM anofox_fcst_ts_forecast(
'sales_data',
'date',
'sales',
'OptimizedTheta',
14,
MAP{}
);
Best for: Better accuracy than basic Theta through parameter optimization.
DynamicTheta
Theta method with time-varying parameters.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasonal_period | INTEGER | auto | Seasonal period |
Example
SELECT * FROM anofox_fcst_ts_forecast(
'changing_data',
'date',
'value',
'DynamicTheta',
28,
MAP{}
);
Best for: Series with changing patterns over time.
DynamicOptimizedTheta
Combines dynamic and optimized Theta approaches.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
seasonal_period | INTEGER | auto | Seasonal period |
Example
SELECT * FROM anofox_fcst_ts_forecast(
'complex_data',
'date',
'value',
'DynamicOptimizedTheta',
28,
MAP{}
);
Best for: Maximum Theta accuracy with dynamic adaptation.
Comparison
| Model | Speed | Optimization | Best Use Case |
|---|---|---|---|
| Theta | Fast | None | Quick baseline |
| AutoTheta | Fast | Automatic | General purpose |
| OptimizedTheta | Fast | Parameters | Better accuracy |
| DynamicTheta | Medium | Time-varying | Changing patterns |
| DynamicOptimizedTheta | Medium | Both | Maximum accuracy |
When to Use Theta Methods
| Scenario | Recommended |
|---|---|
| Quick forecast needed | Theta |
| Production system | AutoTheta |
| Maximum accuracy | DynamicOptimizedTheta |
| Changing patterns | DynamicTheta |
| Limited data | Theta |