Propensity-score matching with balance diagnostics
predictive-analytics_propensity-score-matchFit logistic propensity scores, match treated to controls 1:1 on the logit within a caliper, and report SMD balance and common-support counts. Price $0.04 USDC. POST /api/v1/predictive-analytics/propensity-score-match. An unpaid call returns the x402 payment terms and does not run.
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": {
"units": "<units>"
},
"name": "predictive-analytics_propensity-score-match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | seed, integer, from -9007199254740991 to 9007199254740991. Required. | |
| order | No | order, string, one of descending_score, ascending_score, random. Required. | descending_score |
| units | Yes | units, array. Required. | |
| replacement | No | replacement, boolean. Required. | |
| caliperSdLogit | No | caliperSdLogit, number. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | model. Object. | |
| pairs | No | pairs. Array. | |
| balance | No | balance. Array. | |
| caliper | No | caliper. Number. | |
| sources | No | sources. Array. | |
| limitations | No | limitations. Array. | |
| commonSupport | No | commonSupport. Object. | |
| unmatchedTreated | No | unmatchedTreated. Array. |