Open alashworth opened 5 years ago
Issue by bob-carpenter Wednesday Jul 22, 2015 at 18:01 GMT Originally opened as https://github.com/stan-dev/stan/issues/1563
Beta_mean(theta | mu, phi) = Beta(theta | mu * phi, (1 - mu) * phi)
We could add it without any customized gradients first.
Dirichlet_mean(theta | mu, phi) = Dirichlet(theta | mu * phi)
Dirichlet_sym(theta | alpha) = Dirichlet(theta | rep(alpha, size(theta))
Beta_sym(theta | alpha) = Beta(theta | alpha, alpha)
The latter two will save memory by allowing simpler vari implementations.
vari
Comment by bgoodri Friday Mar 04, 2016 at 23:10 GMT
I think this should be in stan-dev/math.
Issue by bob-carpenter Wednesday Jul 22, 2015 at 18:01 GMT Originally opened as https://github.com/stan-dev/stan/issues/1563
We could add it without any customized gradients first.
The latter two will save memory by allowing simpler
vari
implementations.