Hi there? I am using brms package for baysian parametric shared frailty model and i was wondering in which argument should i specify the distribution of frailty (gamma or inverse gaussian ) ? Here is the the sample of the code that i have for weibull distribution
fitweibullph = brm(time |cens(censored) ~ a + b +
c + (1 |grouping_var),
data = PL, family = weibull(),init = “0”,
warmup = 1000, iter = 2000, chains = 4,
control = list(adapt_delta = 0.95),
prior=c(set_prior(“normal(0,10)”,class=“b”),set_prior(“cauchy(0,25)”,
class=“shape”)))