Parameters as a function of time

If I can make the model simpler: d and S have the same distribution. Prior assigned to the parameters!a11

Thanks