RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.PopnVariance Function

Calculates the population variance.

Pascal
function PopnVariance(const Data: array of Double): Extended;
C++
Extended PopnVariance(const array of Double Data);

PopnVariance calculates the population variance of all values in the Data array parameter, using the n method (biased): TotalVariance / n. In C++,. the Data_Size parameter is the index of the last value in the Data array (one less than the number of data items). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!