|
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.XmR
public class XmR
XmR
is an XmR chart for monitoring a process using moving ranges.
The moving range control chart uses the moving range of two successive observations to measure the process variability. This control chart is used for individual measurements (sample size = 1). The moving range is defined to be . The control limits are at
where is the mean of all of the individual observations, is the mean of the moving averages, and k is the value of the "ControlLimit" attribute for the line. Additionally, where R is the range of a Gaussian distribution. Therefore is an estimate of the standard deviation. By default, the chart contains an upper control limit line with k=3, a lower control limit line with k=-3, and a central line equal to . Additionally control limits can be added. The methodaddWeco
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 | |
---|---|
XmR(AxisXY axis,
double[] x)
Creates an XmR chart given sample data. |
Method Summary | |
---|---|
double |
getMRBar()
Returns the expected mean of of all of the moving ranges of two observations. |
void |
prePaint()
Setup chart with current settings. |
void |
setMRBar(double mrBar)
Sets the expected mean of all of the moving ranges of two observations. |
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 XmR(AxisXY axis, double[] x)
XmR
chart given sample data.
axis
- the AxisXY
parent of this nodex
- is an array containing sample data.Method Detail |
---|
public double getMRBar()
public void prePaint()
prePaint
in class ChartNode
public void setMRBar(double mrBar)
mrBar
- is the expected mean of the moving ranges.
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |