parameter names / existence for bin-wise holes #1650
Replies: 1 comment 6 replies
-
I could see both 2) and 3) working well, with a very slight preference for 3) at the moment. In my opinion 1) is not a good option: the change in meaning of e.g. With 2), users may wonder why parameters for some bins are missing. The access of pruned parameters would also have to be handled (see also #1637). On the other hand, the Version 3) seems nice for consistency, and being able to know shapes ahead of time without parsing details of the config (like whether there are empty bins) seems useful as well. Parameters set to fixed could be easily skipped in printouts / visualization, and access of them (trying to set them to non-constant) could be handled to inform users that this may not be a good idea. It is not clear to me whether setting them to non-constant would make any sense: I assume the likelihood would become I wonder whether for 3) there could be another flag attached to such fixed parameters to indicate why they are fixed, and to distinguish them from parameters that could in principle be set to float without causing issues (those usually would be constant due to the measurement config saying they should be). This distinction would be useful for debugging purposes. If the parameters do not carry a flag, an API to return the affected parameters could work instead. I view the issue with 3) of resulting in more parameters as rather small: usually this should affect few bins regardless, so the change in the number of parameters should usually be small. |
Beta Was this translation helpful? Give feedback.
-
I wanted to make an actual discussion out of #1639
for modifiers that assign bin-wise NPs ("gammas") there are cases where the underlying histogram data is such that some bins yield invalid daat (e.g. NaN)
These NPs cannot be part of the lhood and there are a few strategies
a[0],a[1],a[2]
a[0],a[4],a[5]
option 3) would guarantee that lilkelihoods details in a common grid are not sensitive to histogram detalis (that can be stochastic, like empty bins) but could inflate the number of parameters.. but setting those "forced-to-be-fixed" to floating is undefined
1,2) would induce variabl-npars likeleihoods within a "grid" for a dubious efficiency gain, "purity" in parameter
we currently do 1) but maybe w should do 3) and just provide error messages if someone tries to "release" those variables? Seems to me 1,2 don't really provide sufficient upside
cc @kratsg @alexander-held @matthewfeickert
Beta Was this translation helpful? Give feedback.
All reactions