stats_test
Conduct statistical hypothesis tests: z-test, t-test, two-sample, proportion, ANOVA, and linear regression, with configurable alternative and pooled variance.
Instructions
When: STAT hypothesis tests (not descriptive stats_1var / regression stats_2var). Params: type=z_test|t_test|2_samp_t_test|1_prop_z_test|2_prop_z_test|anova|linreg_ttest; pass editor fields for that type (data/sigma/mu0, x/n/p0, lists for ANOVA, …); alternative; pooled for two-sample. Example: type="t_test", data=[1,2,3], mu0=0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| x | No | ||
| n1 | No | ||
| n2 | No | ||
| p0 | No | ||
| x1 | No | ||
| x2 | No | ||
| mu0 | No | ||
| data | No | ||
| type | Yes | ||
| data2 | No | ||
| lists | No | ||
| sigma | No | ||
| pooled | No | ||
| alternative | No | ≠ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |