I’m using brms’ log_lik function to extract the log-likelihood from a brmsfit object. I would like to use relative_eff from rstan, but I’m not sure in what order log_lik returns the different chains’ log-likelihoods. Does it just append the log-likelihoods from each chain? What I mean is, if I have a toy brmsfit object, “fit”, with two chains, “a” and “b”, and three samples, does
log_lik(fit) return the values in the order
c(a,a,a,b,b,b), or does it return
Thanks for your help!