Giter Club home page Giter Club logo

Comments (1)

A-A-Abdelhamid avatar A-A-Abdelhamid commented on July 21, 2024

Consulting "Wikipedia" as advised, this is the simplified error propagation formula:

Screenshot 2023-08-17 at 12 42 01 PM

Acceptance (A) = passed events/(passed+ non-passed events) = p/(p+n)
Uncertainty for p (passed) is square root p, for n (did not pass) is square root n

dA/dp = n/(p+n)^2

dA/dn = p/(p+n)^2

p = 7856     # Number of passed events 

n= 20000-p # Number of events that did not pass

p_err= math.sqrt(p)
n_err= math.sqrt(n)

dA_dp= n/((n+p)**2)
dA_dn= p/((n+p)**2)

sigma_A= math.sqrt((dA_dp*p_err)**2 + (dA_dn*n_err)**2 )

A= p/(p+n)
print("Acceptance is: ", A, "with uncertainty of  +/-", sigma_A)

And the output is:

Acceptance is: 0.3928 with uncertainty of +/- 0.0034533184040861334

Both methods agree to 2 significant-figure value of uncertainty = "0.0034"

from llp_sleptons_rpv_susy.

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.