Hello,
short version of the question: Say I have a parameter that is a 3d simplex. Is there an elegant way to assign an informative prior (for example, [5, 1, 1])?
Background:
I am writing a new version of my foraging model, with the aim of steamining my workflow, and making the model more flexible. In my old project, I first wrote a load of R code for generating synthetic data (which is great for model testing). I also ended up writing quite a long generated quantities block in my Stan model for generating posterior predictions.
My hope is that I can combine these and simply use the same Stan model for generating synthetic data (where I pass in parameters as highly informative priors), and for generating posterior predictions (in which case, the parameters come from a previously fit model).
So far, this is working well, and for parameters for linear regression, I can pass in β ~ N(3, 0.01) to simulate data with a slope of 3. However, I’m not sure what how to do something like this for a parameter that takes the form of a 3d simplex.
Thanks