#include "RooAbsFunc.h"
#include "RooAbsReal.h"
#include "RooRealVar.h"
#include "RooArgSet.h"
#include "RooBrentRootFinder.h"
#include "RooFormulaVar.h"
#include "RooGenericPdf.h"
#include "RooPlot.h"
#include "RooProdPdf.h"
#include "RooStats/BayesianCalculator.h"
#include "RooStats/ModelConfig.h"
#include "RooStats/RooStatsUtils.h"
#include "Math/IFunction.h"
#include "Math/IntegratorMultiDim.h"
#include "Math/Integrator.h"
#include "Math/RootFinder.h"
#include "Math/BrentMinimizer1D.h"
#include "RooFunctor.h"
#include "RooFunctor1DBinding.h"
#include "RooTFnBinding.h"
#include "RooMsgService.h"
#include "TAxis.h"
#include "TF1.h"
#include "TH1.h"
#include "TMath.h"
#include "TCanvas.h"
#include <map>
#include <cmath>
#include "RConfigure.h"
Go to the source code of this file.
Functions | |
ClassImp (RooStats::BayesianCalculator) namespace RooStats |
ClassImp | ( | RooStats::BayesianCalculator | ) |
BayesianCalculator class
build and return the posterior pdf (i.e posterior function normalized to all range of poi NOTE: user must delete the returned object
return a RooPlot with the posterior and the credibility region
returns a SimpleInterval with lower and upper bounds on the parameter of interest specified in the constructor. Using the method (to be called before SetInterval) SetLeftSideTailFraction the user can choose the type of interval. By default the returned interval is a central interval with the confidence level specified previously in the constructor ( LeftSideTailFraction = 0.5). For lower limit use SetLeftSideTailFraction = 1 For upper limit use SetLeftSideTailFraction = 0 for shortest intervals use SetLeftSideTailFraction = -1 or call the method SetShortestInterval() NOTE: The BayesianCaluclator covers only the case with one single parameter of interest
Returns the value of the parameter for the point in parameter-space that is the most likely. How do we do if there are points that are equi-probable? use approximate posterior t.b.d use real function to find the mode
Definition at line 54 of file BayesianCalculator.cxx.
References RooAbsCollection::add(), RooAbsReal::asTF(), ccoutD, cdf(), TNamed::Clone(), RooFit::Constrain(), RooAbsReal::CountErrors, coutE, coutI, coutW, data, RooFit::DrawOption(), E, error, RooFit::Eval, exp(), RooFit::FillColor(), RooBrentRootFinder::findRoot(), RooAbsRealLValue::frame(), fSize, ROOT::Math::BrentMinimizer1D::FValMinimum(), TArrayD::GetArray(), TH1::GetBinLowEdge(), TAxis::GetBinUpEdge(), RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), TNamed::GetName(), TF1::GetNpx(), RooAbsCollection::getSize(), TArray::GetSize(), TH1::GetSumOfWeights(), TNamed::GetTitle(), ROOT::Math::IntegratorMultiDim::GetType(), ROOT::Math::IntegratorOneDim::GetType(), RooRealVar::getVal(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), h, h1, i, RooFit::InputArguments, ROOT::Math::RootFinder::kBRENT, kFALSE, kGray, ROOT::Math::RootFinder::kGSL_BRENT, ROOT::Math::BrentMinimizer1D::Minimize(), model, RooFit::MoveToBack(), n, ROOT::Math::RootFinder::Name(), name, norm(), RooFit::NumIntegration, ok, ooccoutD, ooccoutW, oocoutI, oocoutW, p, par, plot(), RooAbsReal::plotOn(), RooFit::Precision(), RooFit::Range(), RooStats::RemoveConstantParameters(), ROOT::Math::RootFinder::Root(), RooFit::ScanNoCdf(), RooAbsReal::setEvalErrorLoggingMode(), ROOT::Math::BrentMinimizer1D::SetFunction(), ROOT::Math::IntegratorMultiDim::SetFunction(), TH1::SetName(), TF1::SetNpx(), RooBrentRootFinder::setTol(), RooRealVar::setVal(), ROOT::Math::RootFinder::Solve(), TMath::Sort(), title, type, RooFit::VLines(), x, xmax, xmin, and y.