Closed venpopov closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.94%. Comparing base (
562ce64
) to head (0439339
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks! Merging now.
Closes #1631 by placing a student_t(1, 0, 1) prior on mu in the von_mises family when a tan_half link is used. This corresponds to a uniform prior over the constrained scale from -pi to pi.
The family-specific prior feature you implemented is really neat and made this super easy!
For what is worth, in my testing the prior change only had a meaningfull effects for very low numbers of observations and low precision (kappa) - otherwise results were pretty much identical.
This only affects the prior for the tan-half link - should the identity link prior be left as is? the current prior has a slight bump at 0, but its otherwise unimodal and weakly informative.