-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Interface for defining which prior log densities are stored for priorsense #1585
Comments
In the separate_scaling branch of priorsense I have implemented the selection of priors and likelihood contributions in the case that lprior and log_lik are arrays. Currently the user needs to keep track of which element of the array corresponds to which prior, but perhaps the mapping can be stored. |
Any update on possible progress on this? More people are using |
no updates unfortunately. I simply don't have the time myself at the
moment.
Aki Vehtari ***@***.***> schrieb am Mi., 27. Nov. 2024, 13:32:
… Any update on possible progress on this? More people are using priorsense
with brms and hierarchical models, and they get prior-likelihood
conflicts reported, and our advice is to choose which priors to scale, but
currently it requires editing the Stan code.
—
Reply to this email directly, view it on GitHub
<#1585 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCW2AAT7LWFJKMINHCJITL2CWUVJAVCNFSM6AAAAABSSUAKZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTGYZTSMBZGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Would this be something that someone else could implement? I think your input would be required to decide how the user interface would be like, and of course any guidance on the brms internals would be appreciated |
I like the user interface you proposed in terms of an |
Currently,
brms
stores all prior log densities inlprior
variable. This is fine as the default behavior and makes it easy to usepriorsense
for quick tests without increasing the memory usage too much. To be able to focus on specific priors, we could allow priors to be tagged with labels.For example, using a modified version of the example from
set_prior
docThis would store the corresponding priors in variables
lprior_b
andlprior_treat
. The same tag could be used for several priors, in which case the log density contributions from those priors would be summed together.ping @n-kall
The text was updated successfully, but these errors were encountered: