You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function subchain(ch,secname,vars)
Chains(set_sections(ch,Dict(secname => vars)),secname)
end
This gets me a Chains object that I can pass to plotting and summarizing type functions without having to look at all the parameters in my models. Often I might have hundreds of nuisance parameters but might only want to summarize 5-10 important key parameters in the model.
Is there an intended way to be able to do this that I'm missing in the docs? or should we add something? It feels to me like you should probably be able to just do:
Chains(basechain,[:a,:b,:c,:d]) and get a chain with just those parameters from the basechain or something similar.
Thanks Cameron. After reading the docs multiple times this never really came through as an option. How can we make this more obvious and discoverable? Perhaps especially putting it in some very obvious and early examples?
On Thu, May 18, 2023, at 7:58 PM, Daniel Lakeland wrote:
Thanks Cameron. After reading the docs multiple times this never really came through as an option. How can we make this more obvious and discoverable? Perhaps especially putting it in some very obvious and early examples?
—
Reply to this email directly, view it on GitHub <#420 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADHITSWLHUKRO76VCENED3XG3OVXANCNFSM6AAAAAAYGVOZI4>.
You are receiving this because you commented.Message ID: ***@***.***>
At the moment I'm using something like this:
This gets me a Chains object that I can pass to plotting and summarizing type functions without having to look at all the parameters in my models. Often I might have hundreds of nuisance parameters but might only want to summarize 5-10 important key parameters in the model.
Is there an intended way to be able to do this that I'm missing in the docs? or should we add something? It feels to me like you should probably be able to just do:
Chains(basechain,[:a,:b,:c,:d]) and get a chain with just those parameters from the basechain or something similar.
Also see discussion here: https://discourse.julialang.org/t/working-with-mcmcchains/99014
The text was updated successfully, but these errors were encountered: