Field-Map Scripting

4.1.3.2.11 WeightedStandardDeviation

WeightedStandardDeviation function


Prototype:

function WeightedStandardDeviation (TableOrLayer : TObjectWrapper; const AttributeName :string; const WeightAttribute :string; const NullAsZero :boolean) : extended;

Description:

Calculates weighted standard deviation of a specific attribute

Syntax:

variable := WeightedStandardDeviation (tab, AttributeName, WeightAttribute, NullAsZero);


Part

Description


variable

A variable declared as type of extended


tab

Table containing source variables


AttributeName

Attribute of source table containing data to enter calculations


WeightAttribute

Attribute of source table containing weights


NullAsZero

Boolean expression defining whether to exclude null (false) entries or replace nulls with zeros (true)




Return value:

Weighted standard deviation



See also:

Mean; QuadraticMean; WeightedMean; Median; SampleVariance; StandardDeviation; StandardError; MeanError;VarianceOfMean; WeightedSampleVariance; WeightedStandardDeviation; WeightedVarianceOfMean;ConfidenceIntervalOfMean; VarianceOfTotal; ConfidenceIntervalOfTotal; StratifiedConfidenceIntervalOfTotal; SampleSize;ShowDistributionChart; ParameterizeRegressionModel; CalculateModelValue


Example