Agent skill
Teradata AutoARIMA
Automated ARIMA model selection and forecasting
Install this agent skill to your Project
npx add-skill https://github.com/teradata-labs/claude-cookbooks/tree/main/skills/analytics/td-autoarima
SKILL.md
Teradata AutoARIMA
| Property | Value |
|---|---|
| Skill Name | Teradata AutoARIMA |
| Description | Automated ARIMA order selection and parameter estimation |
| Category | Time Series Forecasting |
| Primary Function | TD_AUTOARIMA |
| Framework | UAF (Unbounded Array Framework) |
| Minimum Version | Teradata 20.00 |
Core Capabilities
- Automatic selection of optimal (p,d,q) orders
- Seasonal ARIMA support with automatic period detection
- Stepwise or exhaustive search algorithms
- Chains to TD_ARIMAVALIDATE and TD_ARIMAFORECAST via ART_SPEC
- Fit metrics (AIC, BIC) for model comparison
Key Parameters
- MAX_PQ_NONSEASONAL(p,q): Maximum non-seasonal AR and MA orders to search
- STATIONARY(0|1): Whether to assume stationarity (skip differencing)
- STEPWISE(0|1): 0=exhaustive search, 1=stepwise (faster)
- SEASONAL(PERIOD(n)): Optional seasonal period
- ALGORITHM(MLE): Estimation algorithm
- FIT_PERCENTAGE(n): Percentage of data for fitting (0-100)
- FIT_METRICS(0|1): Return AIC/BIC metrics
- COEFF_STATS(0|1): Return coefficient statistics
- RESIDUALS(0|1): Return model residuals
- ARMA_ROOTS(0|1): Return AR/MA characteristic roots
Example Usage
EXECUTE FUNCTION INTO VOLATILE ART(autoarima_results)
TD_AUTOARIMA(
SERIES_SPEC(
TABLE_NAME(your_database.your_table),
ROW_AXIS(TIMECODE(time_column)),
SERIES_ID(series_id_col),
PAYLOAD(FIELDS(value_col), CONTENT(REAL))
),
FUNC_PARAMS(
MAX_PQ_NONSEASONAL(3,3),
STATIONARY(0),
STEPWISE(0),
RESIDUALS(1),
ARMA_ROOTS(1)
)
);
SELECT * FROM autoarima_results ORDER BY ROW_I, COL_I;
Use Cases
- Automated time series forecasting without manual order selection
- Batch forecasting across many series with varying characteristics
- Model comparison and selection
- Seasonal and non-seasonal time series analysis
- Production forecasting pipelines
Scripts Included
Core UAF Scripts
uaf_data_preparation.sql: Time series data validation and preparationtd_autoarima_workflow.sql: Complete TD_AUTOARIMA implementationtd_autoarima_workflow_template.sql: Parameterized workflow templateuaf_pipeline_template.sql: Full pipeline with ARIMAVALIDATE and ARIMAFORECAST chaininguaf_table_analysis.sql: Time series structure analysis
Utility Scripts
parameter_optimization.sql: Search space configurationresult_interpretation.sql: Model selection results analysisperformance_monitoring.sql: UAF execution monitoring
Teradata AutoARIMA - ClearScape Analytics UAF skill for Teradata Vantage 20.x
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
tune-workloads
Analyze workload classification and **autonomously configure** classification rules, filters, and priorities to improve accuracy and meet business requirements
optimize-throttles
Analyze throttle behavior, recommend optimal configurations, and autonomously create/modify throttles to balance resource allocation and meet performance SLAs
analyze-performance
Analyze system performance using throttle statistics, query logs, and resource metrics to identify bottlenecks and optimization opportunities
monitor-workloads
Monitor workload definitions, distribution, and TASM statistics using real-time resources to understand classification effectiveness and workload performance
monitor-resources
Monitor AMP processor load, system physical resources, and capacity using real-time resources to track system health and identify performance bottlenecks
monitor-sessions
Monitor active Teradata sessions using real-time resources, view SQL execution details, identify blocking issues, and optionally take control actions
Didn't find tool you were looking for?