Click or drag to resize

CVVURelVarDup Method

Estimate relative variance of duplicate sample pairs from a database.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void RelVarDup(
	CVV data_vv,
	CVV sample_vv,
	ref double rel_var,
	ref int num_dup
)

public static void RelVarDup(
	CVV data_vv,
	CVV sample_vv,
	ref double rel_var,
	ref int num_dup
)

Parameters

data_vv
Type: GeoEngine.Core.GXNetCVV
Data VV
sample_vv
Type: GeoEngine.Core.GXNetCVV
Sample Type VV
rel_var
Type: SystemDouble
Returned relative variance
num_dup
Type: SystemInt32
Returned number of duplicates used.
Remarks
Created for duplicate sample handling in CHIMERA. On input, a numeric or text VV containing data values, and a sample type VV. Sample pairs have types "1" and "2". This routine searches for types in order "1 2 1 2", and calulates the unnormalized relative variance, defined as the sum of the squared differences between duplicates divided by the sum of the squared mean values of the duplicates. (To get the true rel.var., divide by N-1, where N is the number of duplicate pairs used.) Samples out of order, unmatched pairs, or when the sample type does not equal "1" or "2" are ignored.
See Also