Using GroupNames Argument - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢

TD_ANOVA Input: insect2cols

groupName groupValue
--------- ----------
groupE    34
groupF    15
groupE    31
groupF    26
groupE    21
groupF    26
groupE    11
groupF    10
...       ...
groupD    12
groupB    21
groupD    12
groupB    19
groupD     5
groupB    21
...       ...
groupC    13
groupC    11
groupC    10
groupC    21
groupC    11
groupA    20
groupA    17
groupA    20
groupA    23
groupA    14
...       ...

TD_ANOVA SQL Call

SELECT * FROM td_anova(
  ON insect2cols AS InputTable
  USING
    GroupValueColumn('groupValue')
    GroupNameColumn('groupName')
    GroupNames('groupA', 'groupB', 'groupC')
) AS dt;

TD_ANOVA Output

Sum of Squares (between groups) Sum of Squares (within groups) DF (between groups) DF (within groups) Mean Square (between groups) Mean Square (within groups) F_statistic Alpha Critical_f P_value Conclusion
68.6 534.6 2 27 34.3 19.8 1.732323 0.05 3.35413082 0.19595795 Fail to Reject the Null Hypothesis