Hi Paul,

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:

#1st step

# beta0, beta1 and sd1 are parameters. X and A are data.

mu1 = beta0 + beta1 * X

A ~ normal(mu1, sd1)

#2nd step

# 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

Thanks,

David