Skip to content

Commit

Permalink
Update 04-combine.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ssekmen authored Jul 31, 2024
1 parent 0bd29c7 commit 4bf07a4
Showing 1 changed file with 30 additions and 24 deletions.
54 changes: 30 additions & 24 deletions episodes/04-combine.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ exercises: 0

:::::::::::

![](fig/combinelogo.png){width="50%"}

Check warning on line 27 in episodes/04-combine.md

View workflow job for this annotation

GitHub Actions / Build Full Site

[image missing alt-text]: fig/combinelogo.png

## What is Combine?

**Combine** is the statistical analysis software used in CMS, built around the ROOT, RooFit and RooStats packages.
Expand All @@ -41,12 +43,8 @@ Datacard includes information such as
Combine supports building models for counting analyses, template shape analyses and parametric shape analyses. Though the main datacard syntax is similar for these three cases, there are minor differences reflecting the model input. For example, in the case for a template shape model, one needs to specify a ROOT file with input histograms, and in the case of a parametric shape model, one needs to specify the process probability distribution functions.

Constructing a datacard is usually the level most users input information to Combine. However, there are some cases where the statistical model requires modifications. An example case is where we need a model with multiple parameters of interest associated with different signal processes (e.g. measurement of signal strengths for two different Higgs production channels, gluon-gluon fusion and vector boson fusion). Combine also allows to build custom models by introducing modified model classes.
Combine scales well with model complexity, and therefore is a powerful tool for combining a large number of analyses.

Combine scales well with model complexity

is a powerful tool for combining a large number of

Powerful for combinations, scales well with model complexity

## Tasks performed by Combine

Expand All @@ -55,23 +53,23 @@ Combine is capable of performing many statistical tasks. The main interface is
```
combine <datacard.[txt|root]> -M <method>
```

where one enters a datacard (either as text or in a ROOT-converted format) and specifies the method pointing to a task.

Here is a set of methods used for extracting results:

