7.00.02 - Example 4: Use Reference values and Partition by id - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)

This example uses tables from the Input section. In this example, the new patients in the table, CoxPredict Example Input Table lc_new_predictors, are compared with the reference table, but this example uses partition by id. The hazard ratio is calculated only when the patient's id matches the reference id. There are four patients with ids 1 through 4, and they are compared with the rows from the reference table, CoxPredict Example Input Table lc_new_reference, with the same id.