Stats Method (Subgroup)

Contained in the Subgroup Object Returns the specified statistics for the subgroup.

Syntax

subgroup.Stats string

The Stats method syntax has these parts:

Part  Description

subgroup An object expression that evaluates to a SubGroup object.

string  Specifies the statistic desired, as described in settings.

Settings

The settings for string are:

Setting  Description

“Average”  Average of the subgroup.

“Mean”  Mean of the subgroup.

“Range”  Range of the subgroup.

“Sigma”  Sigma of the subgroup.

“UCL”  UCL of the subgroup.

“LCL”  LCL of the subgroup.

Return Value

Returns the string representation of the value requested if successful, or returns “Unknown Statistic” if unsuccessful.