A brms custom family for the generalised gamma distribution in the
Prentice (1974) parameterisation of flexsurv::dgengamma().
mu and sigma are the location and scale of the log delay and Q is a
positive shape.
The Weibull (Q = 1) and gamma (Q = sigma) families are special cases
and the lognormal is the limit as Q goes to zero.
It needs the flexsurv package and works with every epidist model.
References
Prentice, R. L. (1974). A log gamma model and its maximum likelihood estimation. Biometrika, 61(3), 539-544. doi:10.1093/biomet/61.3.539
