Rev Language Reference



  • mvSimplex


mvDirichletSimplex(Simplex x, RealPos alpha, Natural numCats, RealPos offset, RealPos kappa, Bool tune, RealPos weight, Probability tuneTarget)


x : Simplex (<stochastic> pass by reference)
The simplex on which this move operates.
alpha : RealPos (pass by value)
The concentration parameter on the previous value.
Default : 1
numCats : Natural (pass by value)
The number of categories changed per move.
Default : 1
offset : RealPos (pass by value)
The offset of the current value to center new proposals (x+offset).
Default : 0
kappa : RealPos (pass by value)
The offset of tuning parameter (x * alpha + kappa).
Default : 0
tune : Bool (pass by value)
Should we tune this move during burnin?
Default : TRUE
weight : RealPos (pass by value)
The weight how often on average this move will be used per iteration.
Default : 1
tuneTarget : Probability (pass by value)
The acceptance probability targeted by auto-tuning.
Default : 0.44