I have some data points with associated errors in the form of
std::vector, i.e. arrays
I am using the
ROOT::Fit::Fitter class and provide it with the fit function
ROOT::Math::Functor. My question: is it possible to get the estimated errors in the input variables as an output from the fitting procedure ?!.
Thank you very much in advance,
I guess you would like to do a Least-square fit to your x , y and errors y points. In that case, you can use directly the
TGraphErrors class or via the
ROOT::Fit::Fitter you need to create and fill a
ROOT::Fit::BinData object .
You can look at the example
tutorials/fit/exampleFit3D.C tutorial https://root.cern.ch/doc/master/exampleFit3D_8C.html
Wonderful, thank you very much for this valuable information.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.