Fits with Unsymmetrical error

can any one guide us that how to fit the function and minimize chisq when one variable in data has unsymmetrical error?

I want to fit a two parameter fit function (+1 normalization) to data in x and y. There is no error in x but y has unsymmetrical error.
i.e y+(dy1)(-dy2) where dy1 and dy2 are unsymmetrical errors.


You can store your data (x,y) in a TGraphAsymmErrors and use the TGraphAsymmErrors::Fit function, that does a least square fit to the data by using the upper error when the function value is larger than the y point and the lower error in the opposite case Function value lower than y value)

Best Regards


1 Like

Thanks a lot Lorenzo. I will implement.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.