{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
PopulationVariance
Returns the population variance of the field values or array elements, calculated by squaring the standard deviation calculated over all values or elements.
Usage:
PopulationVariance( fld ) PopulationVariance( fld, condFld ) PopulationVariance( fld, condFld, cond ) PopulationVariance( array )
Parameters:
fld | The name of a field whose values should be used to calculate the population variance. |
---|---|
condFld | The name of the field that groups the values of fld (if fld isn't an array). |
cond | A string declaring the type of grouping to be used on condFld. This only makes sense for groups based on Date, DateTime, Time, and Boolean fields. See Summary Field Conditions for a list of strings you can use here. |
array | The name of an array variable whose values should be used to calculate the population variance. |
Returns:
Numeric value
Examples:
PopulationVariance({data.Temperatur}, {data.Region}) //returns the value of variance for a field Temperature grouped by Region
Notes:
-
If the values in fld should be grouped, a group based on condFld is needed. If the group does not exist in the report, you can add it using i-net Designer or using API method: Engine.addGroup.