Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukasheinrich/histfactory_validation
validating some standalone python code against HistFactory for some simple models
https://github.com/lukasheinrich/histfactory_validation
Last synced: 23 days ago
JSON representation
validating some standalone python code against HistFactory for some simple models
- Host: GitHub
- URL: https://github.com/lukasheinrich/histfactory_validation
- Owner: lukasheinrich
- Created: 2018-01-23T17:20:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T16:34:38.000Z (about 7 years ago)
- Last Synced: 2024-12-27T03:42:19.860Z (about 1 month ago)
- Language: Jupyter Notebook
- Size: 940 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# histfactory_validation
## This was moved to a proper python package at https://github.com/lukasheinrich/pyhf
The HistFactory p.d.f. template is per-se independent of its implementation in ROOT and sometimes, it's useful to be able to run statistical analysis outside
of ROOT, RooFit, RooStats framework.This repo has some example code for multi-bin histogram-based analysis based on the asymptotic formulas of arxiv:1007.1727 and
So far it only implements a simple model of
* one signal historgam with a NormFactor
* one background histogram with a ShapeSys (uncorrelated bin-by-bin uncertainties)and validates it against output computed from HistFactory workspaces
## A one bin example
```
nobs = 55, b = 50, db = 7, nom_sig = 10.
```
## A two bin example
```
bin 1: nobs = 100, b = 100, db = 15., nom_sig = 30.
bin 2: nobs = 145, b = 150, db = 20., nom_sig = 45.
```