Best practices: Updated with UAF community recommendations
Documentation: Maintained with latest UAF features
Examples: Real-world UAF use cases and scenarios
This skill provides production-ready uaf model preparation analytics using Teradata's Unbounded Array Framework TD_PORTMAN with industry best practices for scalable time series and signal processing.
1---2name: td-portman3description: Ljung-Box portmanteau tests for model diagnostics and residual analysis4---56# Teradata Ljung-Box Test78| **Skill Name** | Teradata Ljung-Box Test |9|----------------|--------------|10| **Description** | Ljung-Box portmanteau tests for model diagnostics and residual analysis |11| **Category** | Uaf Model Preparation |12| **Function** | TD_PORTMAN |13| **Framework** | Teradata Unbounded Array Framework (UAF) |1415## Core Capabilities1617- **Advanced UAF implementation** with optimized array processing18- **Scalable time series analysis** for millions of products or billions of IoT sensors19- **High-dimensional data support** for complex analytical use cases20- **Production-ready SQL generation** with proper UAF syntax21- **Comprehensive error handling** and data validation22- **Business-focused interpretation** of analytical results23- **Integration with UAF pipeline** workflows2425## Unbounded Array Framework (UAF) Overview2627The Unbounded Array Framework is Teradata's analytics framework for:28- **End-to-end time series forecasting pipelines**29- **Digital signal processing** for radar, sonar, audio, and video30- **4D spatial analytics** and image processing31- **Scalable analysis** of high-dimensional data32- **Complex use cases** across multiple industries3334UAF functions process:35- **One-dimensional series** indexed by time or space36- **Two-dimensional arrays** (matrices) indexed by time, space, or both37- **Large datasets** with robust scalability3839## Table Analysis Workflow4041This skill automatically analyzes your time series data to generate optimized UAF workflows:4243### 1. Time Series Structure Analysis44- **Temporal Column Detection**: Identifies time/date columns for indexing45- **Value Column Classification**: Distinguishes between numeric time series values46- **Frequency Analysis**: Determines sampling frequency and intervals47- **Seasonality Detection**: Identifies seasonal patterns and cycles4849### 2. UAF-Specific Recommendations50- **Array Dimension Setup**: Configures proper 1D/2D array structures51- **Time Indexing**: Sets up appropriate temporal indexing52- **Parameter Optimization**: Suggests optimal parameters for TD_PORTMAN53- **Pipeline Integration**: Recommends complementary UAF functions5455### 3. SQL Generation Process56- **UAF Syntax Generation**: Creates proper Unbounded Array Framework SQL57- **Array Processing**: Handles time series arrays and matrices58- **Parameter Configuration**: Sets function-specific parameters59- **Pipeline Workflows**: Generates complete analytical pipelines6061## How to Use This Skill62631. **Provide Your Time Series Data**:64 ```65 "Analyze time series table: database.sensor_data with timestamp column and value columns"66 ```67682. **The Skill Will**:69 - Analyze temporal structure and sampling frequency70 - Identify optimal UAF function parameters71 - Generate complete TD_PORTMAN workflow72 - Provide performance optimization recommendations7374## Input Requirements7576### Data Requirements77- **Time series table**: Teradata table with temporal data78- **Timestamp column**: Time/date column for temporal indexing79- **Value columns**: Numeric columns for analysis80- **Model inputs**: Previously fitted models or parameters81- **Validation data**: Test datasets for model assessment8283### Technical Requirements84- **Teradata Vantage** with UAF (Unbounded Array Framework) enabled85- **UAF License**: Access to time series and signal processing functions86- **Database permissions**: CREATE, DROP, SELECT on working database87- **Function access**: TD_PORTMAN8889## Output Formats9091### Generated Results92- **UAF-processed arrays** with temporal/spatial indexing93- **Analysis results** specific to TD_PORTMAN functionality94- **Analytical outputs** from function execution95- **Diagnostic metrics** and validation results9697### SQL Scripts98- **Complete UAF workflows** ready for execution99- **Parameterized queries** optimized for your data structure100- **Array processing** with proper UAF syntax101102## Uaf Model Preparation Use Cases Supported1031041. **Model diagnostics**: Advanced UAF-based analysis1052. **Residual testing**: Advanced UAF-based analysis1063. **Autocorrelation testing**: Advanced UAF-based analysis1074. **Model validation**: Advanced UAF-based analysis108109## Key Parameters for TD_PORTMAN110111- **Lags**: Function-specific parameter for optimal results112- **ConfidenceLevel**: Function-specific parameter for optimal results113- **TestType**: Function-specific parameter for optimal results114115## UAF Best Practices Applied116117- **Array dimension optimization** for performance118- **Temporal indexing** with proper time series structure119- **Parameter tuning** specific to TD_PORTMAN120- **Memory management** for large-scale data processing121- **Error handling** for UAF-specific scenarios122- **Pipeline integration** with other UAF functions123- **Scalability considerations** for production workloads124125## Example Usage126127```sql128-- Example TD_PORTMAN workflow129-- Replace parameters with your specific requirements130131-- 1. Data preparation for UAF processing132-- Use EXECUTE FUNCTION syntax:133-- EXECUTE FUNCTION INTO VOLATILE ART(portman_results)134-- TD_PORTMAN(135-- SERIES_SPEC(TABLE_NAME(input_table), SERIES_ID(id_col),136-- ROW_AXIS(TIMECODE(time_col)),137-- PAYLOAD(FIELDS(value_col), CONTENT(REAL))),138-- FUNC_PARAMS(LAGS(12))139-- );140-- SELECT * FROM portman_results;141142-- 2. Execute TD_PORTMAN143-- Use EXECUTE FUNCTION syntax:144-- EXECUTE FUNCTION INTO VOLATILE ART(portman_results)145-- TD_PORTMAN(146-- SERIES_SPEC(TABLE_NAME(input_table), SERIES_ID(id_col),147-- ROW_AXIS(TIMECODE(time_col)),148-- PAYLOAD(FIELDS(value_col), CONTENT(REAL))),149-- FUNC_PARAMS(LAGS(12))150-- );151-- SELECT * FROM portman_results;152```153154## Scripts Included155156### Core UAF Scripts157- **`uaf_data_preparation.sql`**: UAF-specific data preparation158- **`td_portman_workflow.sql`**: Complete TD_PORTMAN implementation159- **`table_analysis.sql`**: Time series structure analysis160- **`parameter_optimization.sql`**: Function parameter tuning161162### Integration Scripts163- **`uaf_pipeline_template.sql`**: Multi-function UAF workflows164- **`performance_monitoring.sql`**: UAF execution monitoring165- **`result_interpretation.sql`**: Output analysis and visualization166167## Industry Applications168169### Supported Domains170- **Economic forecasting** and financial analysis171- **Sales forecasting** and demand planning172- **Medical diagnostic** image analysis173- **Genomics and biomedical** research174- **Radar and sonar** analysis175- **Audio and video** processing176- **Process monitoring** and quality control177- **IoT sensor data** analysis178179## Limitations and Considerations180181- **UAF licensing**: Requires proper Teradata UAF licensing182- **Memory requirements**: Large arrays may require memory optimization183- **Computational complexity**: Some operations may be resource-intensive184- **Data quality**: Results depend on clean, well-structured time series data185- **Parameter sensitivity**: Function performance depends on proper parameter tuning186- **Temporal consistency**: Irregular sampling may require preprocessing187188## Quality Checks189190### Automated Validations191- **Time series structure** verification192- **Array dimension** compatibility checks193- **Parameter validation** for TD_PORTMAN194- **Memory usage** monitoring195- **Result quality** assessment196197### Manual Review Points198- **Parameter selection** appropriateness199- **Result interpretation** accuracy200- **Performance optimization** opportunities201- **Integration** with existing workflows202203## Updates and Maintenance204205- **UAF compatibility**: Tested with latest Teradata UAF releases206- **Performance optimization**: Regular UAF-specific optimizations207- **Best practices**: Updated with UAF community recommendations208- **Documentation**: Maintained with latest UAF features209- **Examples**: Real-world UAF use cases and scenarios210211---212213*This skill provides production-ready uaf model preparation analytics using Teradata's Unbounded Array Framework TD_PORTMAN with industry best practices for scalable time series and signal processing.*
Run npx skillmds@latest add teradata-labs/td-portman in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Ljung-Box portmanteau tests for model diagnostics and residual analysis It is listed under Data & Analytics on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
teradata-labs (@teradata-labs) published this skill. Their other Agent Skills are listed on their SkillMD profile.