Skip to content
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

feat: Cleanup internal names for hypotest #1247

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kratsg
Copy link
Contributor

@kratsg kratsg commented Jan 11, 2021

Description

Please first read CONTRIBUTING.md.

Please describe the purpose of this pull request in some detail. Reference and link to any relevant issues or pull requests.

Checklist Before Requesting Reviewer

  • Tests are passing
  • "WIP" removed from the title of the pull request
  • Selected an Assignee for the PR to be responsible for the log summary

Before Merging

For the PR Assignees:

  • Summarize commit messages into a comprehensive review of the PR

@matthewfeickert matthewfeickert added the API Changes the public API label Jan 12, 2021

def teststatistic(self, poi_test):
raise RuntimeError('need to call .teststatistic first')
distribution_alt = AsymptoticTestStatDistribution(-self.sqrtqmuA_v)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signal + background in exclusion fit is the null

CLsb = sig_plus_bkg_distribution.pvalue(teststat)
CLb = b_only_distribution.pvalue(teststat)
CLs = CLsb / CLb
pvalue_alt = alt_distribution.pvalue(teststat)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s+b is null

Base automatically changed from feat/discoveryTestStat to master January 16, 2021 18:52
@kratsg kratsg force-pushed the feat/cleanupHypotestInternalNames branch from 3c45f1d to eeb35c5 Compare January 16, 2021 19:01
@matthewfeickert matthewfeickert changed the base branch from master to main September 21, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Changes the public API
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

3 participants