[Qgis-developer] A bug in raster stats?

Manuel Massing m.massing at warped-space.de
Thu Aug 12 04:47:11 EDT 2010


Hi Benoit,

> Sum of squares
> 40194.0016233767
> Sum of all cells
> 8931.0000000000

The stats show the empirical variance of the data (i.e. sum (value-mean)^2 ),
whereas 169078 is the sum of uncentered squares.

Maybe the property could be renamed to "sum of squared deviations" to clarify 
this distinction?

As for the sum, that was  an off by one error (fixed in r14069). 
Good catch :-)

bye,

	Manuel


More information about the Qgis-developer mailing list