I tried to fit a few points on a line with a -well- a line.
More in detail: I draw a TGraph using 6 points (1,1), (2,2), (3,3), … (6,6). Then I fitted that using a TF1.
You are having a perfect fit and you have not provide any error (uncertainty on the data points) so it is expected that your chi2 value is very close to zero.
Lorenzo
Uhm…
That makes sense but… Well, I definitely need to study this chapter again, because I remember that the reduced chi^2 should be about 1 for “best” fits. Isn’t it?