Illustrates TVirtualFitter::GetConfidenceIntervals This method computes confidence intervals for the fitted function
Processing /mnt/build/workspace/root-makedoc-v614/rootspi/rdoc/src/v6-14-00-patches/tutorials/fit/ConfidenceIntervals.C...
void ConfidenceIntervals()
{
"Confidence intervals on the fitted function",1200, 500);
for (i=0; i<ngr; i++){
}
TF1 *fpol =
new TF1(
"fpol",
"pol1", -1, 1);
grint->
SetTitle(
"Fitted line with .95 conf. band");
for (i=0; i<ngr; i++)
"Fitted gaussian with .95 conf.band", 100, -3, 3);
TF1 *f =
new TF1(
"fgaus",
"gaus", -3, 3);
"Fitted gaussian with .95 conf.band", 100, -3, 3);
"1000*(([0]*sin(x)/x)*([1]*sin(y)/y))+250",-6,6,-6,6);
for (i=0; i<ngr2; i++){
z = f2->
Eval(x,y)*(1+rnd);
}
for (i=0; i<ngr2; i++)
grint2->
SetTitle(
"Fitted 2d function with .95 error bars");
}
- Author
- Rene Brun
Definition in file ConfidenceIntervals.C.