[ROOT] confidence levels

From: Marco Kienzle (m.kienzle@marlab.ac.uk)
Date: Tue Mar 23 2004 - 11:18:49 MET


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



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET