|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.chart.AbstractChartNode com.imsl.chart.ChartNode com.imsl.chart.Data com.imsl.chart.qc.ShewhartControlChart com.imsl.chart.qc.SChart
public class SChart
SChart
is an S chart using sample standard deviations
to monitor the variability of a process.
This is normally used with sample sizes greater than 10.
The control limits are at
addWeco
adds control limits with
k = -2, -1, 1, 2.
Field Summary |
---|
Fields inherited from class com.imsl.chart.qc.ShewhartControlChart |
---|
d2, d3 |
Fields inherited from class com.imsl.chart.AbstractChartNode |
---|
AUTOSCALE_DATA, AUTOSCALE_DENSITY, AUTOSCALE_NUMBER, AUTOSCALE_OFF, AUTOSCALE_WINDOW, AXIS_X, AXIS_Y, AXIS_Z, LABEL_TYPE_NONE, LABEL_TYPE_TITLE, LABEL_TYPE_X, LABEL_TYPE_Y, LABEL_TYPE_Z, TRANSFORM_CUSTOM, TRANSFORM_LINEAR, TRANSFORM_LOG |
Constructor Summary | |
---|---|
SChart(AxisXY axis,
double[][] x)
Creates an S chart given sample data. |
|
SChart(AxisXY axis,
int[] sampleSize,
double[] s)
Creates an S chart given the within sample standard deviations for a series of unequally sized samples. |
|
SChart(AxisXY axis,
int sampleSize,
double[] s)
Creates an S chart given the within sample standard deviations for a series of equally sized samples. |
Method Summary | |
---|---|
void |
prePaint()
Setup chart with current settings. |
Methods inherited from class com.imsl.chart.qc.ShewhartControlChart |
---|
addCenterLine, addControlLimit, addLowerControlLimit, addUpperControlLimit, addWecoLimits, dataRange, getCenter, getCenterLine, getControlData, getLowerControlLimit, getMeanSampleSize, getSampleSize, getUpperControlLimit, paint, removeControlLimit, setCenter, setData, setData, setSampleSize, setSampleSize, setX |
Methods inherited from class com.imsl.chart.Data |
---|
formatLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SChart(AxisXY axis, double[][] x)
axis
- the AxisXY
parent of this nodex
- is an array of arrays containing sample data.
The data of the i-th sample is in x[i]
.
Each row must have at least two entries.public SChart(AxisXY axis, int[] sampleSize, double[] s)
axis
- the AxisXY
parent of this nodesampleSize
- is an array containing the number of observations in each sample.
All samples must have at least two observations.s
- is an array containing the within sample standard deviations for a series of samples.
IllegalArgumentException
- is thrown if the two input arrays do
not have the same length.public SChart(AxisXY axis, int sampleSize, double[] s)
axis
- the AxisXY
parent of this nodesampleSize
- is the number of observations in each sample. It must be at least 2.s
- is an array containing the within sample standard deviations for a series of samples.Method Detail |
---|
public void prePaint()
prePaint
in class ChartNode
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |