<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I've been using the TEfficiency class to calculate the uncertainty for binned efficiencies.</div><div><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__root.cern.ch_doc_master_classTEfficiency.html&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=XtVl8BY42jbbWh0Vu1ygqgFBYEJMENirtKAh3P_9ayw&m=p_JDxPoCy4gZfVxXIuO-KL2JBeXRVEG5BT3OinPWKoc&s=KxD1ajQNJhhzlM5UEug-Gl5BtFYBw3o6bzeDAT4lzZ4&e=">https://root.cern.ch/doc/master/classTEfficiency.html</a><br></div><div dir="ltr"><br></div><div>I thought the default setting used the Bayesian method I've mentioned in the past, outlined in the link below.</div><div><div style="color:rgb(0,0,0)"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lss.fnal.gov_archive_test-2Dtm_2000_fermilab-2Dtm-2D2286-2Dcd.pdf&d=DwMFaQ&c=CJqEzB1piLOyyvZjb8YUQw&r=XtVl8BY42jbbWh0Vu1ygqgFBYEJMENirtKAh3P_9ayw&m=p_JDxPoCy4gZfVxXIuO-KL2JBeXRVEG5BT3OinPWKoc&s=BaMx6yf-0-pLJfCMCF-ZLC1iRWiJ-ZvmjqhbThHhd7U&e=">https://lss.fnal.gov/archive/test-tm/2000/fermilab-tm-2286-cd.pdf</a><br></div></div><div dir="ltr"><br></div><div>However, it turns out the default method that I've been using is Clopper-Pearson. The options for confidence intervals are described in section IV of the ROOT documentation above.</div><div><br></div><div>I'll upload my weighted efficiencies and unweighted efficiencies to the spreadsheet. Changing the binned efficiencies' uncertainty calculation only requires changing one line of code. That'll change the weighted values, but I have a pipeline setup that output a CSV that can be easily uploaded to the spreadsheet.</div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr">- John</div></div></div></div></div></div></div></div>