Heterogeneous residual variance in animal model with using brms

Hi everyone,

I’m trying to use an animal model to estimate genetic variance changes across different ages:
For mcmcglmm package, I could build a model with residual variance to be heterogeneous by using rcov = ~us(trait):units, I was wondering how to set up heterogeneous residual in brms?

Thank you in advance for your help

Here’s the brms vignette on distributional regression:
https://cran.r-project.org/web/packages/brms/vignettes/brms_distreg.html

2 Likes

It’s really helpful! Thanks so much!