|
JMSLTM Numerical Library 6.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.CuSum
public class CuSum
CuSum
is a cumulative sum chart.
It is more efficient than a Shewhart chart for detecting small shifts
in the mean of a process.
CuSum plots the cumulative sum of the deviations of the expected value.
If is the expected mean for a process and
are the sample means
then the cumulative sum is
CuSumStatus
,
Example,
Serialized FormField 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 | |
---|---|
CuSum(AxisXY axis,
double[] xbar)
Creates a CuSum chart given the means of a series of samples. |
Method Summary | |
---|---|
void |
dataRange(double[] range)
Update the data range, range = {xmin,xmax,ymin,ymax} . |
double |
getExpectedMean()
Returns the expected mean of all of the data from all of the samples. |
void |
prePaint()
The prePaint method is called in all nodes in a chart just before the chart is painted. |
void |
setExpectedMean(double expectedMean)
Sets the expected mean of all of the data from all of the samples. |
Methods inherited from class com.imsl.chart.qc.ShewhartControlChart |
---|
addCenterLine, addControlLimit, addLowerControlLimit, addUpperControlLimit, addWecoLimits, 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 CuSum(AxisXY axis, double[] xbar)
axis
- the AxisXY
parent of this nodexbar
- are the means of the samples.Method Detail |
---|
public void dataRange(double[] range)
range = {xmin,xmax,ymin,ymax}
.
The entries in range are updated to reflect the extent of
the data in this node.
The argument range
is an input/output variable. Its value should be
updated only if the data in this node is outside the range
already in the array.
dataRange
in class ShewhartControlChart
range
- a double
array which contains the updated
range, {xmin,xmax,ymin,ymax}public double getExpectedMean()
xbar
data as computed by the constructor
or the value set using setExpectedMean
.
public void prePaint()
ChartNode
prePaint
in class ChartNode
public void setExpectedMean(double expectedMean)
ExpectedMean
attribute is either the expected mean value
or the target mean.
This defaults to the mean of the xbar
data given to the constructor.
expectedMean
- is the expected mean of all of the data.
|
JMSLTM Numerical Library 6.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |