[root] / trunk / roofit / roostats / src / BayesianCalculator.cxx Repository:
ViewVC logotype

Log of /trunk/roofit/roostats/src/BayesianCalculator.cxx

Parent Directory Parent Directory


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

Revision 46081 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 20 13:34:46 2012 UTC (2 years, 4 months ago) by moneta
File length: 56152 byte(s)
Diff to previous 44366
implement the possibility to pass the ConditionalObservables when creating the NLL or doing a fit
In this case the NLL will be computed by normalizing only on the observables and excluding the fglobal observables. 
See http://root.cern.ch/phpBB3/viewtopic.php?f=15&t=15312

Revision 44366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 30 15:32:27 2012 UTC (2 years, 7 months ago) by axel
File length: 55918 byte(s)
Diff to previous 44197
Remove #include "Riostream.h" from roofitcore/inc/RooCacheManager.h, which pulls in using namespace std.
Deal with the consequences.

Revision 44197 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 14:52:14 2012 UTC (2 years, 8 months ago) by moneta
File length: 55896 byte(s)
Diff to previous 44092
fix setting and reset of EvalErrorLogCount

Revision 44092 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 3 14:46:24 2012 UTC (2 years, 8 months ago) by moneta
File length: 55176 byte(s)
Diff to previous 44073
fix bug found by  Coverity (42629)

Revision 44073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 15:11:16 2012 UTC (2 years, 8 months ago) by moneta
File length: 55176 byte(s)
Diff to previous 44059
add new setter methods to be more like the MCMC calc. (SetPriorPdf, SetParameters, SetNuisanceParameters)

Revision 44059 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 07:38:48 2012 UTC (2 years, 8 months ago) by moneta
File length: 55176 byte(s)
Diff to previous 44034
- BayesianCalculator: do not require anymore to have a prior pdf when using an uniform prior
  Make it default case as in case of MCMCCalculator

- AsymptoticC. : fix a comment

Revision 44034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 30 14:54:15 2012 UTC (2 years, 8 months ago) by moneta
File length: 54197 byte(s)
Diff to previous 43992
Verious fixes for outstanding Coverity issues (mainly add check of returned pointers to avoid  to dereference them)

Revision 43992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 27 16:11:41 2012 UTC (2 years, 8 months ago) by moneta
File length: 54104 byte(s)
Diff to previous 41455
fix ~ 15 high impact coverity issues (Resource leaks in NumberCountingPdfFactory and Uninitilized variables  in other classes)

Revision 41455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 18 13:23:21 2011 UTC (3 years, 3 months ago) by moneta
File length: 54074 byte(s)
Diff to previous 40058
merge from development branch r41278 through r41454 
 - add new AsymptoticCalculator and its support in HypoTestInverter
 - add utility function to make the nuisance pdf
   + various small improvements

Revision 40058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 28 08:53:59 2011 UTC (3 years, 6 months ago) by moneta
File length: 53672 byte(s)
Diff to previous 39975
fix the class documentation

Revision 39975 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 26 22:49:46 2011 UTC (3 years, 6 months ago) by moneta
File length: 51083 byte(s)
Diff to previous 39865
merge from roostats dev branch : 

 - from Sven: new version of ToyMCSampler
 - from Kyle: update tutorial StandardTestStatDistributionDemo
 -from LM : new version of Inverter with rebuilding pValues distributions using toys
            + update comments

Revision 39865 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 21 20:58:17 2011 UTC (3 years, 7 months ago) by moneta
File length: 48730 byte(s)
Diff to previous 39343
merge roostats and histfactory from development branch up to revision 39830

 - improvements in HypoTestInverter (better interpolation + plot with bands)  + Coverity fixes 
 -  new version of HistFactory from Kyle adding FlexibleInterpvar

Revision 39343 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 23 14:17:53 2011 UTC (3 years, 8 months ago) by moneta
File length: 48730 byte(s)
Diff to previous 39091
merge from dev branch fix 39342 in BayesianCalculator 
  Remove the constant parameters from the list of nuisance parameters

Revision 39091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 4 13:02:56 2011 UTC (3 years, 8 months ago) by moneta
File length: 48542 byte(s)
Diff to previous 38980
fix a coverity report

Revision 38980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 20 21:28:46 2011 UTC (3 years, 9 months ago) by moneta
File length: 48492 byte(s)
Diff to previous 38933
fix a bug in making the plot of posterior pdf under certain conditions (after a scan)
fix a bug when using without nuisances which was introduced when the RooProdPdf was removed

