Back to catalog
Cortexa research tool·clinical·survival
Survival Kaplan Meier
Compute Kaplan-Meier survival estimates from time-to-event data. Returns survival probability at each event time, number at risk, events, censored observations, and median survival time. Supports optional stratification by group for visual comparison. Use for: analyzing patient survival in clinical data, time-to-event analysis, comparing treatment groups.
Livelast probed 2026-05-01 01:00Z· 100msCortexa
Status
The most recent probe succeeded. Safe to call from the agent today.
- Last probed
- 1d ago
- Last success
- 1d ago
- Last latency
- 100ms
Schema
JSON Schema the agent (or your API call) must match.
{
"properties": {
"durations": {
"description": "Observed time durations (e.g., months to event or censoring). All values must be >= 0.",
"items": {
"type": "number"
},
"type": "array"
},
"event_observed": {
"description": "Event indicator: 1 = event occurred (death/relapse), 0 = censored. Same length as durations.",
"items": {
"type": "integer"
},
"type": "array"
},
"group_labels": {
"description": "Optional group labels for stratified KM analysis (e.g., ['high', 'low', 'high', ...])",
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"operation": {
"description": "Operation type",
"enum": [
"kaplan_meier"
],
"type": "string"
}
},
"required": [
"operation",
"durations",
"event_observed"
],
"type": "object"
}Examples (1)
Default Survival Kaplan Meier call
public-safeinput
{
"durations": [],
"event_observed": [],
"operation": ""
}Expected response keys: success
Anonymous-safe example. Rate-limited; no sign-in required.
Identifiers
- Catalog ID
- tu_Survival_kaplan_meier
- Tool name
- Survival_kaplan_meier
- Added
- 2026-05-01 00:58Z
- Tags
- tooluniverse