How does root calculate chi2 and pdf with point error==0


_ROOT Version:6.20.00


It seem the TGraphErrors automatically delete the point with ey==0 when calculating the chi2 and ndf after fitting.
Could someone help find the source code in root?

Use the “W” fit option (or set reasonable errors for all data points).

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