Click or drag to resize
CVVURelVarDup Method
Estimate relative variance of duplicate sample pairs from a database.

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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.
Syntax
public static void RelVarDup(
	CGXNETCore gxNetShared,
	CVV data_vv,
	CVV sample_vv,
	ref double rel_var,
	ref int num_dup
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
data_vv
Type: GeoEngine.Core.GXNetXCVV
Data VV
sample_vv
Type: GeoEngine.Core.GXNetXCVV
Sample Type VV
rel_var
Type: SystemDouble
Returned relative variance
num_dup
Type: SystemInt32
Returned number of duplicates used.
See Also