Expose the two possible standard deviations as separate visitors and functions ------------------------------------------------------------------------------
Key: GEOT-3329 URL: http://jira.codehaus.org/browse/GEOT-3329 Project: GeoTools Issue Type: Improvement Components: core main, data jdbc-ng Affects Versions: 2.7-M3 Reporter: Andrea Aime Assignee: Andrea Aime Fix For: 2.7-M4 The standard deviation is unfortunately not defined as one function, but two, sample and population (aka biased): http://en.wikipedia.org/wiki/Standard_deviation http://mathworld.wolfram.com/StandardDeviation.html One divides the variance by N, the other by N-1. The GeoTools StandardDeviation function uses division by N, most databases (but not all) use N-1 instead when stddev is called. Have Geotools do like various databases, that recently exposed two separate functions to avoid the confusion: http://www.postgresql.org/docs/8.4/interactive/functions-aggregate.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel