Survival analysis
stats_survival_analysis is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Assay.
What it answers
Required: unit (independent, not-independent, unspecified); test (log-rank, gehan-breslow). Time-to-event analysis per group: Kaplan-Meier estimate, Greenwood variance and log-log pointwise band, median survival with interval, log-rank or Gehan-Breslow comparison, and two-group log-rank hazard ratio. Bands, median intervals, group test, and hazard ratio require independent units and n >= 3 per group.
Limits:
- A C50 estimated here describes this assay under these conditions and is not a binding constant.
- It computes from the inputs it receives. It does not check the person's data, design or sample.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
Research and education software; not for diagnosis or treatment decisions.
Not medical advice. Nothing here is advice about any medicine, treatment or condition, and nothing here is an assessment of any person's variant, sample or molecule. Decisions made with it are yours.
Not a forecast. Stages, scores, rates, rankings and similarities shown here describe records as they stand, or historical averages; they are not a forecast for any molecule, trial, drug, company or target.
What this page can and cannot show
Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 4 of 4 methods.
Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.
Open Drybench Assay · Drybench Assay: methods and checks · What the levels mean · Every assistant tool
Inputs
An omitted input takes the default its description states; the reply's inputsReceived shows what was given. Any input not listed here is refused.
groups(array of object, required): Groups, each with name and non-empty subjects array.name(string, required): Group name.subjects(array of object, required)time(number, required): Non-negative follow-up time in timeUnit.status(integer, required): 1 for event, 0 for censored. One of0,1.
unit(string, required): Experimental unit: 'independent' (opens bands, intervals, test, hazard ratio), 'not-independent', or 'unspecified'. One ofindependent,not-independent,unspecified.test(string, required): Between-group survival test: 'log-rank' or 'gehan-breslow'. One oflog-rank,gehan-breslow.reference(integer, optional): Optional 0-based index of hazard-ratio reference group.level(number, optional): Confidence coverage level for intervals (0.9, 0.95 default, or 0.99). One of0.9,0.95,0.99.timeUnit(string, optional): Time unit in UCUM ('as-given' default). One ofas-given,s,ms,us,min,h,d,a,µs,μs.
What it withholds or refuses
A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.
Refusal codes: not recorded for stats_survival_analysis.
Values it withholds: not recorded for stats_survival_analysis.
How to cite a number from it
Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.
The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.
An example
The values asked and the values answered, computed by this tool when this page was built:
Asked with
unit: independentlevel: 0.95test: gehan-breslowreference: 0timeUnit: as-given
It answered (computed):
coverage: 0.95independent: yestimeUnit: as-given
The reply carries more values than are shown here.
Its cite line:
stats_survival_analysis, server 1.0.0; kaplan-meier@1.0.0 (Checked against a reference); median-survival@1.0.0 (Checked against a reference); survival-tests@1.0.1 (Checked against a reference); log-rank-hazard-ratio@1.0.0 (Checked against a reference); receipt 642348c2f198/a26a6f47e18d; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/stats-survival-analysis. Quote this line with any number taken from this reply.
Methods
Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.
Kaplan–Meier estimate with Greenwood's variance and a log-log pointwise band
- Method:
kaplan-meier@1.0.0 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Kaplan EL, Meier P. J Am Stat Assoc 1958;53:457-481; Greenwood M. Rep Public Health Med Subj 1926;33; Kalbfleisch JD, Prentice RL. The statistical analysis of failure time data, Wiley 1980 (the log-log band).
- How it was checked: Checked against R 4.4.3 survival 3.8-3 (survfit with the log-log band) on the 34 cases of the 0.11.0 fixture: S(t), its standard error and the band within 1e-10 relative; times, numbers at risk, events, censorings, the risk table, refused rows and withheld states exact. Inside R the risk table equals sum(time ≥ t) on all 61 groups checked (2026-10-13).
- What was not checked: not recorded for kaplan-meier@1.0.0. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Survival curves
Median survival, with its interval from the pointwise band
- Method:
median-survival@1.0.0 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: The first time the Kaplan–Meier curve reaches 0.5, with the midpoint rule on a flat stretch at 0.5; the interval by inverting the log-log pointwise band (as R's quantile.survfit).
- How it was checked: Checked against R 4.4.3 survival 3.8-3 (quantile.survfit on the log-log band) on the 33 cases of the 0.11.0 fixture with a curve: the median and its bounds within 1e-10 relative, bounds not reached and withheld states exact (2026-10-13).
- What was not checked: not recorded for median-survival@1.0.0. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Survival curves
Log-rank and Gehan–Breslow–Wilcoxon tests
- Method:
survival-tests@1.0.1 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: Mantel N. Cancer Chemother Rep 1966;50:163-170; Gehan EA. Biometrika 1965;52:203-223; Breslow N. Biometrika 1970;57:579-594.
- How it was checked: Checked against R 4.4.3 survival 3.8-3 (survdiff with rho = 0; Gehan–Breslow–Wilcoxon weighted by n_j by hand in R) on the 34 cases of the 0.11.0 fixture, 21 with a test (15 log-rank, 6 Gehan–Breslow–Wilcoxon): χ² and the expected counts within 1e-9 relative, p within 1e-8 relative, observed counts, df, the few-events flag and withheld states exact. Inside R, unit weights reproduce survdiff on all 26 cases checked, and the Gehan–Breslow–Wilcoxon score equals n_A·n_B − 2W on the case without censoring (2026-10-13). The 0.17.0 supplemental set adds 14 exact-rational survival cases for SCI-197, including zero-degree-of-freedom refusal and tied-censoring controls (25 October 2026; no R cross-check).
- What was not checked: not recorded for survival-tests@1.0.1. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Survival curves
Hazard ratio, one-step log-rank estimate
- Method:
log-rank-hazard-ratio@1.0.0 - Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
- Reference: exp((O − E)/V) with interval exp((O − E)/V ± z/√V), O, E and V the log-rank's for the second group; consistent with the log-rank test. Assumes proportional hazards.
- How it was checked: Checked against R 4.4.3 survival 3.8-3 (exp((O − E)/V) from survdiff's observed, expected and variance) on the 34 cases of the 0.11.0 fixture, 18 with an estimate: the hazard ratio and its bounds within 1e-9 relative, the groups compared and withheld states exact. R's coxph (Efron ties) is recorded beside it, not compared (2026-10-13).
- What was not checked: not recorded for log-rank-hazard-ratio@1.0.0. Its absence does not mean everything was checked.
- Method, sources and checks
- On Drybench Assay's methods page: Survival curves
No independent scientist has yet reviewed these checks. What the levels mean.
Changes to its methods
- No correction is logged for kaplan-meier@1.0.0.
- No correction is logged for median-survival@1.0.0.
- No correction is logged for survival-tests@1.0.1.
- No correction is logged for log-rank-hazard-ratio@1.0.0.
Where it runs
The local MCP server serves this tool; the hosted MCP connection does not.