hanaml.TTestInd.Rdhanaml.TTestInd is a R wrapper for SAP HANA PAL T Test.
hanaml.TTestInd( data, cols = NULL, mu = NULL, test.type = NULL, var.equal = NULL, conf.level = NULL )
| data |
|
|---|---|
| cols |
|
| mu |
|
| test.type |
Defaults to 'two_sides'. |
| var.equal |
|
| conf.level |
|
Dataframe
Statistics of the independent sample T-test.
It is a statistic procedure used to determine whether the mean difference between two unrelated groups is equal to a given value.
Input DataFrame data:
> data$Collect() X1 X2 1 1 10 2 2 12 3 4 11 4 7 15 5 NA 10
Call the function:
> result <- hanaml.TTestInd(data)
Output:
> result$Collect()
STAT_NAME STAT_VALUE
1 t-value -5.01377413
2 degree of freedom 5.64975672
3 p-value 0.00287491
4 _PAL_MEAN_X1_ 3.50000000
5 _PAL_MEAN_X2_ 11.60000000
6 confidence level 0.95000000
7 lowerLimit -12.11327798
8 upperLimit -4.08672202