SMD balance check / SMD 均衡性检查
smd_balanceSMD balance check / SMD 均衡性检查 | USE WHEN: standardized mean differences before/after PSM or IPTW (covariate balance) | ALIASES: SMD, 标准化均数差, 均衡性, balance, 匹配后均衡, 协变量平衡, love plot | RETURNS: 各协变量 SMD 与均衡判断
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": {
"covariates": "<covariates>",
"treatment": "<treatment>"
},
"name": "smd_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treatment | Yes | 分组 0/1 | |
| covariates | Yes | 协变量矩阵:每行一个样本、每列一个变量 |