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

Namespace: Imsl.Chart2D.QC
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static ShewhartControlChart[] CreateCharts(
	Chart chart,
	int[] sampleSize,
	double[] xbar,
	double[] w
)
Visual Basic (Declaration)
Public Shared Function CreateCharts ( _
	chart As Chart, _
	sampleSize As Integer(), _
	xbar As Double(), _
	w As Double() _
) As ShewhartControlChart()
Visual C++
public:
static array<ShewhartControlChart^>^ CreateCharts(
	Chart^ chart, 
	array<int>^ sampleSize, 
	array<double>^ xbar, 
	array<double>^ w
)

Parameters

chart
Type: Imsl.Chart2D..::.Chart
The Chart object which is the parent of the two charts being created.
sampleSize
Type: array< System..::.Int32 >[]()[]
An array containing the number of observations in each sample. Each sample must have at least one observation.
xbar
Type: array< System..::.Double >[]()[]
An array containing the mean values for a series of samples.
w
Type: array< System..::.Double >[]()[]
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