run_test
Execute Welch's t-test or two-proportion z-test on a deterministic bounded table extract with specified outcome and grouping columns, group values, and significance threshold.
Instructions
Run one approved statistical test on a deterministic bounded table extract.
Use Welch welch_t_test for a two-sided independent-samples comparison of numeric means without an
equal-variance assumption. Use the two-proportion two_proportion_z_test for a comparison of
binary success proportions, and always provide the explicit success value; the server never guesses
it. Both tests require a conservative table identifier, outcome and grouping columns, exactly two
group values, alpha between 0 and 1, and an optional row cap. The configured hard row limit always
applies; truncation and first-N bias are reported. Rows with null outcomes or groups are excluded
and counted. Welch rejects non-numeric or non-finite outcomes and needs two observations per group.
The proportion test requires an exactly binary selected outcome and at least five successes and five
failures per group. Do not use either test for paired/repeated observations or causal conclusions.
Results contain maintained-library statistics and p-values, effect sizes, assumptions, warnings,
and audit metadata. Significance does not establish causality or business importance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | Yes | Significance threshold strictly between 0 and 1 | |
| table | Yes | Conservative table identifier | |
| test_id | Yes | welch_t_test or two_proportion_z_test | |
| max_rows | No | Optional requested row cap; the server hard limit always applies | |
| group_values | Yes | Exactly two group values | |
| success_value | No | Required explicit success value for two_proportion_z_test | |
| outcome_column | Yes | Numeric continuous outcome column | |
| grouping_column | Yes | Column containing independent groups |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |