Cox proportional hazards regression
predictive-analytics_cox-regressionMaximise the Cox partial likelihood with Efron or Breslow ties, return hazard ratios with SEs, concordance, and a rank-time proportional-hazards check. Price $0.05 USDC. POST /api/v1/predictive-analytics/cox-regression. 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": {
"subjects": "<subjects>"
},
"name": "predictive-analytics_cox-regression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ties | No | ties, string, one of efron, breslow. Required. | efron |
| subjects | Yes | subjects, array. Required. | |
| confidence | No | confidence, number. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phTest | No | phTest. Array. | |
| sources | No | sources. Array. | |
| converged | No | converged. Boolean. | |
| concordance | No | concordance. Number. | |
| limitations | No | limitations. Array. | |
| coefficients | No | coefficients. Array. | |
| logLikelihood | No | logLikelihood. Number. |