Time Series Controls


Exclude a Subgroup from Calculations

A subgroup can be excluded from the series and limit range calculations of the control charts (limits, rules, statistics). The time series controls of the .Net Analytics package that are based on subgroups include the following:

The series classes of these respective charts are:

and the subgroup classes are:

The following property is used for excluding a subgroup:

The first step is to include the necessary namespaces for the controls, add a new series, add new subgroups, and add new samples to the subgroups.

Exclude a Subgroup

Below, we will exclude a Xbar subgroup (named xsSubgroup in the examples below) of a Xbar series (named xsSeries in the examples below). The process is similar for the other charts listed above:

[Visual Basic]
' Exclude the subgroup
xsSubgroup.ExcludeFromCalculation = True

' Another alternative is to exclude the ith (2 below) subgroup directly from the series
xsSeries(2).ExcludeFromCalculation = True

[Visual C#]
// Exclude the subgroup
xsSubgroup.ExcludeFromCalculation = true;

// Another alternative is to exclude the ith (2 below) subgroup directly from the series
xsSeries[2].ExcludeFromCalculation = true;

After the subgroups have been added and the third subgroup excluded, the resulting chart should look similar to the following:

Xbar chart with third subgroup excluded