Permutation test / 置换检验
permutation_testPermutation test / 置换检验 | USE WHEN: exact/permutation test when t-test assumptions fail or n is tiny | ALIASES: 置换检验, 随机化检验, permutation, 精确检验, 小样本非参数, resampling | RETURNS: 置换 P 值
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group1": [
12.1,
13.4,
11.8,
12.9
],
"group2": [
15.2,
14.8,
16.1,
15.5
]
},
"name": "permutation_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group1 | Yes | 第一组数值 | |
| group2 | Yes | 第二组数值 | |
| n_perm | No | 置换次数,默认 10000 |