Search code examples
bayesianrstanarm

How to specify lower bound as 0 on Bayesian priors


I am using rstanarm and want to create priors that are bound to be positive, so lower>0. How can I do this?


Solution

  • That is not currently possible with the rstanarm package. It is possible if you use the brms package or write your own Stan code.