commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
Subject Re: [math] Greetings from a newcomer (but not to numerics)
Date Sun, 25 May 2003 16:20:27 GMT
In fact the higher the moment you calculate (variance, skew, kurtosis) 
on the below set of numbers, the greater the loss of precision, this is 
because for values less than one

sumquad << sumcube << sumsq << sum

-Mark

Mark R. Diggory wrote:

> In terms of precision, I can already see simple examples of what you are 
> talking about in our code where we calculate moments in Univar.
> 
> sum/n
> 
> where if sum << n there will be loss in precision. Say your averaging a 
> very large number of very small double values. There will be loss of 
> precision that may be problematic.
> 
> -Mark
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message