hanaml.TTest1Samp.Rdhanaml.TTest1Samp is a R wrapper for SAP HANA PAL T Test.
hanaml.TTest1Samp( data, col = NULL, mu = NULL, test.type = NULL, conf.level = NULL )
| data |
|
|---|---|
| col |
|
| mu |
|
| test.type |
Defaults to 'two_sides'. |
| conf.level |
|
Dataframe
Dataframe containing the statistics results from the t-test.
It is a statistical procedure used to determine whether a sample of observations could have been generated by a process with a specific mean.
Input DataFrame data:
> data$Collect() X1 X2 1 1 10 2 2 12 3 4 11 4 7 15 5 3 10
Call the function:
> result <- hanaml.TTest1Samp(data)
Output:
> result$Collect()
STAT_NAME STAT_VALUE
1 t-value -1.406288e+01
2 degree of freedom 4.000000e+00
3 p-value 1.483726e-04
4 _PAL_MEAN_DIFFERENCES_ -8.200000e+00
5 confidence level 9.500000e-01
6 lowerLimit -9.818932e+00
7 upperLimit -6.581068e+00