question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide helper utilities for blinding by region

See original GitHub issue

It 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:open
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

0reactions
kratsgcommented, May 20, 2021

To control the unconstrained NPs doesn’t give you region-by-region control though?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found