chi_square_independence_test
Performs a Chi-Square test for independence on a 2x2 contingency table. Returns the chi-square statistic, p-value, and whether to reject the null hypothesis at the given significance level. (cost: 1 credit)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chi_square_independence_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contingency_table | No | 2D array, required, 2x2 table of observed frequencies [[a, b], [c, d]] | |
| significance_level | No | number, required, significance level for the test (e.g., 0.05 for 5%) |