-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 235: Constant distributional parameters bug fix #255
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
seabbs
previously approved these changes
Aug 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup this looks good to me! Nice.
seabbs
approved these changes
Aug 29, 2024
This was referenced Aug 29, 2024
seabbs
added a commit
that referenced
this pull request
Jan 10, 2025
* Start by reproducing bug * Use sigma prior * Now passing with bf(mu ~ 1) and no model on sigma * Change default to no model on sigma, run document * Prior on sigma * Add lb and ub * Rebase conflict * Missing bracket correction --------- Co-authored-by: Sam Abbott <[email protected]> Former-commit-id: e83add7ebf5f577696dc9b6d04faacd411faa202 [formerly 0fa2dc8206581186c1fb528e7bb606401b28d9b2] Former-commit-id: 973e783b75044400561ccd5395e6eb6043789f3f
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR closes #235. It:
formuala = bf(mu ~ 1)
i.e. removingsigma ~ 1
real
orvector
in front of the distributional parameters depending on whether there is a model for them. Formu
is always assumes there is a model. I think this might be a requirement ofbrms
, but I'm not suresigma > 0
as the equivalent lognormal to the normal which is then exponentiated if it's an intercept only modelbf(mu ~ 1)
working because lots of the tests already have no explicit formula hence will be using this defaultChecklist