Revision 38933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 19 20:15:51 2011 UTC (3 years, 9 months ago) by moneta
File length: 47943 byte(s)
Diff to previous 38301
merge from development branch of roostats 
https://root.cern.ch/svn/root/branches/dev/roostats
from revision  38733 up to 38932 

- new version of Bayesian calculator with better debugging and not using RooProdPdf
  and with new MC sampling method based on nuisance 
- fix error in ToyMCSampler when using weights (e.g. importance sampling)

Revision 38301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 11:15:48 2011 UTC (3 years, 10 months ago) by moneta
File length: 31913 byte(s)
Diff to previous 37487
add a protection when likelihood evaluates to infinity

Revision 37487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 10:31:05 2010 UTC (4 years, 1 month ago) by moneta
File length: 30526 byte(s)
Diff to previous 37084
update and clean up log messages - (suppress some debug messages committed before by mistake)

Revision 37084 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 29 21:37:13 2010 UTC (4 years, 1 month ago) by moneta
File length: 29655 byte(s)
Diff to previous 35810
merge from the development branch the changes applied by Kyle and Sven from revision 36852 to 
37056. 

Major changes:  added HybridCalculatorGeneric
                fixes for ModelConfig when reading from a file

Revision 35810 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 27 20:05:22 2010 UTC (4 years, 3 months ago) by moneta
File length: 30566 byte(s)
Diff to previous 35075
fixes from Coverity. Majors bugs are in MCMCInterval (memory leak + misuse of array)

Revision 35075 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 15:23:13 2010 UTC (4 years, 4 months ago) by moneta
File length: 30002 byte(s)
Diff to previous 35056
fix a bug when shifting likelihood in case of nuisance parameters (wrong sign was used in the previous commit)

Revision 35056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 27 20:03:18 2010 UTC (4 years, 4 months ago) by moneta
File length: 29966 byte(s)
Diff to previous 35054
apply fix for numerical evaluation of likelihood by shifting the nll also when there are nuisance parameters

Revision 35054 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 27 16:42:39 2010 UTC (4 years, 4 months ago) by moneta
File length: 29294 byte(s)
Diff to previous 34134
apply a fix to avoid overflows when calculating the exponent for the likelihood function. 
Shift now the loglikelihood to have 0 at the minimum

Revision 34134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 25 14:07:15 2010 UTC (4 years, 7 months ago) by moneta
File length: 28596 byte(s)
Diff to previous 34109
fix 2 issues : 
 - remove constant parameters 
 - perform the approximate scan of the posterior function when making the plot (if requested)

Revision 34109 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 24 15:00:16 2010 UTC (4 years, 7 months ago) by moneta
File length: 28183 byte(s)
Diff to previous 33228
merge roostats development branch from revision 33228 to 34108 included

Revision 33228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 07:09:42 2010 UTC (4 years, 8 months ago) by moneta
File length: 10110 byte(s)
Diff to previous 31876
merge last fix committed in https://root.cern.ch/svn/root/branches/dev/roostats/roofit/roostats in BayesianCalculator

Revision 31876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 14 11:11:27 2009 UTC (5 years, 1 month ago) by brun
File length: 9681 byte(s)
Diff to previous 31742
From Lorenzo:
patch improving the RooStats comments

Revision 31742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 17:34:15 2009 UTC (5 years, 1 month ago) by moneta
File length: 7097 byte(s)
Diff to previous 31741
fix warning coming and an error from previous commit

Revision 31741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 17:27:53 2009 UTC (5 years, 1 month ago) by moneta
File length: 7088 byte(s)
Diff to previous 31452
import changes from roostats dev branch r31494 through r31740  of 
https://root.cern.ch/svn/root/branches/dev/roostats/roofit/roostats
made by Gregory

Revision 31452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 27 16:19:25 2009 UTC (5 years, 1 month ago) by moneta
File length: 6807 byte(s)
Diff to previous 31276
fix a bug in calculating the limit in the BayesianCalculator (merged from dev branch)

Revision 31276 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 18 15:06:42 2009 UTC (5 years, 2 months ago) by moneta
File length: 6805 byte(s)
Diff to previous 30756
merge developments in https://root.cern.ch/svn/root/branches/dev/roostats/roofit/roostats from revision 30833 to revision 31273 


fix also the tutorials due to the new changes (copy from branch)

Revision 30756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 16 09:24:21 2009 UTC (5 years, 3 months ago) by moneta
File length: 6700 byte(s)
Diff to previous 30734
fix initialization of fInterval data member

this fises crash in rs701 tutorial

