7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

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

The function call uses the sample mean (49.97225) and standard deviation (2.009698).

SELECT *FROM DistnmatchReduce (
  ON DistnmatchMultipleInput (
    ON (SELECT RANK() OVER (PARTITION BY 1 ORDER BY price) AS rank, *
        FROM raw_normal_50_2
        WHERE price IS NOT NULL) AS input PARTITION BY ANY
    ON (SELECT COUNT(*) AS group_size
        FROM raw_normal_50_2
        WHERE price IS NOT NULL) AS groupstats DIMENSION
    ValueColumn ('price')
    Tests ('KS', 'CvM', 'AD', 'CHISQ')
    Distributions ('NORMAL:49.97225,2.009698')
    MinGroupSize ('50')
    NumCell ('10')
  ) PARTITION BY 1
);