SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

The three categorical variables are specified in the CategoricalColumns argument. The function creates two models, a coefficient table and a linear predictor table, which are output with the names specified in the corresponding arguments.

SELECT * FROM CoxPH (
  ON (SELECT 1)
  PARTITION BY 1
  InputTable ('lungcancer')
  FeatureColumns ('trt', 'celltype', 'karno', 'diagtime', 'age', 'prior')
  CategoricalColumns ('trt','celltype','prior')
  TimeIntervalColumn ('time_int')
  EventColumn ('status')
  CoefficientTable ('lungcancer_coef')
  LinearPredictorTable ('lungcancer_lp')
);