Coder Social home page Coder Social logo

Specialized Books about histbook HOT 3 CLOSED

scikit-hep avatar scikit-hep commented on August 25, 2024
Specialized Books

from histbook.

Comments (3)

lukasheinrich avatar lukasheinrich commented on August 25, 2024

Right now the space of fit parameters is R^N without any bounds (bounds are applied in the fit, but these are mostly arbitrary). Right now we do indeed scale that space via number of sigmas (e.g. up/nominal/down are at 1,0,-1 respectively, but I think this is mostly an implementation detail. It is the job of the analyzer to specify at which floating point value (using units s/he determines are best) the histograms live. I think for histbook it's enough to use R^n or string^n and leave the units to the user (or alternatively fix a unit system and then it's the job of the user to provide the right floats)

There might also be a non-trivial condition on the validity of the interpolation/extrapolation.. but that is probably the job of the interpolation to handle (eg. only some subspace of R^n might be valid) trying to request a histogram outside of that subvolume should raise an error/exception.

from histbook.

jpivarski avatar jpivarski commented on August 25, 2024

The reason I ask is because one of histbook's methods, Hist.fraction, makes an efficiency plot with a choice of binomial statistics (e.g. Wilson, Clopper-Pearson, Feldman-Cousins, etc.). One of the inputs to this calculation is a user-specified "number of sigmas" or "confidence level" where the user would like to have the asymmetric error bounds quoted. So far, I've been using confidence level because it's conceptually more relevant for arbitrary probability distributions, but it means that the default value is erf(sqrt(0.5)) (one sigma).

I'm trying to decide which are the right "units" for the statistical error space. If you're using number of sigmas n in R^N and nobody's complained that computing confidence levels with CL = erf(sqrt(0.5*n)) goes through a Gaussian assumption that might not be valid, then I'll do it, too. R^N is much easier to work with than (0, 1)^N and if a Gaussian assumption is not valid, then we just say that erf(sqrt(0.5*n)) is a "convenient transformation function" that we use to scale confidence levels.

from histbook.

jpivarski avatar jpivarski commented on August 25, 2024

Apart from the discussion about sigmas versus confidence levels, this is actually #20, which is done.

from histbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.