Custom Distributions with brms


As I could include a new distribution in brms, in my case I would like to work with the prime beta distribution to develop a prime beta regression model later. I have the functions of this distribution in R, but I still don’t know how to define them in such a way that I can work with the regression model similar to what happens with the normal and binomial models that are already included in R and in brms.

If you could explain it to me through an example I would be very grateful.

Have you encountered this vignette? Where are you getting stuck?

1 Like