DebuggingSampler is a simple implementation of the DistributionCreator interface used for debugging. The sampling distribution is uniformly random between [0,1] and is INDEPENDENT of the data. So it is not useful for true statistical tests, but it is useful for debugging.
TRandom* | fRand | |
Double_t | fSize | |
RooRealVar* | fTestStatistic |
Main interface to get a ConfInterval, pure virtual
Main interface to evaluate the test statistic on a dataset
specify the nuisance parameters (eg. the rest of the parameters)
{}
specify the values of parameters used when evaluating test statistic
{}
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval)
{fSize = size;}
set the confidence level for the interval (eg. 0.95 for a 95% Confidence Interval)
{fSize = 1.-cl;}
Set the TestStatistic (want the argument to be a function of the data & parameter points