Time Series Controls


Exclude a Sample From Calculations

A sample 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 samples include the following:

The series classes of these respective charts are:

and the sample classes are:

The following property is used for excluding a sample:

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

Exclude a Sample

Below, we will exclude an Individuals sample (named isSample in the examples below) of an Individuals series (named isSeries in the examples below). The process is similar for the other charts listed above:

[Visual Basic]
' Exclude the sample
isSample.ExcludeFromCalculation = True

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

[Visual C#]
// Exclude the sample
isSample.ExcludeFromCalculation = true;

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

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

Individuals chart with third sample excluded