Re: [ROOT] error matrix

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu May 30 2002 - 17:21:33 MEST


Hi Alexander,

The error matrix is not available via TF1. You can get the error matrix
immediatly after having called TH1::Fit (or TGraph::Fit) with, eg
   const int npar = 5; // your number of parameters
   double matrix[npar][npar];
   gMinuit->mnemat(&matrix[0][0],npar);

Rene Brun

On Wed, 29 May 2002, Alexander Kupco wrote:

> Hello,
> 
>    is there any way how to access error matrix of the fitted function?
> TF1 class has method
> for getting errors of fitted parameters, is there a similar function for
> correlation matrix?
> 
> Thanks,
> 
> Alexander Kupco
> 



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