paired_t_test
Test whether the mean difference between paired observations equals zero, returning t-statistic, degrees of freedom, p-value, confidence interval, and assumption warnings.
Instructions
Test whether the mean difference between paired observations (e.g. before/after measurements on the same subjects, or matched pairs) is zero. a[i] and b[i] must be the two measurements of the same pair -- use two_sample_t_test instead if the two samples are independent (different subjects in each group). Returns the t-statistic, degrees of freedom (n-1), two-tailed p-value, a confidence interval for the mean difference, a citation, and assumption warnings.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "paired_t_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | first measurement of each pair, e.g. 'before' | |
| b | Yes | second measurement of each pair, e.g. 'after' -- same length and pairing order as a | |
| alpha | No | significance level for the test (and any confidence interval); default 0.05 |