.tau_update {BayesFBHborrow} | R Documentation |
Sample tau from posterior distribution
Description
Sample tau from posterior distribution
Usage
.tau_update(
lambda_0,
lambda,
J,
s,
a_tau,
b_tau,
c_tau = NULL,
d_tau = NULL,
p_0 = NULL,
type
)
Arguments
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 |
Value
list containing tau and new mixture ratio
[Package BayesFBHborrow version 2.0.1 Index]