1.1 - 8.10 - LikelihoodRatioTest Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 1.4

SELECT * FROM LikelihoodRatioTest (
  ON (SELECT * FROM glm_output1 WHERE attribute = -1) AS FirstModel PARTITION BY 1
  ON (SELECT * FROM glm_output2 WHERE attribute = -1) AS SecondModel PARTITION BY 1
  USING
  Statistic ('predictor_column')
  LogLik ('estimate_column')
  ObsNum ('std_err_column')
  ParamNum ('z_score_column')
) AS alias;