Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.
```

manual
manual

## 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.
```

manual
manual