vasishth / bayescogsci

Draft of book entitled An Introduction to Bayesian Data Analysis for Cognitive Science by Nicenboim, Schad, Vasishth
100 stars 27 forks source link

sec-pupil.html 4.1.2 #9

Closed themeo closed 3 years ago

themeo commented 3 years ago

The brms model should use the prior Normal+ (0, 1000) for sigma, right?

bnicenboim commented 3 years ago

yes, but that's what we do, isn't it?

prior(normal(0, 1000), class = sigma),
themeo commented 3 years ago

Do you mean that having 'sigma' class automatically restricts the distribution to positive values only? I didn't think about this when commenting, but since it is isn't obvious, perhaps it would be worth commenting about it in a footnote? It is possible that it was already mentioned somewhere earlier, if yes, then sorry for making fuss. :)

bnicenboim commented 3 years ago

Yes, it's written but I guess we should remind the reader. Thanks!