Aggregation.WeightedVarianceOfDouble Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0

Overload List

WeightedVarianceOfDouble<C>(ColumnSelector, ColumnSelector) Creates a descriptor that computes double-valued weighted variances for selected value/weight column pairs.
WeightedVarianceOfDouble<C>(C, C) Creates a descriptor that computes weighted variance and returns a Double result.

WeightedVarianceOfDouble<C>(ColumnSelector, ColumnSelector)

Creates a descriptor that computes double-valued weighted variances for selected value/weight column pairs.
C#
public static Aggregation<C, string> WeightedVarianceOfDouble<C>(
	ColumnSelector values,
	ColumnSelector weights
)

Parameters

values  ColumnSelector
The selector that identifies value columns.
weights  ColumnSelector
The selector that identifies weight columns.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A double-valued weighted-variance aggregation descriptor.

Remarks

Selector-based binary descriptors expand cartesian.

Exceptions

ArgumentNullExceptionvalues or weights is null.

WeightedVarianceOfDouble<C>(C, C)

Creates a descriptor that computes weighted variance and returns a Double result.
C#
public static Aggregation<C, string> WeightedVarianceOfDouble<C>(
	C valueKey,
	C weightKey
)

Parameters

valueKey  C
The key of the value column.
weightKey  C
The key of the weight column.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A double-valued weighted-variance aggregation descriptor.

Exceptions

ArgumentNullExceptionvalueKey or weightKey is null.

See Also