Field-Map Scripting

4.1.3.2.10 WeightedSampleVariance

WeightedSampleVariance function


Prototype:

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

Description:

Calculates weighted variance of a specific attribute

Syntax:

variable := WeightedSampleVariance (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 variance



See also:

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


Example