IMSL C# Numerical Library

XbarS.CreateCharts Method (Chart, Int32[], Double[], Double[])

Creates a combined X-bar chart and S-chart given the means and in sample standard deviations for a series of unequally sized samples.

public static ShewhartControlChart[] CreateCharts(
   Chart chart,
   int[] sampleSize,
   double[] xbar,
   double[] w
);

Parameters

chart
The Chart object which is the parent of the two charts being created.
sampleSize
An array containing the number of observations in each sample. Each sample must have at least one observation.
xbar
An array containing the mean values for a series of samples.
w
An array containing the in sample standard deviations of the samples.

Return Value

An array of length two containing the XBarS chart and the SChart.

See Also

XbarS Class | Imsl.Chart2D.QC Namespace | XbarS.CreateCharts Overload List