Using FirstSampleName and SecondSampleName Arguments - 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-10-04
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢

TD_FTest 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_FTest SQL Call

SELECT * FROM TD_FTest(
  ON insect2cols AS InputTable
  USING
    SampleValueColumn('groupValue')
    SampleNameColumn('groupName')
    FirstSampleName('groupE')
    SecondSampleName('groupC')
) AS dt;

TD_FTest Output

firstsamplevariance secondsamplevariance varianceratio df1 df2 CriticalValue Alpha p_value      Conclusion
------------------- -------------------- ------------- --- --- ------------- ----- -------      ----------
305.2888888889      19.7888888889        15.4272880404 9   9   4.0259941583  0.05  0.0003754266 Reject Null hypothesis