|
JMSLTM Numerical Library 5.0.1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.imsl.chart.AbstractChartNode
com.imsl.chart.ChartNode
com.imsl.chart.Data
com.imsl.chart.qc.ShewhartControlChart
com.imsl.chart.qc.EWMA
public class EWMA
EWMA is an exponentially weighted moving average control chart.
The EWMA statistic is given by
![]()
| 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 | |
|---|---|
EWMA(AxisXY axis,
double[] x,
double lambda)
Creates an exponentially weighted moving average chart. |
|
EWMA(AxisXY axis,
double[] data,
double lambda,
double expectedMean,
double expectedStandardDeviation)
Creates an exponentially weighted moving average chart using the given values for the expected mean and standard deviation. |
|
| Method Summary | |
|---|---|
double |
getLambda()
Returns the value of the attribute "Lambda". |
void |
prePaint()
Setup chart with current settings. |
void |
setLambda(double lambda)
Sets the value of the attribute "Lambda". |
| 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 EWMA(AxisXY axis,
double[] x,
double lambda)
axis - the AxisXY parent of this nodex - is an array containing the data.lambda - is the decay parameter. It is usually between 0.2 and 0.3.
IllegalArgumentException - is thrown if
public EWMA(AxisXY axis,
double[] data,
double lambda,
double expectedMean,
double expectedStandardDeviation)
axis - the AxisXY parent of this nodedata - is an array containing data.lambda - is the decay parameter. It is usually between 0.2 and 0.3.expectedMean - is the expected mean of the data.expectedStandardDeviation - is the expected standard deviation of the data.
IllegalArgumentException - is thrown if
| Method Detail |
|---|
public double getLambda()
public void prePaint()
prePaint in class ChartNodepublic void setLambda(double lambda)
lambda - is the value of the attribute "Lambda".
|
JMSLTM Numerical Library 5.0.1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||