Live demo

Stratified survival

Do participants with high and low levels of this biomarker have different outcomes? Kaplan–Meier curves per group, with censor marks and an at-risk strip, above a histogram of the biomarker showing where the cut falls and how many land each side. The groups are a column's or a biomarker cut at its median, tertiles, quartiles or typed points, and the cut line can be dragged: the curves follow at once, and R is asked again when it is let go. Under it R's log-rank test, each group's median survival with its interval and, for two groups, the hazard ratio with its interval. Experimental: the curves are safety.viz's estimator, which awaits its clinical review. Click a curve or a count at risk to list its participants and open a participant's profile. The data is the synthetic study: 200 made-up participants, and no real one.

The controls, the filters, the listing, the participant profile and the Chart.js this chart draws with are safety.viz's, version 1.9.0, loaded beside bio.viz from a copy with a record of where it came from.

The statistics are gsm.bio's, version 0.1.0: R in this browser is given one file of R, copied from gsm.bio at commit 514cbc3 with a record of where it came from. The same file, run in desktop R on the rows this chart hands over, wrote the answers the browser tests hold this page to.