I cannot find anything in the manual. I have a problem where the respondent allocates 100 points into K outcomes to show relative preferences. The dependent variable is a vector of K entries. Each entry is a count that sums to a constant (which does not need to be the same from row to row).
Basically, the log-likelihood for each row is:
ll = y * log(p)+y * log(p)+…+y[K] * log(p[K]);
Can someone provide a complete example STAN code? I believe the “multinomial” distribution is the way to go? Thanks in advance!