Spss Moderation
spss_moderationTest whether a variable moderates an effect by running a mean-centred regression and reporting the X*W interaction term.
Instructions
Run a mean-centred moderation regression (Y ~ X + W + X*W) and report the interaction term that tests the moderating effect of W.
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>",
"x": "<x>",
"moderator": "<moderator>",
"y": "<y>"
},
"name": "spss_moderation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| file_path | Yes | ||
| moderator | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |