Fit with the likelihood method of unbinned weighted data?

Hi,

I have been using ROOT::Fit::UnBinData for fits with the likelihood method and wonder whether anything analogous is available for unbinned weighted data x[n] with weights w[n]

Thanks

Marios

Hi,
There is presently not support for unbinned fits with weights using the ROOT::Fit::UnBinData class. Special care must be taken in this case in evaluating the covariance matrix. The method is explained in the Fred James 's book ("Statistical Methods in Experimental Physics, second edition, page 196).
RooFit provides support for weighted unbinned fit, see the tutorial rf403:

root.cern.ch/root/html/tutorials … vts.C.html

Best Regards

Lorenzo