Look at the priors for coefficients and scales section
of the regression chapter.
Look for the correlated topic model, page 163 for
the more general prior case.
I'm not sure what you're calling the pseudocount.
In Dirichleta(alpha), the quantity sum(alpha) is
such that alpha - 1 is the prior count (elementwise
subtraction of 1) for each of K outcomes. At least
if you start with uniform and add for counts observed.
You can also check out the beta-binomial case here,
which is trivial to generalize to Dirichlet:
http://mc-stan.org/documentation/case-studies/pool-binary-trials.html
Here's what it looks like in K dimensions:
parameters {
real<lower=0.1> kappa; // prior count minus K
simplex[K] theta; // prior mean
simplex[K] phi[J]; // parameters
model {
... phi is a K-simplex, either parameters or data ...
for (j in 1:J)
phi[j] ~ dirichlet(theta * kappa); // hierarchical prior on phi[k]
kappa ~ pareto(0.1, 1.5); // hyperprior on prior count
theta ~ dirichlet(alpha); // alpha is hyperprior
It decomposes the Dirichlet into mean theta and prior count (minus K)
kappa. You can just skip the dirichlet prior on theta in which
case it defaults to uniform over simplexes.
I should put this in the manual:
https://github.com/stan-dev/stan/issues/2051#issuecomment-246742910
- Bob