ttest_independent
Compare means of a numeric column across two groups to test if their difference is statistically significant. Requires exactly two groups; use ANOVA for three or more.
Instructions
Independent two-sample t-test. Compares means of a numeric column across two groups. Use to determine if the difference between two group means is statistically significant. Requires exactly 2 groups in group_column. For 3+ groups, use anova_test instead. Example: ttest_independent(column="Revenue", group_column="CargoType")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | Yes | ||
| df_name | No | ||
| group_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |