Aggregation.Variance Method

Definition

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

Overload List

Variance<C>(ColumnSelector) Creates a descriptor that computes sample variances of selected columns.
Variance<C>(C) Creates a descriptor that computes sample variance of the specified column.

Variance<C>(ColumnSelector)

Creates a descriptor that computes sample variances of selected columns.
C#
public static Aggregation<C, string> Variance<C>(
	ColumnSelector selector
)

Parameters

selector  ColumnSelector
The selector that identifies columns to aggregate.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A variance aggregation descriptor.

Exceptions

ArgumentNullExceptionselector is null.

Variance<C>(C)

Creates a descriptor that computes sample variance of the specified column.
C#
public static Aggregation<C, string> Variance<C>(
	C key
)

Parameters

key  C
The key of the column to aggregate.

Type Parameters

C
The type of the data frame column key.

Return Value

Aggregation<C, String>
A variance aggregation descriptor.

Exceptions

See Also