You possibly answered this questions before but I couldn’t find or remember your answer anymore. I hope not to bother you but is it possible in brms to use the outcome of a regression in a follow-up regression? Thus for example:
beta0, beta1 and sd1 are parameters. X and A are data.
mu1 = beta0 + beta1 * X
A ~ normal(mu1, sd1)
alpha0, alpha1 and sd2 are parameters. B is data. mu1 is linear predictor from the first regression.
mu2 = alpha0 + alpha1 * mu1
B ~ normal(mu2, sd2)
- Operating System: OSX
- brms Version: 2.2.0