mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
Add surv Verb to Estimate a Survival Curve (#1788)
Add a surv verb to estimate a survival curve using Kaplan-Meier. It requires duration and status (event or censored) columns, and outputs each distinct duration and corresponding probability of survival.
This commit is contained in:
parent
35c7eeb977
commit
df73ad8ec0
9 changed files with 216 additions and 4 deletions
6
test/input/surv.csv
Normal file
6
test/input/surv.csv
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
duration,status
|
||||
1,1
|
||||
2,0
|
||||
3,1
|
||||
4,0
|
||||
5,1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue