| CVVURelVarDup Method |
Estimate relative variance of duplicate sample pairs from a database.
Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
CVV oVV1,
CVV oVV2,
ref double d3,
ref int i4
)
Public Shared Sub RelVarDup (
oVV1 As CVV,
oVV2 As CVV,
ByRef d3 As Double,
ByRef i4 As Integer
)
public:
static void RelVarDup(
CVV^ oVV1,
CVV^ oVV2,
double% d3,
int% i4
)
static member RelVarDup :
oVV1 : CVV *
oVV2 : CVV *
d3 : float byref *
i4 : int byref -> unit
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
Data VV - oVV2
- Type: GeoEngine.Core.GXNetCVV
Sample Type VV - d3
- Type: SystemDouble
Returned relative variance - i4
- Type: SystemInt32
Returned number of duplicates used.
See Also