- [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#computing-limits-with-toys](**HybridNew:**) compute modified frequentist limits with pseudo-data, p-values, significance and confidence intervals with several options, --LHCmode LHC-limits is the recommended one.
- [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#asymptotic-frequentist-limits](**AsymptoticLimits:**) limits calculated according to the asymptotic formulas in arxiv:1007.1727, valid for large event counts.
- [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#asymptotic-significances](**Significance:**) simple profile likelihood approximation for calculating significances.
- [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#bayesian-limits-and-credible-regions](**BayesianSimple:**) and [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#computing-the-observed-bayesian-limit-for-arbitrary-models](**MarkovChainMC**) compute Bayesian upper limits and credible intervals for simple and arbitrary models.
- [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#likelihood-fits-and-scans](**MultiDimFit:**) perform maximum likelihood fit, with multiple POIs, estimate CI from likelihood scans.
- [**HybridNew:**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#computing-limits-with-toys) compute modified frequentist limits with pseudo-data, p-values, significance and confidence intervals with several options, --LHCmode LHC-limits is the recommended one.

Check warning on line 60 in episodes/04-combine.md

View workflow job for this annotation

GitHub Actions / Build Full Site

[needs HTTPS]: [HybridNew:](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#computing-limits-with-toys)
- [**AsymptoticLimits:**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#asymptotic-frequentist-limits) limits calculated according to the asymptotic formulas in arxiv:1007.1727, valid for large event counts.

Check warning on line 61 in episodes/04-combine.md

View workflow job for this annotation

GitHub Actions / Build Full Site

[needs HTTPS]: [AsymptoticLimits:](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#asymptotic-frequentist-limits)
- [**Significance:**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#asymptotic-significances) simple profile likelihood approximation for calculating significances.
- [**BayesianSimple:**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#bayesian-limits-and-credible-regions) and [**MarkovChainMC**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#computing-the-observed-bayesian-limit-for-arbitrary-models) compute Bayesian upper limits and credible intervals for simple and arbitrary models.
- [**MultiDimFit:**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#likelihood-fits-and-scans) perform maximum likelihood fit, with multiple POIs, estimate CI from likelihood scans.

Combine also provides an extensive toolset for validation and diagnosis:

- [https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#goodness-of-fit-tests](**GoodnessOfFit:**) perform a goodness of fit test for models including shape information using several GoF estimators (saturated, Kolmogorov-Smirnov, Anderson-Darling)
- [https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/nonstandard/#nuisance-parameter-impacts](**Impacts:**) evaluate the shift in POI from  variation for each nuisance parameter.
- [http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#channel-compatibility](**ChannelCompatibiltyCheck:**) check how consistent are the individual channels of a combination are
- [https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/runningthetool/#generate-only](**GenerateOnly:**) generate random or Asimov pseudo-datasets for use as input to other methods
- [**GoodnessOfFit:**](https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#goodness-of-fit-tests) perform a goodness of fit test for models including shape information using several GoF estimators (saturated, Kolmogorov-Smirnov, Anderson-Darling)
- [**Impacts:**](https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/nonstandard/#nuisance-parameter-impacts) evaluate the shift in POI from  variation for each nuisance parameter.
- [**ChannelCompatibiltyCheck:**](http://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/commonstatsmethods/#channel-compatibility) check how consistent are the individual channels of a combination are
- [**GenerateOnly:**](https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/part3/runningthetool/#generate-only) generate random or Asimov pseudo-datasets for use as input to other methods


## Running Combine and detailed references

Expand All @@ -81,25 +79,33 @@ In 2024 Combine tool became available to the public along with
- detailed user manual: [Combine github pages](https://cms-analysis.github.io/HiggsAnalysis-Combined
Limit/latest/)

The easiest way to run Combine is to use a Docker containerized version of it (which we will do in the next exercise). However there are other ways to
The easiest way to run Combine is to use a Docker containerized version of it (as we will do in the next exercise). The container can be installed as:

```
docker run --name combine -it gitlab-registry.cern.ch/cms-cloud/combine-standalone:<tag>
```

where `<tag>` should be replaced by the latest tag, which is currently `v9.2.1`

There are also other ways, e.g. based on Conda or a standalone compilation. All instructions are given in [this documentation](https://cms-analysis.github.io/HiggsAnalysis-CombinedLimit/latest/#slc6cc7-release-cmssw_8_1_x).

## Publishing statistical models

Statistical models provide an excellent resource for the community.
Publishing them will help maximize the scientific impact of the analysis, and facilitate
Statistical models of our numerous physics analyses would provide an excellent resource for the community.
Publishing them will help maximize the scientific impact of the analyses, and facilitate

- Preservation and documentation: the mathematical construction of the analysis in full detail.
Combination of multiple analyses
- Combination of multiple analyses
- Reinterpretation and reuse (within and outside the collaborations):
- Education on statistics procedures
- Tool development: Statistical software updates can use real world examples to test and debug their recent developments.
- there will certainly be other use cases!
- One can certainly find other use cases!

In December 2023, CMS Collaboration took the decision to release statistical models for all forthcoming analyses by default.
In accordance with open access policy of CERN and CMS.
Must be well-documented and understandable.
Publishing has always been highly desirable. The difficulty was technical implementation.
Now we have a way.
The community report _“Publishing statistical models: Getting the most out of particle physics experiments”_, SciPost Phys. 12, 037 (2022), [arXiv:2109.04981](https://arxiv.org/abs/2109.04981) makes the scientific case for statistical model publication, and discuss technical developments.

In December 2023, CMS Collaboration took the decision to release statistical models for all forthcoming analyses by default. This is in accordance with [open access policy of CERN](https://cds.cern.ch/record/2745133) and the [FAIR principles](https://www.go-fair.org/fair-principles/) (findable, accessible, interoperable, reusable).

The first statistical model published is that for the Higgs boson discovery. The model consists of the Run 1 combination of 5 main Higgs channels ([CMS-HIG-12-028](https://cms-results.web.cern.ch/cms-results/public-results/publications/HIG-12-028/index.html)). The model can be found in [this link](https://repository.cern/records/c2948-e8875).

You can download the model into the Combine container and see the discovery for yourself. The commands are available to combine channels, calculate the significance, measure the signal strength and build a model as Higgs-vector boson, Higgs-fermion coupling modifiers as POIs.

0 comments on commit 4bf07a4

Please sign in to comment.