【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.24.6.10 ocmath_two_sample_t_test
Contents
Description
Function to perform a Two Sample t-Test on two independent groups, equal or unequal variance is both supported.
Syntax
OCMATH_API int ocmath_two_sample_t_test(const double* pData1, UINT nSize1, const double* pData2, UINT nSize2, const HypotTestOptions* opt, tTestMean2SampleResults* res, tTestResults* tResUneqVar = NULL)
Parameters
- pData1
- [Input]pointers to 1st data points for Two Sample t-Test
- nSize1
- [Input]number of data points in pData1
- pData2
- [Input]pointers to 2nd data points for Two Sample t-Test
- nSize2
- [Input]number of data points in pData2
- opt
- [Input]structure containing t-Test options
- res
- [Output]structure containing t-Test Results, equal variance is assumed
- tResUneqVar
- [Output]Optional structure containing t-Test Results, unequal variance is assumed.
Return
Returns STATS_NO_ERROR on successful exit or a non-zero STATS error code on failure.
Examples
Remark
See Also
ocmath_two_sample_tTest_powers_pair
Header to Included
origin.h