Using SecondSampleName and FirstSampleVariance 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-04-06
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
    SampleNameColumn('groupName')
    SampleValueColumn('groupValue')
    FirstSampleVariance(85.0)
    df1(19)
    SecondSampleName('groupC')
) AS dt;

TD_FTest Output

firstsamplevariance secondsamplevariance varianceratio df1 df2 CriticalValue Alpha p_value      Conclusion
------------------- -------------------- ------------- --- --- ------------- ----- -------      ----------
85                  19.7888888889        4.2953396968  19  9   3.6833380832  0.05  0.0300307396 Reject Null hypothesis