IDAX.T_TEST_S_AGG - t-Student test for a variable that is split into two classes
The T_TEST_S_AGG stored procedure calculates the t-Student statistics and the degree of freedom for an input variable the values of which are split into two classes.
Syntax
IDAX.T_TEST_S_AGG(INTEGER class, DOUBLE X)
Parameter descriptions
- class
- Mandatory.
- mean
- Mandatory.
Returned information
A string as VARCHAR(200) that contains the t-Student statistics and the degree of freedom for the two classes of the input variable.
Example
SELECT IDAX.T_TEST_S_AGG(case when class='setosa' then 0 when class='virginica' then 1 when class='versicolor' then 2 else 0 end, petallength) from IRIS;