.tau_update {BayesFBHborrow} | R Documentation |
Sample tau from posterior distribution
.tau_update(
lambda_0,
lambda,
J,
s,
a_tau,
b_tau,
c_tau = NULL,
d_tau = NULL,
p_0 = NULL,
type
)
lambda_0 |
historical baseline hazard |
lambda |
baseline hazard |
J |
number of split points |
s |
split point locations, J + 2 |
a_tau |
Inverse Gamma hyperparameter |
b_tau |
Inverse Gamma hyperparameter |
c_tau |
Inverse Gamma hyperparameter |
d_tau |
Inverse Gamma hyperparameter |
p_0 |
mixture ratio |
type |
choice of borrowing, "mix", "uni", or any other string for borrowing on every baseline hazard without mixture |
list containing tau and new mixture ratio