Skip to content

Implement saturated likelihood test for projections#127

Merged
lucalavezzo merged 10 commits intoWMass:mainfrom
davidwalter2:260326_saturated_project
Mar 30, 2026
Merged

Implement saturated likelihood test for projections#127
lucalavezzo merged 10 commits intoWMass:mainfrom
davidwalter2:260326_saturated_project

Conversation

@davidwalter2
Copy link
Copy Markdown
Collaborator

@davidwalter2 davidwalter2 commented Mar 26, 2026

Implement saturated likelihood test for projections

  • This is done using poi models where an unconstrained parameter is assigned for each bin in the projection. The fit is repeated and the saturated likelihoods of both fits is compared to extract a chi-squared distributed value and its probability.
  • To be able to use it along other poi models I've created the CompositePOIModel class to compose multiple POI models. I've also added an init_fit_parms function to re-use the fitter object with a modified model

Updates for for data covariance

  • Store data covariance in fitresult if present
  • Added option '--dataCovariance' for plot hist script to plot data as line with uncertainty band to illustrate the fact that data points are correlated
  • Add support for plotting data covariance (also for mappings e.g. projected to 1D) using '--dataCovariance'

@davidwalter2 davidwalter2 force-pushed the 260326_saturated_project branch from 39f925e to 8105c44 Compare March 28, 2026 18:37
@davidwalter2 davidwalter2 force-pushed the 260326_saturated_project branch from 8105c44 to 07772a0 Compare March 28, 2026 19:16
@lucalavezzo lucalavezzo merged commit 361621c into WMass:main Mar 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants