stats.ttest_two_sample
Runs an independent two-sample t-test to compare two group means, returning t, df, p-value, and 95% CI for the mean difference; supports Welch/Student and tail options.
Instructions
독립 두 표본의 평균 차이를 t-검정으로 판정해 t, df, p_value, ci_95(a 평균 - b 평균의 95% 구간)를 돌려준다. a, b는 Decimal 문자열 각 2개 이상, equal_var 기본 False는 Welch 검정(df는 소수 가능)이고 True면 Student 검정이다. tail은 two(기본), less, greater이며 df는 문자열이다. 같은 대상의 전후 측정에는 ttest_paired 를 쓴다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| tail | No | two | |
| equal_var | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | Yes | ||
| df | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| ci_95 | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| p_value | Yes |