VarianceOfTotal function
Prototype: |
function VarianceOfTotal (const VarianceOfMean_ :extended; const Npopulation_ :extended) :extended; |
|
Description: |
Calculates variance of total |
|
Syntax: |
variable := VarianceOfTotal (VarianceOfMean, Npopulation); |
|
Part |
Description |
|
variable |
A variable declared as type of extended |
|
VarianceOfMean |
Variance of mean |
|
NPopulation |
Number of observations in a population |
|
Return value: |
Variance of total |
|
Example
var
tab : TTableWrapper;
attributeName: string;
nullAsZero: boolean;
v, vt, c: extended;
begin
tab:= Trees.table;
attributeName:= 'DBH_mm';
nullAsZero:= false;
v:= VarianceOfMean(tab, attributeName, nullAsZero, Trees.RecordCount, 20);
vt:= VarianceOfTotal(v, 4);
c:= ConfidenceIntervalOfTotal(Trees.RecordCount, vt, 5);
ShowMessage(FloatToStr(c));
end.
See also:
Mean; QuadraticMean; WeightedMean; Median; SampleVariance; StandardDeviation; StandardError; MeanError;VarianceOfMean; WeightedSampleVariance; WeightedStandardDeviation; WeightedVarianceOfMean;ConfidenceIntervalOfMean; VarianceOfTotal; ConfidenceIntervalOfTotal; StratifiedConfidenceIntervalOfTotal; SampleSize;ShowDistributionChart; ParameterizeRegressionModel; CalculateModelValue
© 2024 IFER-Monitoring and Mapping Solutions