How to declare the unknown constant parameters in RStan?

Thank you Jonah! I should’ve noticed the precision part. Though still have a lot of work to debug, it gets easier with Stan forum.
Thank you all.

2 Likes

No problem at all. Let us know if you’re able to get it running successfully and also of course if you have more questions!

2 Likes

Hi Jonah, it runs. Appreciate for all the feedback!
Will try to solve the problem by myself first and ask help if I get stuck again. :)))

1 Like

The other thing I’d mention is that if you have good reason to think that A should have a lower bound of 100, then I would think about changing the mean value of the normal prior you give it. Even with the correct parameterization, 99.9% of the prior probability of A \sim \text{Normal}(0, \sqrt{1000}) is on values below 100.

1 Like