Click or drag to resize
Accord.NET (logo)

MeasuresGrandMean Method

Computes the (weighted) grand mean of a set of samples.

Namespace:  Accord.Statistics
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double GrandMean(
	double[] means,
	int[] samples
)
Request Example View Source

Parameters

means
Type: SystemDouble
A double array containing the sample means.
samples
Type: SystemInt32
A integer array containing the sample's sizes.

Return Value

Type: Double
The grand mean of the samples.
See Also