Revision 30734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 15 08:28:08 2009 UTC (5 years, 3 months ago) by moneta
File length: 6651 byte(s)
Diff to previous 30728
fix a bug in producing the posterior plot

Revision 30728 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 14 13:41:30 2009 UTC (5 years, 3 months ago) by moneta
File length: 6665 byte(s)
Diff to previous 30714
Fix the name of the posterior pdf using the names of all components

Revision 30714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 14 08:57:59 2009 UTC (5 years, 3 months ago) by moneta
File length: 6604 byte(s)
Diff to previous 30654
- add a new function to set number of points for producing the PL scan plot 
- cache lower/upper limit values in Likelihood interval class to vaoid re-computing them for same parameter and same confidence level 
- improve BayesianCalculator class. Add an option string in GetPosterior to avoid making two posterior pdf's with same name.

Revision 30654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 9 15:07:52 2009 UTC (5 years, 3 months ago) by moneta
File length: 6300 byte(s)
Diff to previous 30524
- clean up of HybridPlot and draw it in current pad
- add support for using CL_S or CL_SB in HypoTestInvertor
- fix a probelm in constructor of BayesianCalculator

Revision 30524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 29 09:01:04 2009 UTC (5 years, 3 months ago) by moneta
File length: 6271 byte(s)
Diff to previous 30512
Merging r30520 through r30523 for https://root.cern.ch/svn/root/branches/dev/roostats

  - fix an unitialized variable in BayesianCalculator
  - remove log messages in LikelihoodInterval

Revision 30512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 28 17:24:48 2009 UTC (5 years, 3 months ago) by moneta
File length: 6220 byte(s)
Diff to previous 30494
- merge from roostats dev branch ( https://root.cern.ch/svn/root/branches/dev/roostats )
  Merging r30495 through r30511

  in summary: 
  use ModelConfig for MCMCCalculator, FeldmanCousins and NeymanCOnstruction 
  and clean-up by removing Wokspace references 

  add missing TNamed inheritance

Revision 30494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 27 19:22:05 2009 UTC (5 years, 3 months ago) by moneta
File length: 4766 byte(s)
Diff to previous 30489
merge from dev branch fix for Windows

Revision 30489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 26 17:38:52 2009 UTC (5 years, 3 months ago) by moneta
File length: 4401 byte(s)
Diff to previous 30462
merge changes from dev branch. Fix for nightly and add  class HypoTestInverter clas from Gregory

Revision 30462 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 25 16:05:55 2009 UTC (5 years, 3 months ago) by moneta
File length: 3789 byte(s)
Copied from: branches/dev/roostats/roofit/roostats/src/BayesianCalculator.cxx revision 30459
Diff to previous 30450
merge with roostats dev branch all the changes from release 5.24
 (see full log in http://root.cern.ch/viewvc/branches/dev/roostats/?view=log from revision 29258)

Revision 30450 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 25 13:30:32 2009 UTC (5 years, 3 months ago) by moneta
Original Path: branches/dev/roostats/roofit/roostats/src/BayesianCalculator.cxx
File length: 3789 byte(s)
Copied from: branches/dev/roostats/roofit/roostats/src/BayesianNumIntCalculator.cxx revision 30444
Diff to previous 30055
- New version of ModelConfig

- Rename BayesianNumIntCalculator BayesianCalculator 
   
- improve calculator classes (Hybrid, Likelihood and Bayesian) to use the ModelConfig
  - clean up teh classes removing many setter methods

- remove usage of WorkSpace from the calculator. 

- CombinedCalculator
   store now the pointer to pdf and parameters instead of workspace and names 

- LikelihoodCalculator: 

   fix GetHypoTest() 

- HybridCalculator: 
  remove WS as data member and remove it fro constructor and setter methods

Revision 30055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 7 14:31:09 2009 UTC (5 years, 4 months ago) by moneta
Original Path: branches/dev/roostats/roofit/roostats/src/BayesianNumIntCalculator.cxx
File length: 2715 byte(s)
Diff to previous 30028
fix a compilation error on g++ 4.3 and remove some compilation warnings

Revision 30028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 3 09:44:05 2009 UTC (5 years, 4 months ago) by schott
Original Path: branches/dev/roostats/roofit/roostats/src/BayesianNumIntCalculator.cxx
File length: 2720 byte(s)
Diff to previous 30027
temporary remove interior filling on the plot

Revision 30027 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Sep 3 09:34:30 2009 UTC (5 years, 4 months ago) by schott
Original Path: branches/dev/roostats/roofit/roostats/src/BayesianNumIntCalculator.cxx
File length: 2718 byte(s)
new simple bayesian with numerical integration

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