Module ImportFrom alias Import alias identifier ImportFrom alias Import alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad body If CompareNotEq NameLoad Num body If CompareEq NameLoad Num body Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub NameLoad Num NameLoad NameLoad NameLoad Call NameLoad BinOpMult BinOpPow NameLoad Num NameLoad AugAssignAdd NameStore BinOpMult Num NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad body If CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad body AugAssignAdd NameStore Num If CompareEq SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index AttributeLoad NameLoad attr Num body AugAssignAdd NameStore Num orelse AugAssignAdd NameStore Num If CompareNotEq NameLoad NameLoad body Assign NameStore NameLoad AugAssignMult NameStore BinOpDiv BinOpSub Call NameLoad NameLoad NameLoad NameLoad TryExcept body AugAssignAdd NameStore BinOpDiv NameLoad BinOpMult NameLoad BinOpSub Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Num Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub Call NameLoad SubscriptLoad NameLoad Index NameLoad Num NameLoad NameLoad NameLoad Call NameLoad BinOpMult BinOpPow NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index BinOpSub Call NameLoad SubscriptLoad NameLoad Index NameLoad Num NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num AugAssignAdd NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num body If BoolOpAnd CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num CompareEq NameLoad Num body Assign NameStore BinOpMult BinOpDiv Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num For NameStore Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Expr Call AttributeLoad NameLoad attr BinOpAdd Num BinOpMult BinOpAdd NameLoad Num NameLoad BinOpSub SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num orelse If BoolOpAnd CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub NameLoad Num Index Num Num body Assign NameStore BinOpMult BinOpDiv Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num For NameStore Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Expr Call AttributeLoad NameLoad attr BinOpAdd Num BinOpMult BinOpAdd NameLoad Num NameLoad BinOpSub SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num orelse If CompareEq NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore BinOpMult BinOpDiv Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num For NameStore Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Expr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub NameLoad Num Index Num BinOpMult BinOpAdd NameLoad Num NameLoad BinOpSub SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num orelse Assign NameStore BinOpMult BinOpDiv Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num BinOpSub Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num For NameStore Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Expr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num BinOpMult BinOpAdd NameLoad Num NameLoad BinOpSub SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num BinOpAdd SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr TupleLoad Num Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Call AttributeLoad Str attr NameLoad Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body AugAssignAdd NameStore Call AttributeLoad Str attr Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Print NameLoad decorator_list decorator_list
N/A statsmodels.compat.python range N/A numpy np math sqrt N/A matplotlib.pyplot plt KAPLAN_MEIER N/A object N/A __init__ N/A N/A self data timesIn groupIn censoringIn N/A N/A N/A N/A RuntimeError Newer version of Kaplan-Meier class available in survival2.py N/A N/A self data data N/A N/A self timesIn timesIn N/A N/A self groupIn groupIn N/A N/A self censoringIn censoringIn N/A fit N/A N/A self N/A N/A N/A groups N/A list N/A set N/A N/A self data N/A N/A N/A N/A self groupIn N/A groupList N/A N/A i N/A range N/A len groups N/A N/A N/A N/A groupList append N/A N/A i N/A range N/A len groups N/A N/A j N/A range N/A len N/A self data N/A N/A N/A N/A N/A self data N/A N/A j N/A self groupIn N/A groups N/A i N/A N/A N/A N/A N/A groupList N/A i append N/A N/A self data N/A j N/A timeList N/A N/A i N/A range N/A len groupList N/A N/A times N/A N/A j N/A range N/A len N/A groupList N/A i N/A N/A N/A N/A times append N/A N/A N/A groupList N/A i N/A j N/A N/A self timesIn N/A times N/A list N/A sorted N/A set times N/A N/A N/A timeList append times N/A timeCounts N/A N/A points N/A N/A censoredPoints N/A N/A i N/A range N/A len groupList N/A N/A survival 1 N/A varSum 0 N/A riskCounter N/A len N/A groupList N/A i N/A counts N/A N/A x N/A N/A y N/A N/A j N/A range N/A len N/A timeList N/A i N/A N/A N/A j 0 N/A N/A N/A j 1 N/A N/A groupInd 1 N/A N/A N/A x append 0 N/A N/A N/A y append 1 N/A N/A N/A x append N/A N/A timeList N/A i N/A N/A j 1 N/A N/A N/A y append 1 N/A N/A N/A x append N/A N/A timeList N/A i N/A N/A j 1 N/A N/A N/A y append survival N/A N/A N/A y append survival N/A N/A groupInd 0 N/A N/A N/A y append survival N/A N/A N/A y append survival N/A N/A N/A x append N/A N/A timeList N/A i N/A N/A j 1 N/A N/A N/A x append N/A N/A timeList N/A i N/A N/A j 1 N/A N/A N/A censoredPoints append N/A N/A N/A timeList N/A i N/A N/A j 1 censoringNum survival groupInd N/A N/A N/A counts append N/A N/A N/A timeList N/A i N/A N/A j 1 riskCounter eventCounter survival N/A sqrt N/A N/A survival 2 varSum N/A riskCounter N/A -1 riskChange N/A riskChange 0 N/A eventCounter 0 N/A censoringCounter 0 N/A censoringNum 0 N/A k N/A range N/A len N/A groupList N/A i N/A N/A N/A N/A N/A N/A groupList N/A i N/A k N/A N/A self timesIn N/A N/A timeList N/A i N/A j N/A N/A riskChange 1 N/A N/A N/A N/A N/A groupList N/A i N/A k N/A N/A self censoringIn 1 N/A N/A eventCounter 1 N/A N/A censoringNum 1 N/A N/A eventCounter censoringCounter N/A N/A censoringCounter eventCounter N/A survival N/A N/A N/A float riskCounter eventCounter riskCounter N/A N/A N/A varSum N/A eventCounter N/A riskCounter N/A N/A float riskCounter eventCounter N/A N/A N/A ZeroDivisionError N/A N/A varSum 0 N/A N/A N/A counts append N/A N/A N/A timeList N/A i N/A N/A N/A len N/A timeList N/A i 1 riskCounter eventCounter survival N/A sqrt N/A N/A survival 2 varSum N/A N/A N/A x append N/A N/A timeList N/A i N/A N/A N/A len N/A timeList N/A i 1 N/A N/A N/A x append N/A N/A timeList N/A i N/A N/A N/A len N/A timeList N/A i 1 N/A N/A N/A y append survival N/A N/A N/A censoredPoints append N/A N/A N/A timeList N/A i N/A N/A N/A len N/A timeList N/A i 1 censoringNum survival 1 N/A N/A N/A timeCounts append N/A N/A np array counts N/A N/A N/A points append N/A x y N/A N/A self results timeCounts N/A N/A self points points N/A N/A self censoredPoints censoredPoints N/A plot N/A N/A self N/A N/A N/A x N/A N/A i N/A range N/A len N/A self points N/A N/A N/A N/A plt plot N/A N/A np array N/A N/A N/A self points N/A i N/A 0 N/A N/A np array N/A N/A N/A self points N/A i N/A 1 N/A x N/A N/A N/A self points N/A i N/A 0 N/A j N/A range N/A len N/A self censoredPoints N/A N/A N/A N/A N/A N/A self censoredPoints N/A j N/A 1 0 N/A N/A N/A N/A N/A N/A N/A self censoredPoints N/A j N/A 3 1 N/A j 0 N/A N/A dx N/A N/A 1.0 N/A N/A N/A N/A self censoredPoints N/A j N/A 1 1.0 N/A float N/A N/A N/A self censoredPoints N/A j N/A 0 N/A k N/A range N/A N/A N/A self censoredPoints N/A j N/A 1 N/A N/A N/A N/A plt vlines N/A 1 N/A N/A k 1 dx N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A N/A N/A N/A N/A self censoredPoints N/A j N/A 3 1 N/A N/A N/A N/A self censoredPoints N/A N/A j 1 N/A 3 1 N/A N/A dx N/A N/A 1.0 N/A N/A N/A N/A self censoredPoints N/A j N/A 1 1.0 N/A float N/A N/A N/A self censoredPoints N/A j N/A 0 N/A k N/A range N/A N/A N/A self censoredPoints N/A j N/A 1 N/A N/A N/A N/A plt vlines N/A 1 N/A N/A k 1 dx N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A j N/A N/A len N/A self censoredPoints 1 N/A N/A dx N/A N/A 1.0 N/A N/A N/A N/A self censoredPoints N/A j N/A 1 1.0 N/A float N/A N/A N/A self censoredPoints N/A j N/A 0 N/A k N/A range N/A N/A N/A self censoredPoints N/A j N/A 1 N/A N/A N/A N/A plt vlines N/A N/A N/A N/A self censoredPoints N/A N/A j 1 N/A 0 N/A N/A k 1 dx N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A dx N/A N/A 1.0 N/A N/A N/A N/A self censoredPoints N/A j N/A 1 1.0 N/A N/A float N/A N/A N/A self censoredPoints N/A N/A j 1 N/A 0 N/A N/A N/A self censoredPoints N/A j N/A 0 N/A k N/A range N/A N/A N/A self censoredPoints N/A j N/A 1 N/A N/A N/A N/A plt vlines N/A N/A N/A N/A self censoredPoints N/A j N/A 0 N/A N/A k 1 dx N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A N/A self censoredPoints N/A j N/A 2 0.03 N/A N/A N/A plt xlim N/A 0 N/A N/A np max x N/A N/A N/A plt ylim N/A 0 1.05 N/A N/A N/A plt xlabel time N/A N/A N/A plt ylabel survival N/A N/A N/A plt show N/A show_results N/A N/A self N/A N/A N/A resultsString N/A i N/A range N/A len N/A self results N/A N/A resultsString N/A N/A N/A Group {0}

 format i Time     At Risk     Events     Survival     Std. Err
 N/A j N/A N/A self results N/A i N/A N/A resultsString N/A N/A {0:<9d}{1:<12d}{2:<11d}{3:<13.4f}{4:<6.4f}
 format N/A int N/A j N/A 0 N/A int N/A j N/A 1 N/A int N/A j N/A 2 N/A j N/A 3 N/A j N/A 4 N/A resultsString N/A N/A