Variables | |
| bc = ROOT.RooStats.BayesianCalculator(data, modelConfig) | |
| bcInt = bc.GetInterval() | |
| bcPlot = bc.GetPosteriorPlot() | |
| canvas = ROOT.TCanvas("canvas") | |
| float | confidenceLevel = 0.95 |
| data = wspace["normal"].generate(wspace.set("obs"), 100) | |
| expectedLL = data.mean(x) + ROOT.Math.normal_quantile((1 - confidenceLevel) / 2, 1) / ROOT.sqrt(data.numEntries()) | |
| expectedUL = data.mean(x) + ROOT.Math.normal_quantile_c((1 - confidenceLevel) / 2, 1) / ROOT.sqrt(data.numEntries()) | |
| fc = ROOT.RooStats.FeldmanCousins(data, modelConfig) | |
| frame = x.frame() | |
| interval = fc.GetInterval() | |
| mc = ROOT.RooStats.MCMCCalculator(data, modelConfig) | |
| mcInt = mc.GetInterval() | |
| mcPlot = ROOT.RooStats.MCMCIntervalPlot(mcInt) | |
| modelConfig = ROOT.RooStats.ModelConfig("Example G(x|mu,1)") | |
| mu = wspace["mu"] | |
| plc = ROOT.RooStats.ProfileLikelihoodCalculator(data, modelConfig) | |
| plInt = plc.GetInterval() | |
| plot = ROOT.RooStats.LikelihoodIntervalPlot(plInt) | |
| t = ROOT.TStopwatch() | |
| wspace = ROOT.RooWorkspace() | |
| x = wspace["x"] | |
| IntervalExamples.bc = ROOT.RooStats.BayesianCalculator(data, modelConfig) |
Definition at line 80 of file IntervalExamples.py.
| IntervalExamples.bcInt = bc.GetInterval() |
Definition at line 82 of file IntervalExamples.py.
| IntervalExamples.bcPlot = bc.GetPosteriorPlot() |
Definition at line 142 of file IntervalExamples.py.
| IntervalExamples.canvas = ROOT.TCanvas("canvas") |
Definition at line 119 of file IntervalExamples.py.
| float IntervalExamples.confidenceLevel = 0.95 |
Definition at line 55 of file IntervalExamples.py.
| IntervalExamples.data = wspace["normal"].generate(wspace.set("obs"), 100) |
Definition at line 47 of file IntervalExamples.py.
| IntervalExamples.expectedLL = data.mean(x) + ROOT.Math.normal_quantile((1 - confidenceLevel) / 2, 1) / ROOT.sqrt(data.numEntries()) |
Definition at line 95 of file IntervalExamples.py.
| IntervalExamples.expectedUL = data.mean(x) + ROOT.Math.normal_quantile_c((1 - confidenceLevel) / 2, 1) / ROOT.sqrt(data.numEntries()) |
Definition at line 96 of file IntervalExamples.py.
| IntervalExamples.fc = ROOT.RooStats.FeldmanCousins(data, modelConfig) |
Definition at line 63 of file IntervalExamples.py.
| IntervalExamples.frame = x.frame() |
Definition at line 124 of file IntervalExamples.py.
| IntervalExamples.interval = fc.GetInterval() |
Definition at line 72 of file IntervalExamples.py.
| IntervalExamples.mc = ROOT.RooStats.MCMCCalculator(data, modelConfig) |
Definition at line 85 of file IntervalExamples.py.
| IntervalExamples.mcInt = mc.GetInterval() |
Definition at line 92 of file IntervalExamples.py.
| IntervalExamples.mcPlot = ROOT.RooStats.MCMCIntervalPlot(mcInt) |
Definition at line 136 of file IntervalExamples.py.
Definition at line 40 of file IntervalExamples.py.
| IntervalExamples.mu = wspace["mu"] |
Definition at line 52 of file IntervalExamples.py.
| IntervalExamples.plc = ROOT.RooStats.ProfileLikelihoodCalculator(data, modelConfig) |
Definition at line 58 of file IntervalExamples.py.
| IntervalExamples.plInt = plc.GetInterval() |
Definition at line 60 of file IntervalExamples.py.
| IntervalExamples.plot = ROOT.RooStats.LikelihoodIntervalPlot(plInt) |
Definition at line 131 of file IntervalExamples.py.
| IntervalExamples.t = ROOT.TStopwatch() |
Definition at line 27 of file IntervalExamples.py.
| IntervalExamples.wspace = ROOT.RooWorkspace() |
Definition at line 34 of file IntervalExamples.py.
| IntervalExamples.x = wspace["x"] |
Definition at line 51 of file IntervalExamples.py.