[root] / trunk / hist / hist / inc / TLimit.h Repository:
ViewVC logotype

Log of /trunk/hist/hist/inc/TLimit.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 22694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 20:23:21 2008 UTC (6 years, 10 months ago) by rdm
File length: 2647 byte(s)
Diff to previous 20882
move hist, histpainter, spectrum and spectrumpainter in the hist package.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/hist/inc/TLimit.h
File length: 2647 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/hist/inc/TLimit.h
File length: 2647 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/hist/inc/TLimit.h
File length: 2694 byte(s)
Diff to previous 17642
remove :$ from tag line

Revision 17642 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 2 19:08:39 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 2704 byte(s)
Diff to previous 16530
Move implementation of inline functions calling TMath to the implementation files.

Revision 16530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 15 06:23:48 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 2788 byte(s)
Diff to previous 15181
From Christophe Delaere:
new version of TLimit. It implements Tom Junk's solution for a
bias appearing sometimes when introducing systematics.
Bellow is the detailed information.



Following an exchange of mails between Laurent Duflot and Tom Junk,
Tom wrote the following:

"Laurent Duflot has given me an example which showed me I was wrong with
how I reweight s+b pseudoexperiments to get background-only
pseudoexperiments and vice versa.  I am sending this along to Alex Read
and Bill Murray in case they might say "Yes, you should have known that
all along, Tom!".  It certainly was a surprise to me.

  We do "importance sampling" of s+b and b pseudoexperiments and reweight
them to look like the other kind, and the weight factor is the likelihood
ratio, which coincidentally happens to look like our test statistic.
But the test statistic uses central values of s and b so as not to split
outcomes, and the weights for reweighting pseudoexperiments I was using
were the likelihood ratios using systematically varied s and b on each
pseudoexperiment, where I pick smeared values on each pseudoexperiment.

 The problem is that this is biased.  Pseudoexperiments in the
background-hypothesis distribution that are more signal-like
preferentially have their background expectations systematically varied
upwards.  Pseudoexperiments in the s+b distribution that are more
background-like preferentially have their background expectations
systematically varied downwards.  These two kinds of outcomes may
populate the same bin of -2lnQ.  Reweighting the bg pseudoexperiments
to look like corresponding s+b pseudoexperiments should take into
account that the corresponding backgrounds are different.

  I've approximated this by re-fluctuating the signal and the background
on each pseudoexperiment to get an unbiased target distribution.  So the
weight ratio is

Ratio = P(pd|s1+b1)/P(pd|b2)

where pd=pseudodata, s1, b1 are a randomly re-fluctuated signal and
background, and b2 is the fluctuated background which gave me that
pseudodata, and this weight should turn a biased background
pseudoexperiment into a representative s+b pseudoexperiment.

  The problem I see now is that the s+b pseudoexperiment should also be
biased, but I do not know how to compute this without running a lot of
pseudoexperiments.  It also gets tough as the number of variable
systematic errors gets large.

 Nonetheless, the approximation above helps make the reweighted quantities
match more their unweighted counterparts in the large-pseudoexperiment
limit.

Revision 15181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 15:13:03 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/hist/inc/TLimit.h
File length: 3454 byte(s)
Diff to previous 13825
one more round of code cleanup: change NULL by 0 in all C++ code.

Revision 13825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 15 22:03:51 2006 UTC (9 years ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 3476 byte(s)
Diff to previous 13387
From Axel:
fix that prevents Cint from issuing a warning about LogLikelihood
being undefined.

Revision 13387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 29 06:16:16 2005 UTC (9 years, 1 month ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 3476 byte(s)
Diff to previous 13123
Replace the class forward declaration of TVectorD by #include "TVectorDfwd.h"

Revision 13123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 20:52:11 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 3466 byte(s)
Diff to previous 13117
From Christophe Delaere.
Speed improvements in TLimit. The intermediate histogram result is created only once.

Revision 13117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 16:31:26 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 3452 byte(s)
Diff to previous 12647
From Christophe Delaere
New version of TLimit with new constructors and the possibility
to use the class with different histogram types (TH1) instead of only TH1D.

Revision 12647 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 10:02:38 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 1742 byte(s)
Diff to previous 8049
Fix remaining coding conventions in hist.
This has required many changes in TSpectrum and helper classes.

Revision 8049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 27 13:41:53 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 1707 byte(s)
Diff to previous 6337
From Christophe Delaere:

TLimit has been modified to take into account statistical errors from the MC.
Tutorial limit.C modified accordingly.

In TMultiLayerPerceptron, add the possibilite to export the NN
in Python format.
Corrected a problem with TEventlist when 2 NN are in the same directory.
Update the example mlpHiggs.C
The web page describing this work has also been updated. see:
http://www.fynu.ucl.ac.be/users/c.delaere/MLP/

Revision 6337 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 14:53:50 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 1630 byte(s)
Diff to previous 5222
Fix from Christophe Delaere.
All TH1F and TArrayF are replaced by TH1D and TArrayD respectively.
This solves some numerical precision problems observed with the float
implementation

Revision 5222 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Sep 6 19:58:00 2002 UTC (12 years, 4 months ago) by brun
Original Path: trunk/hist/inc/TLimit.h
File length: 1631 byte(s)
Add a new set of classes by Christophe.Delaere@cern.ch to compute 95% CL limits.
 adapted from the mclimit code from Tom Junk

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9