commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <>
Subject Re: [jira] Commented: (MATH-85) [math] SimpleRegression getSumSquaredErrors
Date Tue, 11 Jul 2006 20:32:29 GMT
Phil Steitz wrote:
>> Just replace the return statement by :
>>    Math.amx(0, sumYY - sumXY * sumXY / sumXX);
> Sounds good.

Well, the majority of the num math text books on my shelf actually
recommend computing the sum of the squared errors instead of the
algebraic equivalent form given in the more analytically oriented
text books (and used above). This is, of course, more complicated
and still prone to adverse numerical effects unless the sequence
is also sorted.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message