Do not compute standard errors in yli.turnbull if CIs are not required
This commit is contained in:
parent
035b1592dc
commit
8e30c41cc4
@ -249,6 +249,9 @@ def calc_survfunc_turnbull(time_left, time_right, *, ci=True, step_loc=0.5, maxi
|
||||
if se_method:
|
||||
hpstat_args.append('--se-method')
|
||||
hpstat_args.append(se_method)
|
||||
elif not ci:
|
||||
hpstat_args.append('--se-method')
|
||||
hpstat_args.append('none')
|
||||
if zero_tolerance:
|
||||
hpstat_args.append('--zero-tolerance')
|
||||
hpstat_args.append(str(zero_tolerance))
|
||||
|
Loading…
Reference in New Issue
Block a user