Skip to content

Commit

Permalink
fixed error in estimate_tau
Browse files Browse the repository at this point in the history
  • Loading branch information
rsexton2 committed Sep 23, 2024
1 parent 627919f commit c1c0fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basicrta/gibbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ def estimate_tau(self):
bins = 15
h = np.histogram(taus, bins=bins)
indmax = h[0].argmax()
val = 0.5 * (h[1][:-1][indmax] + h[1][1:][indmax])[0]
val = 0.5 * (h[1][:-1][indmax] + h[1][1:][indmax])
return [ci[0], val, ci[1]]

def plot_surv(self, scale=1, remove_noise=False, save=False, xlim=None,
Expand Down

0 comments on commit c1c0fcf

Please sign in to comment.