Hi. See https://issues.apache.org/jira/browse/MATH-1206
The "getChiSquare()" was in the older API (in "o.a.c.m.optim) but not in the refactored one (in "o.a.c.m.fitting.leastsquares"). I suppose that it was deemed obvious that the chi2 could be obtained as the square of the value returned by "getCost()". However, the "cost" can too easily be mistaken to mean the value of "objective function". So I suggest to add back the obvious "getChiSquare()". Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org