Spss Crosstabs
spss_crosstabsCreate a contingency table between two categorical variables in SPSS, with optional chi-square tests and row/column percentages.
Instructions
Run SPSS CROSSTABS to create a contingency table between two categorical variables. Optionally includes chi-square test and row/column percentages. Requires IBM SPSS Statistics to be installed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"row_variable": "<row_variable>",
"column_variable": "<column_variable>"
},
"name": "spss_crosstabs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| row_variable | Yes | ||
| column_variable | Yes | ||
| include_col_pct | No | ||
| include_row_pct | No | ||
| include_chisquare | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |