Re: [ROOT] variance covariance matrix

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jan 28 2002 - 12:01:59 MET


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
> 
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> -----------------------
> Dott. Kienzle Marco
> CNR-IRMA
> Laboratorio di Biologia Marina
> Via G.da Verrazzano 17
> 91 014 Castellammare del Golfo (TP)
> ITALIA
> 
> tel:  0924/ 35013
> fax 0924/  35084
> Email: kienzle@irma.pa.cnr.it



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:40 MET