To whom it may concern: I was not able to send the message to the module author. Hopefully, someone can take a look at it. (Message attached below)
Alex --- Alex Turkenich <[EMAIL PROTECTED]> wrote: > Date: Thu, 10 Oct 2002 14:55:32 -0700 (PDT) > From: Alex Turkenich <[EMAIL PROTECTED]> > Subject: Bug in Statistics::Descriptive module > To: [EMAIL PROTECTED] > > Hi Colin, > > I am using the module Statistics::Descriptive > version > 2.4 and I think there is a bug in least_square_fit > method. Line 377 reads: > > $rms = sqrt($rms) / $count; > > I think it should be: > $rms = sqrt($rms / $count); > > since the formula for RMS is: > > $rms = sqrt(sum(error^2)/n) > > see: > http://www.xycoon.com/lsRoot%20Mean%20Sq.%20Error.htm > > > If you are maintaining this module please fix it. > > Thanks, > > Alex Turkenich > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More > http://faith.yahoo.com > __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com