Provide helper utilities for blinding by region
See original GitHub issueIt would be nice to provide a way to ask or generate the data of a particular model with some regions blinded. Blinding would mean that, instead of using the associated observations, one uses the total yields of MC in that region (pre-fit).
I could see this, maybe as a pyhf.contrib or pyhf.utils API, but unsure of which. It would be something that consumes a pyhf.pdf.Model and observations, as well as a list of regions to blind, and returns the corresponding yields.
Some other ideas:
- can help generate asimov data
- blinding should possible round the data to integers (to represent the fact that the observations are always integers – morally?)
- can include an option to ignore the signal sample(s) when generating the blinded yields for a region
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Color Blind Buddy - by Grayson Honan - AppAdvice
Color Blind Buddy is a live-video utility app for people who are color blind. Features: • Highlight either the red or green regions...
Read more >Financial Assistance and Support Services for People with ...
Explore a wide range of programs and tools to help with housing, taxes, medical bills, service and emotional support animals, and more.
Read more >kwindrem/SetupHelper: Helper functions to simplify ... - GitHub
Helper functions to simplify writing setup scripts that modify VenusOs functionality. The package includes automatic reinstallation of the package after a ...
Read more >Two-way Binding Helpers - React
Overview. LinkedStateMixin is an easy way to express two-way binding with React. In React, data flows one way: from owner to child.
Read more >How to define helper functions and constants in nest.js?
Create a new service AppConstantsService which provide the public variables and inject the service in the constructors where we need to use it?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

related issues: https://github.com/scikit-hep/pyhf/issues/1106, https://github.com/scikit-hep/pyhf/issues/1029
To control the unconstrained NPs doesn’t give you region-by-region control though?