Field-Map Scripting

4.1.3.2.12 WeightedVarianceOfMean

WeightedVarianceOfMean function


Prototype:

function WeightedVarianceOfMean (TableOrLayer : TObjectWrapper; const AttributeName :string; const WeightAttribute :string; const NullAsZero :boolean, const NSample :integer; const NPopulation :integer) : extended;

Description:

Calculates weighted variance of mean a specific attribute

Syntax:

variable := WeightedVarianceOfMean (tab, AttributeName, WeightAttribute, NullAsZero, NSample, NPopulation);


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)


NSample

Number of observations in a sample


NPopulation

Number of observations in a population




Return value:

Weighted variance of mean



See also:

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


Example