Marco,
If you look at the example in $ROOTSYS/tutorials/fitcont.C, you will see
two TGraphs created. each TGraph containing the contour points for a degree
of confidence. These graphs are drawn. You can also see the points printed if
you do
gr1->Print();
gr2->Print();
Rene Brun
Marco Kienzle wrote:
>
> Dear ROOT users,
>
> following a previous message I send last year concerning plot of the 95%
> confidence interval of two estimates, I am wondering now if there is a
> way to retrieve the values of the boundaries of the confidence interval
> in order to output them in a text file: any suggestion ?
>
> cheers,
> marco
>
> Hi Marco,
>
> marco kienzle wrote:
> >
> > Dear rooters,
> >
> > I am a new user of ROOT and didn't find answers to the following questions
> > in the RootTalkDigest:
> > - How do I get the variance-covariance matrix of the fit of a function to an
> > histogram (TH1F) when I use the method Fit (hist->Fit("func");) ?
>
> double matrix[n][n];
> use gMinuit->mnemat(matrix,n);
>
> > - Is there a method to draw 95% confidence interval of the prediction of the
> > fitted function ?
> >
> use gMinuit->mncont
> see an example in $ROOTSYS/tutorials/fitcont.C
>
> Rene Brun
>
> > thanks in advance,
> > marco
> --
> ____________________________________________________________________________
>
> Marco Kienzle
> Fisheries Research Services
> Marine Laboratory
> PO Box 101 Victoria Road
> Aberdeen AB119DB
> United Kingdom
>
> direct: +44 (0) 1224 295421
> tel: +44 (0) 1224 876544
> fax: +44 (0) 1224 295511
> http://www.marlab.ac.uk
Marco,
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET